emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Florian Lindner <mailinglists@xgm.de>
To: emacs-orgmode@gnu.org
Subject: Archive subtree with parent structure
Date: Tue, 15 Apr 2014 16:49:12 +0200	[thread overview]
Message-ID: <0f28107b197f2b89ae13fc5acf0e3607@xgm.de> (raw)


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,

             reply	other threads:[~2014-04-15 14:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-15 14:49 Florian Lindner [this message]
2014-04-18 11:36 ` Archive subtree with parent structure Bastien
2014-05-15 10:24   ` Florian Lindner
2014-05-20 20:17     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0f28107b197f2b89ae13fc5acf0e3607@xgm.de \
    --to=mailinglists@xgm.de \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).