Re: [O] Stable 9.1.3 demands explicit empty string in (file) as capture target

2017-11-18 Thread Nicolas Goaziou
Hello,

Umbromancer  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 Goaziou0x80A93738



Re: [O] Stable 9.1.3 demands explicit empty string in (file) as capture target

2017-11-18 Thread Umbromancer
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
 wrote:
> Hello,
>
> Umbromancer  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



Re: [O] Stable 9.1.3 demands explicit empty string in (file) as capture target

2017-11-17 Thread Nicolas Goaziou
Hello,

Umbromancer  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



[O] Stable 9.1.3 demands explicit empty string in (file) as capture target

2017-11-16 Thread Umbromancer
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