[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calendar, diary, and diary-mode

From: Stefan Monnier
Subject: Re: Calendar, diary, and diary-mode
Date: Tue, 06 Sep 2005 09:03:15 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Stefan> How is diary-mode used?  It's defined and seems to
Stefan> work if I call it manually, but it's not directly used
Stefan> anywhere.  WAIM?

> There are at least two functions that do basically
> (find-file-noselect (diary-check-diary-file) t).  It might be a
> good idea to refactor this, creating a function that returns the
> buffer for the diary file, setting major-mode, etc. when opening.

Yes, that's pretty much what I do, locally, but it's obvious enough that I'd
like to hear how the current code is actually used.

diary-lib.el has many other oddities.  E.g. it passes diary-file through
substitute-in-file-name sometimes, but not always.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]