emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [BUG] org-store-link-functions advertizes that the first non-nil ret


From: Ihor Radchenko
Subject: Re: [BUG] org-store-link-functions advertizes that the first non-nil return value is used, but it is not how org-store-link handles it
Date: Wed, 28 Sep 2022 09:03:59 +0800

Max Nikulin <manikulin@gmail.com> writes:

> There are more inconsistencies. For a heading in an Org file 2 links may 
> be created: title search and #custom_id. Only one link is removed by 
> `org-insert-link'. Only one of them is checked if it has been stored 
> earlier. Usually after several store+insert actions I have a list of 
> stored links that I will never use. I am unsure what is better, to 
> prompt user when link is saved, or store all options with some group ID 
> and remain other links when one item from the group is inserted.

Would you mind reporting this and MWE in a new thread?
It will be easier to track then.

> I suppose, `org-store-link' should be split into smaller building blocks 
> to allow experiments with alternative implementations and strategies to 
> select from several variants.

+1

-- 
Ihor Radchenko,
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92



reply via email to

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