emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Dominik, C." <C.Dominik@uva.nl>
To: Adam Spiers <orgmode@adamspiers.org>,
	org-mode mailing list <emacs-orgmode@gnu.org>
Subject: RE: archival mirroring source headline structure?
Date: Mon, 9 Jun 2008 09:01:22 +0200	[thread overview]
Message-ID: <9592BB6CDB1CEB48826BE86ACD71FA996ABF63@kwik.ic.uva.nl> (raw)
In-Reply-To: 20080602163530.GC14400@atlantic.linksys.moosehall


[-- Attachment #1.1: Type: text/plain, Size: 1716 bytes --]

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.
Also, the general case to puttin things into the correct place in the
archive is very complex.  This best and only way to keep the structure
of a tree in tact for the archive it to use in-place archiving (with
the ARCHIVE tag) or maybe the archive sibling.  And only move the
entire tree to an archive file when averything is done.

- Carsten


-----Original Message-----
From: emacs-orgmode-bounces+dominik=science.uva.nl@gnu.org on behalf of Adam Spiers
Sent: Mon 6/2/2008 6:35 PM
To: org-mode mailing list
Subject: [Orgmode] archival mirroring source headline structure?
 
I just discovered `org-archive-save-context-info' - very nice!
especially the preservation of the outline path (olpath).  Though it
might be even nicer if archival could optionally auto-vivify outline
paths and archive sub-headings under them.  So if your source file
had:

    * PROJECT foo
    ** NEXT bar

and you archived 'bar', it would check in the archive file whether
'foo' already exists, if not create it, and then archive bar under it.
So after incrementally archiving many sub-items to do with a single
project you would have all the sub-items gathered under that headline
in the archive file.  Is this doable now, and if not would it be hard
to support?

Thanks!


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-org

[-- Attachment #1.2: Type: text/html, Size: 2415 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  parent reply	other threads:[~2008-06-09  7:11 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. [this message]
2008-06-09 11:52   ` Adam Spiers
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=9592BB6CDB1CEB48826BE86ACD71FA996ABF63@kwik.ic.uva.nl \
    --to=c.dominik@uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=orgmode@adamspiers.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).