help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Operation of format-mode-line


From: Michael Heerdegen
Subject: Re: Operation of format-mode-line
Date: Wed, 24 Jul 2024 16:01:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

> mode-line-format is a variable, so you can use setq to modify its
> value.  Or you could modify just the value of
> mode-line-buffer-identification, another variable (which is used to
> construct the value of mode-line-format), which is where "%12b" comes
> from.

And also please not that `mode-line-buffer-identification' is a buffer
local variable.  Which means that some major modes are using a value
different from the default one.

Which means: your settings will either not effect every buffer, or will
have to handle several cases individually, or will override the
individual settings of some modes which might give unexpected results.


Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]