GNU bug report logs -
#54993
28.1; Editing etc/NEWS on master with Emacs 28 signals an error
Previous Next
Full log
View this message in rfc822 format
Jim Porter <jporterbugs <at> gmail.com> 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
>
> It's a bit surprising at first, since as humans, we'd probably expect
> the "preferred" mode to be first, but the way this works is to
> activate outline-mode, and then (try to) activate
> emacs-news-mode. That's a little bit inefficient, but since this would
> mostly be used in cases where the "preferred" mode is derived from the
> "basic" mode, it's probably not too bad.
Hm.... I tried that with the NEWS file, and emacs-27.2/emacs-28 indeed
used outline mode. But it didn't try to use emacs-news-mode, as far as
I can tell, and neither does master. (But we can fix that on master, of
course, which might be generally useful anyway. That is, as a way to
introduce new modes in a backwards-compatible way in mode: strings.)
--
(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.