GNU bug report logs -
#53764
27.1; shouldn't ~/diary be in diary-mode?
Previous Next
Full log
View this message in rfc822 format
>Francesco Potortì <pot <at> gnu.org> 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?
Lars:
>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...
When calendar is loaded, diary-file is initialised. After that, it could be added to the auto-mode-alist.
The reason I am asking is that I have used the diary for years, and only recently, by looking at the source code for other reasons, did I discover that a diary-mode exists.
Now I have added -*-diary-*- line to my diary file, but in fact that should be automatic, I think.
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.