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

mode line

10 views
Skip to first unread message

drain

unread,
Aug 8, 2012, 10:39:36 PM8/8/12
to Help-gn...@gnu.org
I'd like to remove the buffer name from the mode line. What do I add to my
.emacs?



--
View this message in context: http://emacs.1067599.n5.nabble.com/mode-line-tp260986.html
Sent from the Emacs - Help mailing list archive at Nabble.com.

Óscar Fuentes

unread,
Aug 9, 2012, 12:03:33 AM8/9/12
to drain, Help-gn...@gnu.org
drain <aeu...@gmail.com> writes:

> I'd like to remove the buffer name from the mode line. What do I add to my
> .emacs?

Customize variable mode-line-format by removing
mode-line-buffer-identification.

Aurélien Aptel

unread,
Aug 9, 2012, 7:04:02 AM8/9/12
to Óscar Fuentes, drain, Help-gn...@gnu.org
On Thu, Aug 9, 2012 at 6:03 AM, Óscar Fuentes <o...@wanadoo.es> wrote:
> Customize variable mode-line-format by removing
> mode-line-buffer-identification.

I don't understand why you'd do that but here you go, add this to your
.emacs and it should work:

(setq mode-line-format (remove 'mode-line-buffer-identification
mode-line-format))

drain

unread,
Aug 9, 2012, 12:27:55 PM8/9/12
to Help-gn...@gnu.org
I set the file name to display in the title bar. There's no reason to have it
displayed in two places at once.

Anyway, thanks for the help.



--
View this message in context: http://emacs.1067599.n5.nabble.com/mode-line-tp260986p261023.html
0 new messages