On Jan 28, 2011, at 2:47 PM, Osamu OKANO wrote:
Hi.
On Wed, Jan 26, 2011 at 11:16 PM, Osamu OKANO
<okano.os...@gmail.com> 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.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode