* appt-make-list too aggressive?
@ 2005-02-18 22:50 Jim Ottaway
0 siblings, 0 replies; 2+ messages in thread
From: Jim Ottaway @ 2005-02-18 22:50 UTC (permalink / raw)
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.
Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.
In GNU Emacs 21.2.1 (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2005-02-11 on ninsei, modified by Debian
configured using `configure i386-debian-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --with-x=yes --with-x-toolkit=athena --without-gif'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_GB
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
This may be a bug, or it may be a feature.
The function `appt-make-list' clears all prior appointments when it
parses the diary file [or files]. So if I have `appt-make-list' in
`diary-hook' and I add an appointment using `appt-add' before I look
at my diary, that appointment is deleted from `appt-time-msg-list'. I
would have expected `appt-make-list' to keep any appointments added by
appt-add.
Regards,
--
Jim Ottaway
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: appt-make-list too aggressive?
[not found] <mailman.563.1108769499.32256.bug-gnu-emacs@gnu.org>
@ 2005-02-22 19:16 ` Kevin Rodgers
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2005-02-22 19:16 UTC (permalink / raw)
Jim Ottaway wrote:
> The function `appt-make-list' clears all prior appointments when it
> parses the diary file [or files]. So if I have `appt-make-list' in
> `diary-hook' and I add an appointment using `appt-add' before I look
> at my diary, that appointment is deleted from `appt-time-msg-list'. I
> would have expected `appt-make-list' to keep any appointments added by
> appt-add.
Well, it's behaving as documented (C-h f):
Create the appointments list from todays diary buffer.
And the code is very explicit:
;; Clear the appointments list, then fill it in from the diary.
(setq appt-time-msg-list nil)
The problem is even if you make sure appt-make-list is called before
appt-add, to initialize appt-time-msg-list, it could get called again
(like at midnight) and overwrite the appointment list.
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-22 19:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.563.1108769499.32256.bug-gnu-emacs@gnu.org>
2005-02-22 19:16 ` appt-make-list too aggressive? Kevin Rodgers
2005-02-18 22:50 Jim Ottaway
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).