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

It also says %m is obsolete, which you didn't mention.

I won't object to telling there that %m doesn't work with non-string
mode-name, if that's your suggestion.




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.