From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Heller Subject: Org-expiry: How to define keyword for org-expiry-add-keyword Date: Mon, 04 Jan 2010 11:37:45 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NRsl6-0001BY-V7 for emacs-orgmode@gnu.org; Mon, 04 Jan 2010 14:38:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NRsl1-0001A9-Ak for emacs-orgmode@gnu.org; Mon, 04 Jan 2010 14:38:31 -0500 Received: from [199.232.76.173] (port=35328 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRsl1-0001A6-2C for emacs-orgmode@gnu.org; Mon, 04 Jan 2010 14:38:27 -0500 Received: from lo.gmane.org ([80.91.229.12]:39636) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NRsl0-0005tY-M9 for emacs-orgmode@gnu.org; Mon, 04 Jan 2010 14:38:27 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NRskw-0007Rk-Kw for emacs-orgmode@gnu.org; Mon, 04 Jan 2010 20:38:22 +0100 Received: from mail.cdrd.ca ([142.103.191.98]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Jan 2010 20:38:22 +0100 Received: from hellerm2 by mail.cdrd.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Jan 2010 20:38:22 +0100 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 Hello, please help a newbie with org-expiry.el :) I have a file like this: expiry.org * ACTIVE Test task :PROPERTIES: :EXPIRY: <2010-01-04 Mon 11:12> :END: I want org-expiry to change the keyword from ACTIVE to EXPIRED. These keywords are defined in my .emacs as follows: (setq org-todo-keywords (quote ((sequence "TODO(t)" "STARTED(s!)" "WAITING(w@/@)" "APPT(a@/!)" "|" "DONE(d@/@)" "CANCELED(c@/@)" "DEFERRED(f)") (sequence "ACTIVE" "|" "EXPIRED")))) If I type M-x org-expiry-process-entries in expiry.org, I get the following error: Symbol's function definition is void: org-expiry-handler function I have defined this to be org-expiry-add-keyword, but how do I define the actual keyword? Thanks Markus