From: Eli Zaretskii <eliz@gnu.org>
To: diredwolf <diredwolf1@gmail.com>
Cc: 57080@debbugs.gnu.org
Subject: bug#57080: 28.1; The %m modeline construct does not work for emacs-lisp-mode
Date: Tue, 09 Aug 2022 19:45:01 +0300 [thread overview]
Message-ID: <83v8r1tlgy.fsf@gnu.org> (raw)
In-Reply-To: <1A5F4673-FA9C-4E23-A0C1-5125764E0EE7@gmail.com> (message from diredwolf on Tue, 9 Aug 2022 18:06:16 +0200)
> From: diredwolf <diredwolf1@gmail.com>
> Date: Tue, 9 Aug 2022 18:06:16 +0200
>
> - Launch emacs -q
> - Evaluate this :: (setq-default mode-line-format "[%m]")
>
> For every major mode you should see for example [Message] or [Dired by
> name] or [Help] but for elisp-mode you get [].
%m in mode-line-format is obsolete; use the variable mode-name
instead.
(The technical reason behind what you see is that %m displays the mode
name only if the value of mode-name is a string, which in this case it
isn't.)
next prev parent reply other threads:[~2022-08-09 16:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-09 16:06 bug#57080: 28.1; The %m modeline construct does not work for emacs-lisp-mode diredwolf
2022-08-09 16:45 ` Eli Zaretskii [this message]
[not found] ` <B27E1FE6-E7D2-4551-877B-9B1BC005AE56@gmail.com>
2022-08-09 17:06 ` Eli Zaretskii
2022-08-10 0:23 ` Phil Sainty
2022-08-10 2:40 ` Eli Zaretskii
2022-08-10 12:49 ` Phil Sainty
[not found] ` <87bdaf86c1edac42a5c004c14364608b@webmail.orcon.net.nz>
2023-03-18 7:30 ` bug#57080: 29.0.60; [PATCH] Updates to mode line construct documentation (was: The %m modeline construct does not work for emacs-lisp-mode) Phil Sainty
2023-03-18 7:46 ` Eli Zaretskii
2023-03-18 8:38 ` bug#57080: 29.0.60; [PATCH] Updates to mode line construct documentation Phil Sainty
2023-03-18 8:54 ` Eli Zaretskii
2023-03-18 9:25 ` Phil Sainty
2023-03-26 11:43 ` Phil Sainty
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83v8r1tlgy.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=57080@debbugs.gnu.org \
--cc=diredwolf1@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).