From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Berger Subject: Re: Archive scheduled (done) items to date-tree wrt scheduled date - Was: Was: Re: Can I set achive or refile target to date-tree? Date: Sat, 25 May 2013 23:07:15 +0200 Message-ID: <87txlqg458.fsf@olivierberger.com> References: <87y5b2g8fo.fsf_-_@olivierberger.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgLgY-0001w8-1K for emacs-orgmode@gnu.org; Sat, 25 May 2013 17:07:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UgLgU-0004sm-W9 for emacs-orgmode@gnu.org; Sat, 25 May 2013 17:07:29 -0400 Received: from plane.gmane.org ([80.91.229.3]:48717) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgLgU-0004sb-PD for emacs-orgmode@gnu.org; Sat, 25 May 2013 17:07:26 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UgLgT-0006JZ-8K for emacs-orgmode@gnu.org; Sat, 25 May 2013 23:07:25 +0200 Received: from mag77-1-82-238-14-130.fbx.proxad.net ([82.238.14.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 May 2013 23:07:25 +0200 Received: from oberger by mag77-1-82-238-14-130.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 25 May 2013 23:07:25 +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 Hi. Olivier Berger writes: > Hi. > > I found the org-archive-subtree-defadvice.el quite useful, but I'd like > to be able to archive DONE items not to today's date in a date-tree > archive file, but instead to their scheduled date. > > Thus, it reconstructs a journal of done things, and not a journal of my > archiving activity. > > Anyone with a suggestion ? > Responding to myself : there's now a ::datetree/ option for org-archive-location which renders the org-archive-subtree-defadvice.el "hack" useless. More details in http://orgmode.org/worg/doc.html#org-archive-location May I suggest to remove the hack from http://orgmode.org/worg/org-hacks.html#sec-1-7-2 too, then ? Hope this helps. Best regards, -- Olivier BERGER (OpenPGP: 4096R/7C5BB6A5) http://www.olivierberger.com/weblog/