GNU bug report logs - #57080
28.1; The %m modeline construct does not work for emacs-lisp-mode

Previous Next

Package: emacs;

Reported by: diredwolf <diredwolf1 <at> gmail.com>

Date: Tue, 9 Aug 2022 16:18:01 UTC

Severity: normal

Found in version 28.1

Done: Phil Sainty <psainty <at> orcon.net.nz>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Phil Sainty <psainty <at> orcon.net.nz>
To: 57080 <at> debbugs.gnu.org, eliz <at> gnu.org, diredwolf1 <at> gmail.com
Subject: bug#57080: 28.1; The %m modeline construct does not work for emacs-lisp-mode
Date: Wed, 10 Aug 2022 12:23:05 +1200
On 2022-08-10 05:06, Eli Zaretskii wrote:
>> From: diredwolf <diredwolf1 <at> gmail.com>
>> 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.)






This bug report was last modified 2 years and 149 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.