Emacs removing margins when in X


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
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
# 3  
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  
Does running emacs inside xterm help?
This User Gave Thanks to DGPickett For This Post:
# 5  
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 Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Removing PATTERN from txt without removing lines and general text formatting
AxeHandle
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 " -- "...... UNIX for Dummies Questions & Answers
5
UNIX for Dummies Questions & Answers
How to use emacs? Also how to open existing emacs files with .cgi format?
swathi123
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...... UNIX for Dummies Questions & Answers
7
UNIX for Dummies Questions & Answers
Setting Printer margins
max5000
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...... UNIX for Dummies Questions & Answers
7
UNIX for Dummies Questions & Answers
Emacs
starwind4
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...... UNIX for Dummies Questions & Answers
1
UNIX for Dummies Questions & Answers
Help on EMACS
VENC22
Any one has a good documentation on How To Use EMACs editor?? Thanks Ven :eek:... UNIX for Dummies Questions & Answers
4
UNIX for Dummies Questions & Answers

Featured Tech Videos