emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Archive subtree with parent structure


From: Florian Lindner
Subject: [O] Archive subtree with parent structure
Date: Tue, 15 Apr 2014 16:49:12 +0200
User-agent: Roundcube Webmail/0.9.5

Hello,

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'."
  (interactive)
  (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 novice.

Best Regards,
Florian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]