Emacs removing margins when in X


 
Thread Tools Search this Thread
Special Forums UNIX Desktop Questions & Answers Emacs removing margins when in X
# 1  
Old 07-23-2013
Emacs removing margins when in X

I am trying to configure emacs to open with just a black screen in X.
I have gotten everything the way I want except I can not figure out how to remove the margins that appear on the left and right of the screen.
Does anyone know what I can put in my .emacs in order to achieve this.
Thanks
# 2  
Old 07-25-2013
Is that like the internal border? Borders X - GNU Emacs Manual
# 3  
Old 07-26-2013
border

I tried opening emacs with the border options set to zero and nothing changed. I then tested by setting to 20 and the two bars moved inward a centimeter or so.
I tried looking up a bunch of different key words like fringe, margins scroll bars...
I am using a tiling window manager and a triangle will not go
away on the bottom right of the screen, I read somewhere that GTK shows the resize handle and it can't be disabled.
It gave 'possible' instructions on how to disable it.
It did not work on my machine. I need to recompile without the gtk tool kit.
I will try again later and repost here when I figure it out.
# 4  
Old 08-02-2013
Does running emacs inside xterm help?
This User Gave Thanks to DGPickett For This Post:
# 5  
Old 08-03-2013
fringe

Thanks for the reply. You just motivated me to try again.
I accidentally just pasted a chunk of text in emacs and noticed it is the place where the newline arrows are displayed. I looked it up and it is called 'The Fringe'. This is one of the things I tried without success. I should have posted my incorrect code on my first post.
I usually use emacs in xterm. This option is not needed there.

The code to disable the fringes is:
Code:
(set-fringe-mode 0)

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Removing PATTERN from txt without removing lines and general text formatting

Hi Everybody! First post! Totally noobie. I'm using the terminal to read a poorly formatted book. The text file contains, in the middle of paragraphs, hyphenation to split words that are supposed to be on multiple pages. It looks ve -- ry much like this. I was hoping to use grep -v " -- "... (5 Replies)
Discussion started by: AxeHandle
5 Replies

2. UNIX for Dummies Questions & Answers

How to use emacs? Also how to open existing emacs files with .cgi format?

Hi All, I am new to this forum and a beginner in unix. Please correct me if I put the question in a wrong way.. How to use emacs editor? Also how to open existing emacs files with .cgi format? I have the following link :- http link i.e. url and path : /abc/xyz.dev/xyz/documents What... (7 Replies)
Discussion started by: swathi123
7 Replies

3. UNIX for Dummies Questions & Answers

Setting Printer margins

Hi, I have Aix 6.1. Installed the Ricoh Unix print filter, to allow us to print to a Ricoh 5001. So I send text documents to the printer using the qprt command and set the print job finishing options using the Ricoh commands passed using -o options. Eg. qprt -Pfin200 -o collate=on -o text... (7 Replies)
Discussion started by: max5000
7 Replies

4. UNIX for Dummies Questions & Answers

Trying to compile in Emacs

I'm trying to compile two files in Emacs (guess.cpp and yesno.cpp). So I open up Emacs (the text version) and give the command M-x and then I try to type in "g++ -o asst guess.cpp yesno.cpp". But everytime after I type "g++" and try to do a space after that, it says and wont let me type a space? ... (1 Reply)
Discussion started by: blackvelvet
1 Replies

5. UNIX for Dummies Questions & Answers

Emacs

could someone please tell me how do I work emacs on unix?? how do you input the command and open up files and edit stuff. I know M-x info will lauch the info viewer, C-x u is undo, M-x spell-region run a spell check but when i use some of these command on emacs in Unix, I'm getting no results or... (1 Reply)
Discussion started by: starwind4
1 Replies

6. UNIX for Dummies Questions & Answers

accent in emacs

Hello, I try to insert charcheters with accent with emacs. It doesn't work. How can I do ? Thank you in advance (2 Replies)
Discussion started by: annemar
2 Replies

7. UNIX for Dummies Questions & Answers

Help on EMACS

Any one has a good documentation on How To Use EMACs editor?? Thanks Ven :eek: (4 Replies)
Discussion started by: VENC22
4 Replies

8. UNIX for Dummies Questions & Answers

Xemacs and emacs

Hi guys What is the difference between Xemacs and emacs. I assumed Xemacs runs only in X11. What about in Linux on KDE? Am I running Xemacs or emacs. Well it says emacs though. What is the advantage of one over other? What can I run on OS X ? SS (5 Replies)
Discussion started by: saurya_s
5 Replies

9. UNIX for Advanced & Expert Users

ftp in Emacs

Hi How can I do ftp using emacs. I strart the function by M-x ftp. It connects to the server where I can see the list of files. how can I do put or get there? Thanks SS (1 Reply)
Discussion started by: saurya_s
1 Replies

10. UNIX for Dummies Questions & Answers

how to learn emacs?

I have been teaching myself unix a little here and a little there. I would like to learn emacs, or an editor that I would get the most use out of. What is the most used editor in unix? (1 Reply)
Discussion started by: macnix
1 Replies
Login or Register to Ask a Question