Thursday, January 21, 2010

Fringe mode in Emacs

My latest Emacs update added an annoying property whereby the space in a buffer after the EOF marker had dots on the left to show me that the file had ended.  Thus, in a one line file, I'd open it and see the one line, and 100 lines of dots on the left margin.  Really annoying.  The problem is it's hard to figure out how to turn it off.  I googled "emacs dots eof", but I got nothing but "dot-emacs" sites.  I asked on the excellent #emacs IRC channel, and some kind soul (shabble) pointed out it's called "fringe-mode".  You can turn it off with (fringe-mode 'none).

2 comments:

  1. Anonymous11:05 PM

    What a great resource!

    ReplyDelete
  2. Anonymous2:01 AM

    (setq-default indicate-empty-lines nil)

    ReplyDelete