Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Remove grey vertical borders on edges of Emacs screen

656 views
Skip to first unread message

aidy lewis

unread,
Oct 13, 2013, 10:55:46 AM10/13/13
to help-gn...@gnu.org
Hi,

I am using Emacs for Mac OSX. I have configured the .emacs file to present
a full screen without a scroll or tool bar.

(tool-bar-mode -1)
(set-frame-parameter nil 'fullscreen 'fullboth)
(scroll-bar-mode -1)

However, I have two thin grey vertical borders that appear on the edge of
the Emacs screen. Could anyone please tell me a function that will remove
these?

Thanks

Aidy

Drew Adams

unread,
Oct 13, 2013, 1:56:59 PM10/13/13
to aidy lewis, help-gn...@gnu.org
> However, I have two thin grey vertical borders that appear on the
> edge of the Emacs screen. Could anyone please tell me a function
> that will remove these?

See (emacs) `Window Fringes'.

Emanuel Berg

unread,
Oct 13, 2013, 3:28:47 PM10/13/13
to
aidy lewis <aidy....@gmail.com> writes:

> However, I have two thin grey vertical borders that
> appear on the edge of the Emacs screen. Could anyone
> please tell me a function that will remove these?

I had that disabled somehow, but I removed that piece of
code because it only matters in X. Reading the help,
though, try

(set-window-fringes nil 0 0)

--
Emanuel Berg, programmer-for-rent. CV, projects, etc at uXu
underground experts united: http://user.it.uu.se/~embe8573

Emanuel Berg

unread,
Oct 13, 2013, 3:32:10 PM10/13/13
to
Emanuel Berg <embe...@student.uu.se> writes:

>> However, I have two thin grey vertical borders that
>> appear on the edge of the Emacs screen. Could anyone
>> please tell me a function that will remove these?
>
> I had that disabled somehow, but I removed that piece of
> code because it only matters in X. Reading the help,
> though, try
>
> (set-window-fringes nil 0 0)

Yes, that works in X. nil is not "disable", it is the
current window, the 0's are the left and right fringe
width, respectively.
0 new messages