emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] use %A to prompt for plain text when there is not file


From: Amos Bird
Subject: Re: [O] use %A to prompt for plain text when there is not file
Date: Wed, 20 Sep 2017 19:08:22 +0800
User-agent: mu4e 0.9.19; emacs 25.3.1

Hi Nicolas,

when in a file backed buffer, doing org capture with %A generates

[[some link][some description]]

and if the buffer has no file associated with it, I'd like %A to generate

some description

the above "some description" is inputed via prompting user.

regards,

Nicolas Goaziou <address@hidden> writes:

> Hello,
>
> Amos Bird <address@hidden> writes:
>
>> I'm currently using this template,
>> #+BEGINEXAMPLE
>>
>> 1 %A [/]
>>
>> * [ ] %?
>>
>> #+ENDEXAMPLE
>>
>> However when capturing in a non-file buffer, %A generates nothing. I'd like to have a plain text inserted instead. What can I do?
>
> What do you mean by "a plain text inserted"? Could you give an example?
>
> Thank you.
>
> Regards,


Amos Bird
address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]