From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Re: org-archive-subtree keeping inherited tags Date: Tue, 01 Feb 2011 17:34:07 +0100 Message-ID: <87mxmflnnk.fsf@altern.org> References: <8762t49f7l.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=37637 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PkJSO-0008C3-Lw for emacs-orgmode@gnu.org; Tue, 01 Feb 2011 11:51:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PkJB7-0001cg-K5 for emacs-orgmode@gnu.org; Tue, 01 Feb 2011 11:34:06 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:61913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PkJB7-0001cX-CA for emacs-orgmode@gnu.org; Tue, 01 Feb 2011 11:34:05 -0500 Received: by fxm12 with SMTP id 12so7922376fxm.0 for ; Tue, 01 Feb 2011 08:34:04 -0800 (PST) In-Reply-To: (Carsten Dominik's message of "Tue, 1 Feb 2011 12:20:39 +0100") 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: Carsten Dominik Cc: emacs-orgmode@gnu.org, Osamu OKANO 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! -- Bastien