emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] Re: Adding target and custom id links doesn't ask for descri


From: Max Nikulin
Subject: Re: [PATCH] Re: Adding target and custom id links doesn't ask for description
Date: Thu, 11 Aug 2022 22:50:00 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

On 10/08/2022 19:30, Carlos Pita wrote:

    I suggest to set description to nil and thus ask the user in such
    scenario.

I'm fine with that. Alternatively the default may be the target or custom id (that is, the same that is in the link part), again letting the user change it. Thanks!

Carlos, have you tried Ihor's patch? I like the intention, but I do not see any effect. If I read the code correctly, first chunk is for C-u C-u, second one for id, not CUSTOM_ID links. The latter works on the main branch: I am prompted to confirm heading title as description. So I am confused.

In my environment my patches:

Max Nikulin. Re: Bug: org-store-link uses CUSTOM_ID instead of target point. Sat, 6 Nov 2021 19:51:29 +0700. https://list.orgmode.org/e2c807a7-1924-6f08-9e63-4f70aee9d3b5@gmail.com

helps for #CUSTOM_ID and <<target>> links. Heading title is offered in the first case and empty description in the latter.

P.S. The reason why file name is originally stored is that the link may be inserted to another file. When link is inserted to the same document, only target part is transformed to strip file name, description remains as it was stored.



reply via email to

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