From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Re: Bug: org-clone-subtree-with-time-shift shifts CREATED property of org-expiry.el Date: Thu, 6 Oct 2011 11:24:00 +0200 Message-ID: <2011-10-06T11-05-45@devnull.Karl-Voit.at> References: <2011-10-04T17-27-01@devnull.Karl-Voit.at> <87r52r4cyj.fsf@norang.ca> Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBkBf-00041y-9I for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 05:24:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBkBa-0000ba-MV for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 05:24:19 -0400 Received: from lo.gmane.org ([80.91.229.12]:40980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBkBa-0000bT-BE for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 05:24:14 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RBkBZ-0003xf-Ot for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 11:24:13 +0200 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Oct 2011 11:24:13 +0200 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 06 Oct 2011 11:24:13 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org * Bernt Hansen wrote: > Karl Voit writes: > >> When an entry got processed by org-clone-subtree-with-time-shift, >> its :CREATED: property gets shifted too: >> >> #+begin_example >> * <2011-10-04 Tue> test >> SCHEDULED: <2011-10-05 Wed> >> :PROPERTIES: >> :CREATED: <2011-10-04 Tue 17:27> >> :END: >> * <2011-10-11 Tue> test >> SCHEDULED: <2011-10-12 Wed> >> :PROPERTIES: >> :CREATED: <2011-10-11 Tue 17:27> >> :END: >> #+end_example > > Where does this :CREATED: property come from? The only code I can find > is in contrib/lisp/org-expiry.el Yes, I am indeed using this package. To be honest, I have forgotten that it is org-expiry.el which generates those :CREATED: properties. But I do find it important to know, *when* an item was created. Independently from any expiry functionality. This is not only because I am doing http://en.wikipedia.org/wiki/Lifelogging with https://github.com/novoid/Memacs by the way. > and since that isn't officially part of org-mode yet I don't know > if it makes sense to have code in the cloning function to handle > it. Oh, I thought «contrib» is also «part of Org-mode» since it is in the very same git repository. Thanks for clarification. > Maybe (if there isn't already) the clone function could use some list of > properties for special handling (ie drop this property, don't shift the > date on that property, etc) > > If it can be generically handled then whatever code you include that > adds functionality for the :CREATED: property can also update that list > so it is handled in a sensible way. I can think of different situations where such a mechanism would be handy, yes. Is Bastien Guerry (creator of org-expiry.el) reading here? So for now I am afraid I have to either deactivate org-expiry.el or remove any :CREATED: property before applying cloning. -- Karl Voit