From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <1A5F4673-FA9C-4E23-A0C1-5125764E0EE7@gmail.com> <83v8r1tlgy.fsf@gnu.org> <83o7wttkha.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28484"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Orcon Webmail To: 57080@debbugs.gnu.org, eliz@gnu.org, diredwolf1@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 10 02:24:19 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oLZWE-0007Hv-Lm for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Aug 2022 02:24:18 +0200 Original-Received: from localhost ([::1]:60236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLZWD-0006JO-Pe for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Aug 2022 20:24:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLZVy-0006HB-PI for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 20:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55765) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLZVy-0001DP-Gv for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 20:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLZVy-0007cz-AX for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 20:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Aug 2022 00:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57080 X-GNU-PR-Package: emacs Original-Received: via spool by 57080-submit@debbugs.gnu.org id=B57080.166009099329263 (code B ref 57080); Wed, 10 Aug 2022 00:24:02 +0000 Original-Received: (at 57080) by debbugs.gnu.org; 10 Aug 2022 00:23:13 +0000 Original-Received: from localhost ([127.0.0.1]:45514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLZVA-0007bv-UO for submit@debbugs.gnu.org; Tue, 09 Aug 2022 20:23:13 -0400 Original-Received: from smtp-1.orcon.net.nz ([60.234.4.34]:35801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLZV5-0007bk-Nj for 57080@debbugs.gnu.org; Tue, 09 Aug 2022 20:23:11 -0400 Original-Received: from [10.253.37.70] (port=38276 helo=webmail.orcon.net.nz) by smtp-1.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1oLZV3-0002PK-Ha; Wed, 10 Aug 2022 12:23:05 +1200 Original-Received: from ip-116-251-140-135.kinect.net.nz ([116.251.140.135]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Wed, 10 Aug 2022 12:23:05 +1200 In-Reply-To: <83o7wttkha.fsf@gnu.org> X-Sender: psainty@orcon.net.nz X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:239234 Archived-At: On 2022-08-10 05:06, Eli Zaretskii wrote: >> From: diredwolf >> 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.)