emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: Bernt Hansen <bernt@norang.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-archive-location
Date: Wed, 19 Nov 2008 11:30:52 -0600	[thread overview]
Message-ID: <87hc63d3n7.fsf@fastmail.fm> (raw)
In-Reply-To: <87hc63zlpq.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Wed\, 19 Nov 2008 12\:09\:37 -0500")

Thanks Nick and Bernt.

Bernt Hansen <bernt@norang.ca> writes:

> Matthew Lundin <mdl@imapmail.org> writes:
>
>> Here's the relevant configuration line:
>>
>> (setq org-archive-location "2008.org_archive")
>
> I think this should be
>
> (setq org-archive-location "2008.org_archive::")
>
> -Bernt

Works like a charm. Thanks!

Now on to the fancier stuff, as in:

(setq org-archive-location (concat "~/archive/" (format-time-string "%Y-%m") ".org::"))

I thought I had read the documentation carefully, but obviously I
hadn't read it carefully enough. My apologies.

I believe the "otherwise" in the documentation that Nick mentioned
threw me off. I assumed (erroneously) that one could use *either* a
simple path *or* a string consisting of path - double colon -
headline.

- Matt

      reply	other threads:[~2008-11-19 17:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-19 16:45 org-archive-location Matthew Lundin
2008-11-19 17:09 ` org-archive-location Nick Dokos
2008-11-19 17:22   ` [PATCH] Clean up the description of org-archive-location Bernt Hansen
2008-11-20  7:26     ` Carsten Dominik
2008-12-02 12:48       ` Christian Egli
2008-12-02 13:24         ` Bernt Hansen
2008-11-19 17:09 ` org-archive-location Bernt Hansen
2008-11-19 17:30   ` Matthew Lundin [this message]

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=87hc63d3n7.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=bernt@norang.ca \
    --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).