emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Correction for org-archive-location documentation?
@ 2011-07-27  4:02 John Hendy
  2011-08-24 22:34 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: John Hendy @ 2011-07-27  4:02 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-24 22:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-27  4:02 Correction for org-archive-location documentation? John Hendy
2011-08-24 22:34 ` Bastien
2011-08-24 22:45   ` John Hendy

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