On 13/07/2023 10:34, Samuel Wales wrote:
link has already been stored is a bug in my case in that i can't just
go to a header, grab it [whether rabbed bfere or not] and then paste
it.  i surprise easily when the wrong link gets pasted.

The message is not a bug, it tells me that I am trying to store a wrong link. The issue is that current implementation does not prevent appearance of multiple identical links after several cycles store-link/insert-link to the same heading.

Whether stored links should be reordered depends on specific action, so a defcustom user option is not a rescue:

1. Collect links in certain order for `org-insert-org-links'. Duplicated link is a real error.

2. Copy link going to immediately insert it. Making the link the default one sounds reasonable. Perhaps the user still should be notified.

So I disagree that "already stored" is a bug, but there is room for improvements.


Reply via email to