From: Gabriel <gabriel376@hotmail.com>
To: emacs-devel@gnu.org
Subject: About appt-update-list local hook
Date: Sat, 13 Mar 2021 21:22:09 -0300 [thread overview]
Message-ID: <CH2PR01MB58798544BE7EBAD1432655B48B6D9@CH2PR01MB5879.prod.exchangelabs.com> (raw)
So I have been playing with Calendar, Diary and Appointments
lately. According to the documentation[1]:
"The appointments list is also updated whenever the diary file (or a file
it includes; see Fancy Diary Display) is saved"
But it was not working using Emacs built from master branch. Then I
discovered that commit '587a97bcb23bc6ea429ab790efa03f2260a9bca8'
changed the hook to be local mode. With this change, the diary-file is
tracked for changes only if 'appt-activate' is called inside a
diary-file buffer, but I call 'appt-activate' inside my init file. I
could not find any bug or thread linked to this commit, and the commit
does not contain any descriptive information. The commentary of appt.el
and the docstring of 'appt-update-list' also indicates that the
diary-file is always tracked for changes, regardless of how/where
'appt-activate' is called.
Is correct this local hook ? If so, should we update the docs ?
[1] https://www.gnu.org/software/emacs/manual/html_node/emacs/Appointments.html
next reply other threads:[~2021-03-14 0:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-14 0:22 Gabriel [this message]
2021-03-14 15:45 ` About appt-update-list local hook Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CH2PR01MB58798544BE7EBAD1432655B48B6D9@CH2PR01MB5879.prod.exchangelabs.com \
--to=gabriel376@hotmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.