emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Correction for org-archive-location documentation?
Date: Tue, 26 Jul 2011 23:02:31 -0500	[thread overview]
Message-ID: <CA+M2ft_9hamMAWp4-Q4DUMsHTEUO4DSJRh2H0=Epmu5YOLDydQ@mail.gmail.com> (raw)

Setting up archive for the first time. The guiding text in =M-x
customize variable org-archive-location= says:

,-----
|    "~/org/archive.org::From %s"
|   	Archive in file ~/org/archive.org (absolute path), under headlines
|           "From FILENAME" where file name is the current file name.
`-----

I may just be reading this wrong, but I thought that if I were to set
this option like so in a file:

,-----
| #+archive: ~/org/archive.org::From %s
`-----

I would do =C-c C-x C-s= and then see the following in ~/org/archive.org:

,-----
| * From filename.org
| ** done name of archived todo...
`-----

Instead, I saw:

,-----
| Archived entries from file /home/jwhendy/org/rigor.org
| * done name of archived todo...
`-----

When I changed the option to (note the leading *):

,-----
| #+archive: ~/org/archive.org::* From %s
`-----

I got the anticipated result:

,-----
| * From filename.org
| ** done name of archived todo...
`-----

Did I just read the documentation incorrectly, or was my guess
intuitive and perhaps an update/correction would be helpful for
others?


Thanks,
John

             reply	other threads:[~2011-07-27  4:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-27  4:02 John Hendy [this message]
2011-08-24 22:34 ` Correction for org-archive-location documentation? Bastien
2011-08-24 22:45   ` John Hendy

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='CA+M2ft_9hamMAWp4-Q4DUMsHTEUO4DSJRh2H0=Epmu5YOLDydQ@mail.gmail.com' \
    --to=jw.hendy@gmail.com \
    --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).