[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:17:06 +0800 |
User-agent: |
mu4e 0.9.19; emacs 25.3.1 |
Um, but I'd like to use this template for both cases. When inside a temporary,
don't generate a
link, but plain text instead, while in a file buffer, generate the link as
usual.
regards,
Nicolas Goaziou <address@hidden> writes:
> Amos Bird <address@hidden> writes:
>
>> 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.
>
> It sounds wrong to link to a temporary buffer, i.e., to volatile
> contents. It may be more appropriate to use
>
> %^{prompt}
>
> in your template instead of
>
> %A
>
> when capturing from there.
>
> WDYT?
>
> Regards,
--
Amos Bird
address@hidden