* Bug: Capture templates: file-olp
@ 2015-05-07 8:07 Florian Lindner
2015-05-08 9:35 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Florian Lindner @ 2015-05-07 8:07 UTC (permalink / raw
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bug: Capture templates: file-olp
2015-05-07 8:07 Bug: Capture templates: file-olp Florian Lindner
@ 2015-05-08 9:35 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2015-05-08 9:35 UTC (permalink / raw
To: Florian Lindner; +Cc: emacs-orgmode
Hello,
Florian Lindner <mailinglists@xgm.de> writes:
> 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
This should be fixed in b27e630babc461ef22528c2dccf339f84d0a8476. Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-08 9:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-07 8:07 Bug: Capture templates: file-olp Florian Lindner
2015-05-08 9:35 ` Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.