Subject: Re: bug#53764: 27.1; shouldn't ~/diary be in diary-mode?

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 05 Feb 2022 07:54:39 +0100

Francesco Potortì <[email-masked]> writes:

> Is there any reason why the ~/diary file is not read in diary-mode?
>
> Shouldn't it be in the auto-mode-alist?
>
> Maybe the reason is that the name of the diary is contained in the
> diay-file variable and can thus be changed?

I think putting any file that's called "diary" in diary-mode would
probably lead to too many false positives?  "~/.emacs.d/diary" (which is
the default on many platforms) could safely be put in diary mode,
though, but I'm not sure that would be all that helpful in practice...

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