|
From: | Carsten Dominik |
Subject: | Re: [Orgmode] Re: org-archive-subtree keeping inherited tags |
Date: | Fri, 28 Jan 2011 19:20:32 +0100 |
On Jan 28, 2011, at 2:47 PM, Osamu OKANO wrote:
Hi.On Wed, Jan 26, 2011 at 11:16 PM, Osamu OKANO <address@hidden> wrote:Hi ! I'd like to org-archive-subtree keeping inherited tags. Can I do like blow?I have found the solution by defadvice. (defadvice org-archive-subtree (before add-inherited-tags-before-org-archive-subtree activate) "add inherited tags before org-archive-subtree" (org-set-tags-to (org-get-tags-at)))
This is a pretty smart move! - Carsten
Regards.===~/org/action.org=================================== #+FILETAGS: Action * office :@office: ** DONE I'd like to archive this subtree keeping inherited tags *** DONE step1 *** DONE step2 *** DONE step3 ===~/org/action.org_archive=========================== Archived entries from file ~/org/action.org* DONE I'd like to archive this subtree keeping inherited tags :Action:@office::PROPERTIES: :ARCHIVE_TIME: 2011-01-25 tue 19:00 :ARCHIVE_FILE: ~/org/action.org :ARCHIVE_OLPATH: office :ARCHIVE_TODO: DONE :ARCHIVE_ITAGS: Action @office :END: ** DONE step1 ** DONE step2 ** DONE step3 ================================================ Regards._______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. address@hidden http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Prev in Thread] | Current Thread | [Next in Thread] |