unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15987: 24.3; diary-add-to-list ignored by diary-mark-entries
@ 2013-11-28 14:40 Roland Winkler
  2013-11-30 23:08 ` Glenn Morris
  2019-08-18 17:55 ` Stefan Kangas
  0 siblings, 2 replies; 14+ messages in thread
From: Roland Winkler @ 2013-11-28 14:40 UTC (permalink / raw)
  To: 15987

I am not an expert with diary and calendar, but it seems to me that
there is an unnecessary duplication of code in diary-list-entries
and diary-mark-entries making it rather difficult to feed entries
into diary-mark-entries if these entries do not come from a diary
file.

The context is the following:

BBDB 3 defines the function bbdb-anniv-diary-entries which adds
anniversaries from BBDB records to `diary-list-entries' by calling
diary-add-to-list.  This is a clean thing and works fine.

Now I've been asked on the BBDB mailing list how these anniversaries
from BBDB records can also be marked in the Emacs calendar, and it
seems to me that there is no easy way to achieve this.  The problem
seems to be that diary-add-to-list is used to set up the diary
buffer.  But diary-mark-entries (or more specifically
diary-mark-entries-1) parses the diary file(s) similarly to what
diary-list-entries is doing; but this is directly used to mark the
calendar buffer.  For marking calendar entries, there is no such
thing as the variable diary-list-entries where "other sources of
diary entries" (beyond diary files) could feed there entries to,
which are then all processed to generate the marking of the calendar
buffer.

Am I missing something?



In GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2)
 of 2013-10-04 on regnitz
Windowing system distributor `The X.Org Foundation', version 11.0.11103000
System Description:	Ubuntu 12.04.3 LTS





^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2019-08-21 16:46 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-28 14:40 bug#15987: 24.3; diary-add-to-list ignored by diary-mark-entries Roland Winkler
2013-11-30 23:08 ` Glenn Morris
2013-12-01  1:25   ` Roland Winkler
2013-12-01 12:03     ` Stephen Berman
2013-12-02  1:46       ` Roland Winkler
2019-08-18 17:55 ` Stefan Kangas
2019-08-21  2:48   ` Roland Winkler
2019-08-21  3:06     ` Stefan Kangas
2019-08-21  3:41       ` Roland Winkler
2019-08-21 13:29         ` Stefan Kangas
2019-08-21 14:10           ` Stephen Berman
2019-08-21 15:46             ` Roland Winkler
2019-08-21 16:31               ` Stephen Berman
2019-08-21 16:46                 ` Roland Winkler

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).