[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28 signals an err
From: |
Michael Albinus |
Subject: |
bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28 signals an error |
Date: |
Mon, 18 Apr 2022 10:40:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> > No, I get Fundamental mode -- which means no highlighting of headings,
>> > not auto-filling, not Flyspell, etc. -- all I have in Outline mode is
>> > suddenly gone.
>>
>> What's your suggestion for how this should work, then? etc/NEWS in
>> auto-mode-alist?
>
> Either that, or private customizations.
FTR, I find the new emacs-news-mode very convenient. Hiding it in
private customizations would remove its convenience.
What about
--8<---------------cut here---------------start------------->8---
Local variables:
coding: utf-8
eval: (or (fboundp 'emacs-news-mode) (defalias 'emacs-news-mode 'outline-mode))
mode: emacs-news
paragraph-separate: "[ ]*$"
end:
--8<---------------cut here---------------end--------------->8---
It requires you to confirm the eval form, but this is the price when you
edit etc/NEWS from master with an older Emacs version.
Best regards, Michael.
- bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28 signals an error, Eli Zaretskii, 2022/04/17
- bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28 signals an error, Lars Ingebrigtsen, 2022/04/17
- bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28 signals an error, Eli Zaretskii, 2022/04/17
- bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28 signals an error,
Michael Albinus <=
- bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28 signals an error, Lars Ingebrigtsen, 2022/04/18
- bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28 signals an error, Michael Albinus, 2022/04/18
- bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28 signals an error, Michael Albinus, 2022/04/18
- bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28 signals an error, Lars Ingebrigtsen, 2022/04/18
- bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28 signals an error, Eli Zaretskii, 2022/04/18
- bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28 signals an error, Lars Ingebrigtsen, 2022/04/18
- bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28 signals an error, Eli Zaretskii, 2022/04/18
- bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28 signals an error, Michael Albinus, 2022/04/18
- bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28 signals an error, Eli Zaretskii, 2022/04/18
- bug#54993: 28.1; Editing etc/NEWS on master with Emacs 28 signals an error, Lars Ingebrigtsen, 2022/04/18