From: David Maus <maus.david@gmail.com>
To: Markus Heller <hellerm2@gmail.com>
Cc: Bastien <bastienguerry@googlemail.com>, emacs-orgmode@gnu.org
Subject: Re: Org-expiry: How to define keyword for org-expiry-add-keyword
Date: Tue, 05 Jan 2010 17:47:45 +0100 [thread overview]
Message-ID: <87r5q4ebwu.wl%maus.david@gmail.com> (raw)
In-Reply-To: <hhtg29$v68$1@ger.gmane.org>
[-- Attachment #1.1.1: Type: text/plain, Size: 742 bytes --]
Hi Markus,
At Mon, 04 Jan 2010 11:37:45 -0800,
Markus Heller wrote:
>
> 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
This actually is a bug in org-expiry.el that is fixed with the
attached patch.
>
> I have defined this to be org-expiry-add-keyword, but how do I define
> the actual keyword?
>
You can define the keyword by setting the variable
`org-expiry-keyword'
,----
| (setq org-expiry-keyword "KEYWORD")
`----
or of cause using customization-interface (M-x customize-group RET
org-expiry RET).
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... maus.david@gmail.com
ICQ....... 241051416
[-- Attachment #1.1.2: 0001-Fix-call-to-function-defined-in-org-expiry-handler-f.patch --]
[-- Type: application/octet-stream, Size: 868 bytes --]
From 1a2d5ef20714c8b7d40baf52ca80ca28cb04ce92 Mon Sep 17 00:00:00 2001
From: David Maus <maus.david@gmail.com>
Date: Tue, 5 Jan 2010 17:29:38 +0100
Subject: [PATCH] Fix call to function defined in org-expiry-handler-function.
---
contrib/lisp/org-expiry.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/contrib/lisp/org-expiry.el b/contrib/lisp/org-expiry.el
index 2a6998a..828e287 100644
--- a/contrib/lisp/org-expiry.el
+++ b/contrib/lisp/org-expiry.el
@@ -247,7 +247,7 @@ Otherwise rely on `org-expiry-confirm-flag' to decide."
(not (interactive)))
(and org-expiry-confirm-flag
(y-or-n-p (format "Entry expired by %d days. Process? " d))))
- (funcall 'org-expiry-handler-function))
+ (funcall org-expiry-handler-function))
(org-delete-overlay ov)))))
(defun org-expiry-process-entries (beg end)
--
1.6.5
[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2010-01-05 16:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-04 19:37 Org-expiry: How to define keyword for org-expiry-add-keyword Markus Heller
2010-01-05 16:47 ` David Maus [this message]
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=87r5q4ebwu.wl%maus.david@gmail.com \
--to=maus.david@gmail.com \
--cc=bastienguerry@googlemail.com \
--cc=emacs-orgmode@gnu.org \
--cc=hellerm2@gmail.com \
/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).