From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier Berger Subject: 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 21:34:35 +0200 Message-ID: <87y5b2g8fo.fsf_-_@olivierberger.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44234) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgKEu-0002V2-12 for emacs-orgmode@gnu.org; Sat, 25 May 2013 15:34:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UgKEr-0005IX-Bj for emacs-orgmode@gnu.org; Sat, 25 May 2013 15:34:51 -0400 Received: from plane.gmane.org ([80.91.229.3]:46234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgKEr-0005IR-4s for emacs-orgmode@gnu.org; Sat, 25 May 2013 15:34:49 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UgKEo-00015j-MC for emacs-orgmode@gnu.org; Sat, 25 May 2013 21:34:46 +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 21:34:46 +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 21:34:46 +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. 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 ? Thanks in advance. Best regards, Osamu OKANO writes: > Hi, all. > I wrote the defadvice of org-archive-subtree so that I can archive in > a date-tree. > Please (setq org-archive-location "%s_archive::date-tree"), then you > can archive in a date-tree. > http://gist.github.com/370843 > > Regards. > -- Olivier BERGER (OpenPGP: 4096R/7C5BB6A5) http://www.olivierberger.com/weblog/