emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Adam Spiers <orgmode@adamspiers.org>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: archival mirroring source headline structure?
Date: Mon, 9 Jun 2008 12:52:03 +0100	[thread overview]
Message-ID: <20080609115203.GA19192@atlantic.linksys.moosehall> (raw)
In-Reply-To: <9592BB6CDB1CEB48826BE86ACD71FA996ABF63@kwik.ic.uva.nl>

On Mon, Jun 09, 2008 at 09:01:22AM +0200, Dominik, C. wrote:
> Hi Adam,
> 
> I agree that this would be nice, but I believe it is almost impossible
> to make this stable.  Because the user is free to add to and change
> the tree in the Org buffer, it is very easy to break this mechanism.

If I understand you correctly, I don't actually view this as breakage.
If I have

* A
** B
** C

and I archive B, then rename A to D, then archive C, my archive file
becomes:

* A
** B
* D
** C

which is exactly what I want.  Likewise if I were to relocate A to a
different level rather than rename it.  Am I missing something?

I'll try `org-agenda-archive-to-archive-sibling' as suggested by
Manuel.  Incidentally I notice that this function appears to be
undocumented.

Thanks both!

  reply	other threads:[~2008-06-09 11:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-02 16:35 archival mirroring source headline structure? Adam Spiers
2008-06-09  1:56 ` Manuel Hermenegildo
2008-06-09  7:01 ` Dominik, C.
2008-06-09 11:52   ` Adam Spiers [this message]
2008-06-10  3:28     ` Dominik, C.
2008-06-10 10:00       ` Adam Spiers

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=20080609115203.GA19192@atlantic.linksys.moosehall \
    --to=orgmode@adamspiers.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).