[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Capture template expansion: feature or bug?
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Capture template expansion: feature or bug? |
Date: |
Sat, 17 Mar 2018 15:17:52 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello,
François Allisson <address@hidden> writes:
> When one uses the following template expansion,
>
>> %^{prop}p Prompt the user for a value for property ‘prop’.
>
> it supposes one to supply a non-empty string of characters. If one
> simply hits RETURN on a given prompt for property, the capture process
> ends with an
>
>> org-capture: Capture abort: (quit)
>
> message. This means that all prompts for properties are mandatory. It
> this a feature or a bug?
I tried reproducing your issue with the following template:
("B" "BUG" entry (file "/tmp/bug-capture.org") "* %?%^{prop}p")
However, I cannot reproduce it.
> Of course, if I ask the question, it is because I clearly see use cases
> for optional properties prompts (which would leave empty the property in
> question): you ask for several information, which you don't always have;
> and you don't want the capture process to quit because of that. But may
> be there is a better way to achieve this?
Another problem is: do you want to skip the property altogether, or set
it to an empty string?
> Org 9.0.10 / Emacs 25.2.1
I suggest to update Org, BTW.
Regards,
--
Nicolas Goaziou