Subject: Re: bug#57080: 28.1; The %m modeline construct does not work for emacs-lisp-mode

From: Phil Sainty <[email-masked]>
Date: Wed, 10 Aug 2022 12:23:05 +1200

On 2022-08-10 05:06, Eli Zaretskii wrote:
>> From: diredwolf <[email-masked]>
>> Thank you very much for your explanation, using mode-name instead of 
>> %m fixed the problem.
> 
> Thanks, I'm therefore closing the bug.

I think some documentation updates are needed here?

In my month-old build from master, at any rate:

(info "(elisp) %-Constructs") states that ‘%m’ and ‘mode-name’
are equivalent, which is evidentially wrong.

Tangentially, (info "(elisp) Mode Line Variables") makes mention
of %M as being an obsolete version of ‘global-mode-string’, and
the %M construct is not listed in that other node at all (and
conversely, 'mode-name' is mentioned in the latter node without
any reference to %m.)