I am an emacs novice attempting to use an org-capture template. The manual indicates completion is available while expanding %^{prompt}. Can one get completion on %^{prop}p for a property? I tried the same syntax for prompt and that did not work. David
Hi,
dlc <dlc@coateconnection.com> writes:
> I am an emacs novice attempting to use an org-capture template. The manual
> indicates completion is available while expanding %^{prompt}. Can one get
> completion on %^{prop}p for a property? I tried the same syntax for prompt
> and that did not work.
If you want to prompt the user for property "MyProperty" you need to use
%^{MyProperty}p in the capture template.
HTH,
--
Bastien
While prompting the user for property "MyProtperty", Is there a way to
get completion on the "MyProperty" value while in the org-capture
bufffer?(...either ala the %^{prompt} format or by reading the
property definitions in the destination file or buffer?)
Thank You!
On Oct 29, 2011, at 7:02 AM, Bastien wrote:
> Hi,
>
> dlc <dlc@coateconnection.com> writes:
>
>> I am an emacs novice attempting to use an org-capture template.
>> The manual
>> indicates completion is available while expanding %^{prompt}. Can
>> one get
>> completion on %^{prop}p for a property? I tried the same syntax
>> for prompt
>> and that did not work.
>
> If you want to prompt the user for property "MyProperty" you need to
> use
> %^{MyProperty}p in the capture template.
>
> HTH,
>
> --
> Bastien
>
dlc <dlc@coateconnection.com> writes:
> While prompting the user for property "MyProtperty", Is there a way to
> get completion on the "MyProperty" value while in the org-capture
> bufffer?
e.g. :
:PROPERTIES:
:Effort: %^{prompt|0:10|0:20|0:30|1:00|2:00|3:00}
:END:
so you can choose the value of 'effort'?
hth
Giovanni
almost... using %^{Effort|0:10|0:20|0:30|1:00}p in the org-template
expansion, this would match the same format as the %^{prompt} expansion.
If only the stock property is provided in the template, e.g.
%^{Effort}p ... then property completion would look in the capture
target for #+PROPERTY Effort_ALL 0:10 0:20 0:30 1:00 to provide the
value list for the choosing of 'effort'
On Oct 31, 2011, at 10:00 AM, Giovanni Ridolfi wrote:
> dlc <dlc@coateconnection.com> writes:
>
>> While prompting the user for property "MyProtperty", Is there a way
>> to
>> get completion on the "MyProperty" value while in the org-capture
>> bufffer?
>
> e.g. :
>
> :PROPERTIES:
> :Effort: %^{prompt|0:10|0:20|0:30|1:00|2:00|3:00}
> :END:
>
> so you can choose the value of 'effort'?
>
>
> hth
> Giovanni
>