emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Using properties for diary-anniversaries
@ 2011-01-23 14:36 lecodesportif
  2011-01-23 21:03 ` Nick Dokos
  2011-01-24  1:16 ` Nick Dokos
  0 siblings, 2 replies; 12+ messages in thread
From: lecodesportif @ 2011-01-23 14:36 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I have an anniversary list in Org Mode where entries have this format:

* John
  :PROPERTIES:
  :Name: John
  :Birthday: 5 4 1900
  :END:

I would like to add the "Birthday" and "Name" properties to Org Agenda
automatically. What I have so far is:

%%(apply 'diary-anniversary (read (org-entry-get nil "Birthday"))) John

When I enter this line right after the properties, the anniversary is
added at the correct date in the agenda. But I still have to enter the
name manually.

Is there a way to have the "Name" property added to the diary text
automatically? Can this be done for all entries in the list by adding
code at the top of the org file?

-- 
http://www.fastmail.fm - The way an email service should be

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

end of thread, other threads:[~2011-01-25 15:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-23 14:36 Using properties for diary-anniversaries lecodesportif
2011-01-23 21:03 ` Nick Dokos
2011-01-23 23:04   ` lecodesportif
2011-01-24  1:16 ` Nick Dokos
2011-01-24  8:27   ` lecodesportif
2011-01-24 14:36     ` Nick Dokos
2011-01-24 20:46       ` Adam
2011-01-24 21:02         ` Nick Dokos
2011-01-25 13:17       ` lecodesportif
2011-01-25 14:53         ` Nick Dokos
2011-01-25 15:05         ` Nick Dokos
2011-01-25 15:22           ` lecodesportif

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).