GNU bug report logs - #53764
27.1; shouldn't ~/diary be in diary-mode?

Previous Next

Package: emacs;

Reported by: Francesco Potortì <pot <at> gnu.org>

Date: Thu, 3 Feb 2022 22:13:01 UTC

Severity: wishlist

Found in version 27.1

Full log


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

From: Francesco Potortì <pot <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 53764 <at> debbugs.gnu.org
Subject: Re: bug#53764: 27.1; shouldn't ~/diary be in diary-mode?
Date: Sun, 06 Feb 2022 00:11:08 +0100
>Francesco Potortì <pot <at> gnu.org> writes:
>> When calendar is loaded, diary-file is initialised.  After that, it
>> could be added to the auto-mode-alist.

Lars:
>That's true.  Grepping around, it looks like we have a number of other
>packages that also add to `auto-mode-alist', so there's some precedence
>for doing this, but I'm a bit unsure in this case.  That is, the user
>may have added something to auto-mode-alist themselves, and we don't
>want to override that.
>
>But I guess it's pretty unlikely.  Does anybody have an opinion?

If diary-file is already in the auto-mode-alist, we do nothing.  No override.




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

Previous Next


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