* Stable 9.1.3 demands explicit empty string in (file) as capture target
@ 2017-11-16 22:13 Umbromancer
2017-11-17 22:24 ` Nicolas Goaziou
0 siblings, 1 reply; 4+ messages in thread
From: Umbromancer @ 2017-11-16 22:13 UTC (permalink / raw)
To: emacs-orgmode
Hi,
This may be intended, but before it was possible (and there is a lot
of code and examples in the wild) to have a capture template element
such as:
(setq org-default-notes-file "~/Documents/orgfiles/inbox.org")
(setq org-capture-templates
'(("t" "Todo" entry (file)
"* TODO %^{Brief description} %^g\n %u\n %?" :empty-lines 1)
...))
While with stable 9.1.3 an empty string must be explicitly passed in
(file "") if org-default-notes-file is to be used as the target.
Regards
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Stable 9.1.3 demands explicit empty string in (file) as capture target
2017-11-16 22:13 Stable 9.1.3 demands explicit empty string in (file) as capture target Umbromancer
@ 2017-11-17 22:24 ` Nicolas Goaziou
2017-11-18 9:42 ` Umbromancer
0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2017-11-17 22:24 UTC (permalink / raw)
To: Umbromancer; +Cc: emacs-orgmode
Hello,
Umbromancer <umbromancer@gmail.com> writes:
> This may be intended, but before it was possible (and there is a lot
> of code and examples in the wild) to have a capture template element
> such as:
I don't see this documented either in `org-capture-templates' docstring
or in the manual. It could be some glitch that disappeared during
a refactoring. AFAICT, the empty string has always been the way to go.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Stable 9.1.3 demands explicit empty string in (file) as capture target
2017-11-17 22:24 ` Nicolas Goaziou
@ 2017-11-18 9:42 ` Umbromancer
2017-11-18 11:57 ` Nicolas Goaziou
0 siblings, 1 reply; 4+ messages in thread
From: Umbromancer @ 2017-11-18 9:42 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: emacs-orgmode
Yes, you are right about the docs, alas many features are undocumented.
But I must say I really haven't used org-mode in sufficient depth to
say how long this glitch has been there...
thank you
On Fri, Nov 17, 2017 at 10:24 PM, Nicolas Goaziou
<mail@nicolasgoaziou.fr> wrote:
> Hello,
>
> Umbromancer <umbromancer@gmail.com> writes:
>
>> This may be intended, but before it was possible (and there is a lot
>> of code and examples in the wild) to have a capture template element
>> such as:
>
> I don't see this documented either in `org-capture-templates' docstring
> or in the manual. It could be some glitch that disappeared during
> a refactoring. AFAICT, the empty string has always been the way to go.
>
> Regards,
>
> --
> Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Stable 9.1.3 demands explicit empty string in (file) as capture target
2017-11-18 9:42 ` Umbromancer
@ 2017-11-18 11:57 ` Nicolas Goaziou
0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2017-11-18 11:57 UTC (permalink / raw)
To: Umbromancer; +Cc: emacs-orgmode
Hello,
Umbromancer <umbromancer@gmail.com> writes:
> Yes, you are right about the docs, alas many features are
> undocumented.
If you think documentation is lacking somewhere, please report it.
Regards,
--
Nicolas Goaziou 0x80A93738
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-11-18 11:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-16 22:13 Stable 9.1.3 demands explicit empty string in (file) as capture target Umbromancer
2017-11-17 22:24 ` Nicolas Goaziou
2017-11-18 9:42 ` Umbromancer
2017-11-18 11:57 ` 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.