emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Markus Heller <hellerm2@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Org-expiry: How to define keyword for org-expiry-add-keyword
Date: Mon, 04 Jan 2010 11:37:45 -0800	[thread overview]
Message-ID: <hhtg29$v68$1@ger.gmane.org> (raw)

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

             reply	other threads:[~2010-01-04 19:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-04 19:37 Markus Heller [this message]
2010-01-05 16:47 ` Org-expiry: How to define keyword for org-expiry-add-keyword David Maus
2010-01-05 23:26   ` Markus Heller
2010-01-07 17:01     ` David Maus
2010-01-07 17:57       ` Markus Heller
2010-01-10 15:30       ` David Maus

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='hhtg29$v68$1@ger.gmane.org' \
    --to=hellerm2@gmail.com \
    --cc=emacs-orgmode@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 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).