From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: org-archive-subtree keeping inherited tags Date: Tue, 1 Feb 2011 17:42:22 +0100 Message-ID: <6A6A36FE-459E-4BF1-BB0F-EF5C6824DC26@gmail.com> References: <8762t49f7l.fsf@gnu.org> <87mxmflnnk.fsf@altern.org> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=37897 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkJRl-0008Ez-An for emacs-orgmode@gnu.org; Tue, 01 Feb 2011 11:51:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkJJD-00049A-Mu for emacs-orgmode@gnu.org; Tue, 01 Feb 2011 11:42:28 -0500 Received: from mail-ew0-f41.google.com ([209.85.215.41]:53470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkJJD-00048t-IX for emacs-orgmode@gnu.org; Tue, 01 Feb 2011 11:42:27 -0500 Received: by ewy27 with SMTP id 27so3042289ewy.0 for ; Tue, 01 Feb 2011 08:42:26 -0800 (PST) In-Reply-To: <87mxmflnnk.fsf@altern.org> 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: Bastien Cc: emacs-orgmode@gnu.org, Osamu OKANO On Feb 1, 2011, at 5:34 PM, Bastien wrote: > Carsten Dominik writes: > >> It might be useful to consider making this as part of the normal >> archiving >> procedure, when archiving to a different file. Maybe subject to a >> variable >> - but I do like the idea to be able to look at archived entries >> with all >> tags in place. Since in the Archive, entries are usually all >> siblings, >> there is no useful inheritance. Explicitly copying the tags into each >> archived entry is a good way to go to retain searchability of tags... > > I've now implemented this. > > You can customize `org-archive-subtree-add-inherited-tags' which > defaults to 'infile so that infile subtree archiving will append > inherited tags to the archived subtree. > > If `org-archive-save-context-info' contains the itags symbol, > inherited tags will aslo be added to the ARCHIVE_ITAGS property. > > Thanks for this idea! Great. - Carsten