emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Archive subtree with parent structure
@ 2014-04-15 14:49 Florian Lindner
  2014-04-18 11:36 ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Lindner @ 2014-04-15 14:49 UTC (permalink / raw)
  To: emacs-orgmode


is it possible to org-archive-subtree a subtree and keep the entire 
parent structure? e.g.

* A
** AA
** AB
** AC

AB will be archived to:

* A
** AB

Another question, just out of interest: Why is there 
org-archive-subtree-default at all? According to documentation and 
source it just calls the function in org-archive-default-command:

(defun org-archive-subtree-default ()
   "Archive the current subtree with the default command.
This command is set with the variable `org-archive-default-command'."
   (call-interactively org-archive-default-command))

Isn't the emacs way to rather just set org-archive-subtree to another 
function or rebind the key? Just a question from an interessted emacs 

Best Regards,

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-20 20:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-15 14:49 Archive subtree with parent structure Florian Lindner
2014-04-18 11:36 ` Bastien
2014-05-15 10:24   ` Florian Lindner
2014-05-20 20:17     ` Bastien

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).