From mboxrd@z Thu Jan 1 00:00:00 1970 From: lecodesportif@eml.cc Subject: Using properties for diary-anniversaries Date: Sun, 23 Jan 2011 06:36:00 -0800 Message-ID: <1295793360.20637.1416756473@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=55783 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ph12y-0006hP-0c for emacs-orgmode@gnu.org; Sun, 23 Jan 2011 09:36:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ph12w-0000pH-CK for emacs-orgmode@gnu.org; Sun, 23 Jan 2011 09:36:03 -0500 Received: from new1.smtp.messagingengine.com ([66.111.4.221]:34264) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ph12w-0000pA-3T for emacs-orgmode@gnu.org; Sun, 23 Jan 2011 09:36:02 -0500 Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 4403D20866 for ; Sun, 23 Jan 2011 09:36:01 -0500 (EST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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