unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Phil Sainty <psainty@orcon.net.nz>
Cc: diredwolf1@gmail.com, 57080@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	[thread overview]
Message-ID: <83h72kstxb.fsf@gnu.org> (raw)
In-Reply-To: <e7bdaae98fe18816f1d64f06595010a1@webmail.orcon.net.nz> (message from Phil Sainty on Wed, 10 Aug 2022 12:23:05 +1200)

> Date: Wed, 10 Aug 2022 12:23:05 +1200
> From: Phil Sainty <psainty@orcon.net.nz>
> 
> On 2022-08-10 05:06, Eli Zaretskii wrote:
> >> From: diredwolf <diredwolf1@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.





  reply	other threads:[~2022-08-10  2:40 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
     [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 [this message]
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=83h72kstxb.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=57080@debbugs.gnu.org \
    --cc=diredwolf1@gmail.com \
    --cc=psainty@orcon.net.nz \
    /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).