From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Re: Org-expiry: How to define keyword for org-expiry-add-keyword Date: Thu, 07 Jan 2010 18:01:11 +0100 Message-ID: <873a2halyg.wl%maus.david@gmail.com> References: <87r5q4ebwu.wl%maus.david@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============1024374259==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSvjm-00087a-42 for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 12:01:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSvjd-00083p-EB for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 12:01:26 -0500 Received: from [199.232.76.173] (port=59165 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSvjc-00083d-RF for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 12:01:20 -0500 Received: from mail-ew0-f224.google.com ([209.85.219.224]:58082) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSvjc-0004UX-2c for emacs-orgmode@gnu.org; Thu, 07 Jan 2010 12:01:20 -0500 Received: by ewy24 with SMTP id 24so21807288ewy.26 for ; Thu, 07 Jan 2010 09:01:18 -0800 (PST) In-Reply-To: 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: Markus Heller Cc: emacs-orgmode@gnu.org --===============1024374259== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Thu_Jan__7_18:01:07_2010-1"; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Thu_Jan__7_18:01:07_2010-1 Content-Type: text/plain; charset=US-ASCII At Tue, 05 Jan 2010 15:26:06 -0800, Markus Heller wrote: > > 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? No. Up to now org-expiry is constructed to work on a per file basis and `org-expiry-process-entries' even expects the headlines to process in a region. That is what the first message "The mark is not set now, so there is no region" complains about. It seems reasonable to me that org-expiry should provide a function that processes all headlines in a buffer and processing all headlines in an agenda view. Could I ask you to elaborate on the intended use of org-expiry? I'm not quite sure about how expiry fits in the overall concept of orgmode. Regards -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... maus.david@gmail.com --pgp-sign-Multipart_Thu_Jan__7_18:01:07_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAktGE1cACgkQma24O1pEeOZ0bQD/aPsi1XCvnPpoXNo/d3ew5T4O CRerYfu4eAM7moi3MlYBAO2NhArzhVUFatwbM8mAAwgmEqsvmnnoTPwIwRZ2Y6IJ =J9Bi -----END PGP SIGNATURE----- --pgp-sign-Multipart_Thu_Jan__7_18:01:07_2010-1-- --===============1024374259== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1024374259==--