GNU bug report logs - #54993
28.1; Editing etc/NEWS on master with Emacs 28 signals an error

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sun, 17 Apr 2022 17:45:02 UTC

Severity: wishlist

Found in version 28.1

Full log


Message #98 received at 54993 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jim Porter <jporterbugs <at> gmail.com>
Cc: 54993 <at> debbugs.gnu.org
Subject: Re: bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28
 signals an error
Date: Tue, 19 Apr 2022 15:56:31 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

>> It's probably failing for you because you need to do this in the
>> opposite order (and remove the "-mode"):
>>
>>   mode: outline; mode: emacs-news

Aha!  This works:

-*- mode: outline; mode: emacs-news -*-

But it doesn't work in the Local variables: section, which can only have
one mode/variable per line.

But!  Emacs only interprets the first mode: line it finds, so having

mode: outline
mode: emacs-news

and then extending Emacs on the trunk heed the final (defined) mode
would be both backwards and forwards compatible (as well as making this
an alternative to -*-, making things more regular), so I'll take a peek
at doing that.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 62 days ago.

Previous Next


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