* Calendar, diary, and diary-mode
@ 2005-09-05 19:03 Stefan Monnier
2005-09-06 8:13 ` Karl Chen
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2005-09-05 19:03 UTC (permalink / raw)
How is diary-mode used? It's defined and seems to work if I call it
manually, but it's not directly used anywhere. WAIM?
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Calendar, diary, and diary-mode
2005-09-05 19:03 Calendar, diary, and diary-mode Stefan Monnier
@ 2005-09-06 8:13 ` Karl Chen
2005-09-06 13:03 ` Stefan Monnier
2005-09-06 17:33 ` Richard M. Stallman
0 siblings, 2 replies; 4+ messages in thread
From: Karl Chen @ 2005-09-06 8:13 UTC (permalink / raw)
>>>>> On 2005-09-05 12:03 PDT, Stefan Monnier writes:
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.
--
Karl 2005-09-06 01:07
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Calendar, diary, and diary-mode
2005-09-06 8:13 ` Karl Chen
@ 2005-09-06 13:03 ` Stefan Monnier
2005-09-06 17:33 ` Richard M. Stallman
1 sibling, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2005-09-06 13:03 UTC (permalink / raw)
Cc: emacs-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Calendar, diary, and diary-mode
2005-09-06 8:13 ` Karl Chen
2005-09-06 13:03 ` Stefan Monnier
@ 2005-09-06 17:33 ` Richard M. Stallman
1 sibling, 0 replies; 4+ messages in thread
From: Richard M. Stallman @ 2005-09-06 17:33 UTC (permalink / raw)
Cc: emacs-devel
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.
That might not be a bad change. But if there's nothing broken here,
I'd rather we leave well enough alone, and focus our attention on
other areas where changes would produce real benefit.
Have you looked at etc/TODO?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-09-06 17:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-05 19:03 Calendar, diary, and diary-mode Stefan Monnier
2005-09-06 8:13 ` Karl Chen
2005-09-06 13:03 ` Stefan Monnier
2005-09-06 17:33 ` Richard M. Stallman
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.