emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Erik Iverson <eriki@ccbr.umn.edu>
Cc: Tim O'Callaghan <tim.ocallaghan@gmail.com>,
	org-mode <emacs-orgmode@gnu.org>
Subject: Re: file+olp problem in org-capture.
Date: Tue, 24 Aug 2010 15:46:46 +0200	[thread overview]
Message-ID: <3B0FDA0E-5948-4494-B0F1-59C1D6231F59@gmail.com> (raw)
In-Reply-To: <4C73C1E2.9040904@ccbr.umn.edu>

Hi everyone,

this begins to smell like it should be a FAQ entry.... :)

- Carsten

On Aug 24, 2010, at 2:58 PM, Erik Iverson wrote:

> Tim,
>
> I ran into the exact same issue yesterday, in fact, our
> examples are almost identical!
>
> Here is the reply I received from David.
> http://www.mail-archive.com/emacs-orgmode@gnu.org/msg29029.html
>
> I didn't tried his solution yet, but it should work.
>
>
> On 08/24/2010 03:16 AM, Tim O'Callaghan wrote:
>> Hi,
>>
>> first, am i right i assuming that the file+olp is designed so that i
>> can specify the top of a tree, and the headings in the tree i want to
>> be able to capture to?
>>
>> That is what i am trying to do with the "1" option. It does not
>> evaluate the concat operation and so fails.
>>
>> ;; constant used in lots of other things.
>> (defconst toc:ze-org-dir  "~/org/")
>> ;; example org template
>> (setq org-capture-templates
>>       '(
>> ;; works
>> ;;  (file+headline "path/to/file" "node headline")
>>         ("0" "0+inbox" entry
>>          (file+headline (concat toc:ze-org-dir "0+inbox.org")
>> "+INBOX") "* %? \n")
>> ;; does not work
>> ;;  (file+olp "path/to/file" "Level 1 heading" "Level 2" ...)
>>         ("1" "1+projects" entry
>>          (file+olp (concat toc:ze-org-dir "1+projects.org") "+TASKS"
>> "+PROJECTS")
>>          "* ")))
>>
>>
>> Tim.
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

  reply	other threads:[~2010-08-24 13:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-24  8:16 file+olp problem in org-capture Tim O'Callaghan
2010-08-24 12:58 ` Erik Iverson
2010-08-24 13:46   ` Carsten Dominik [this message]
2010-09-02 14:11     ` Bastien

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=3B0FDA0E-5948-4494-B0F1-59C1D6231F59@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eriki@ccbr.umn.edu \
    --cc=tim.ocallaghan@gmail.com \
    /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).