From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus Heller Subject: Re: Org-expiry: How to define keyword for org-expiry-add-keyword Date: Tue, 05 Jan 2010 15:26:06 -0800 Message-ID: References: <87r5q4ebwu.wl%maus.david@gmail.com> 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 1NSInV-0006Q8-84 for emacs-orgmode@gnu.org; Tue, 05 Jan 2010 18:26:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSInQ-0006Jb-BX for emacs-orgmode@gnu.org; Tue, 05 Jan 2010 18:26:44 -0500 Received: from [199.232.76.173] (port=49910 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSInQ-0006JQ-5I for emacs-orgmode@gnu.org; Tue, 05 Jan 2010 18:26:40 -0500 Received: from lo.gmane.org ([80.91.229.12]:52439) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSInP-0002Ho-Nh for emacs-orgmode@gnu.org; Tue, 05 Jan 2010 18:26:39 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NSInI-0005SL-2K for emacs-orgmode@gnu.org; Wed, 06 Jan 2010 00:26:32 +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 ; Wed, 06 Jan 2010 00:26:32 +0100 Received: from hellerm2 by mail.cdrd.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Jan 2010 00:26:32 +0100 In-Reply-To: <87r5q4ebwu.wl%maus.david@gmail.com> 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 On 1/5/2010 8:47 AM, David Maus wrote: > 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. Thanks for the patch. But when I run M-x org-expiry-process-entries in the agenda or in my example file (see below), I get the following message in the minibuffer: "The mark is not set now, so there is no region" When I run M-x org-expiry-process-entry in my example file (see below), it works! This command doesn't work in the agenda, but this is by design, right? Am I correct in assuming that I should be able to use M-x org-expiry-process-entries in the agenda? Thanks and Cheers Markus >> >> 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 > > > > _______________________________________________ > 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