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. Stefan _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel