emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Florian Lindner <mailinglists@xgm.de>
To: emacs-orgmode@gnu.org
Subject: Bug: Capture templates: file-olp
Date: Thu, 07 May 2015 10:07:07 +0200	[thread overview]
Message-ID: <mif6fc$9bn$1@ger.gmane.org> (raw)

Hello,

I just noticed, that if I use a capture template like 

("p" "foo" entry (file+olp "" "foo") "* %?\n%t\n%i")

It complains about:

Template key: 
org-find-olp: Wrong type argument: stringp, nil

It works when using

("p" "foo" entry (file+olp org-default-notes-file "foo") "* %?\n%t\n%i")

However, documentation claims:

If that file name is the empty string, it defaults to org-default-notes-
file.

http://orgmode.org/manual/Template-elements.html#Template-elements

org-mode that was shipped with Emacs 24.5.

Is that a known bug? Or is it no bug at all?

Best Regards,
Florian

             reply	other threads:[~2015-05-07  8:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-07  8:07 Florian Lindner [this message]
2015-05-08  9:35 ` Bug: Capture templates: file-olp Nicolas Goaziou

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='mif6fc$9bn$1@ger.gmane.org' \
    --to=mailinglists@xgm.de \
    --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).