Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable fringe in Emacs?

Tags:

emacs

First, I try to use (fringe-mode -1), as picture below, there is a very thin fringe on the right of linum line.

enter image description here

And then, I try to use (set-fringe-mode '(0 . 0)) to specify the left-fringe and right-fringe to zero. The fringes disappear. But I got a very strange appearance. While the Emacs start up, the frame will be thinner and thinner, until narrow to a very thin line(I don't how to explain it, see the pictures below).

  1. startup - loading dotfiles enter image description here

  2. getting thiner enter image description here

  3. finally enter image description here

And now, I set (set-fringe-mode '(0 . 1)), and there will be one fringe on the right of buffer.

like image 916
hbin Avatar asked Jul 07 '12 09:07

hbin


1 Answers

How about (set-fringe-mode 0)? That's the value for no-fringes in fringe-styles alist.

If that doesn't work, too, I think you should submit a bug report.

like image 141
Dmitry Avatar answered Sep 28 '22 01:09

Dmitry