Re: [FR] Display heading alongside id in org-insert-link completion

2022-09-23 Thread Max Nikulin

On 22/09/2022 23:49, Max Nikulin wrote:

On 22/09/2022 21:20, Sterling Hooten wrote:


When trying to insert a stored 'id' link with org-insert-link the
candidates are just the 'id' numbers themselves. This doesn't help
when trying to determine what the 'id' actually points to. Is there a
way for org-insert-link to display headings or other information
(maybe the tags or other heading properties) wih a completion
framework like Ivy?


I have tried release version ("bugfix" branch) and the "main" branch. In 
both cases `org-store-link' saves heading description and it is 
displayed in the stored link list. In the development ("main") branch 
completion by link description for `org-insert-link' was recently fixed.


Sterling, you sent response off list.

I have tried release_9.5.2-434-gbebf0b, but I still can not reproduce 
your issue.


emacs -Q -L ~/src/org-mode/lisp/ test.org
M-: to evaluate
(require 'org-id)
(setq org-id-link-to-org-use-id t)
M-x org-store-link
C-c C-l (org-insert-link) creates a buffer with the heading title and 
id: link


Do you use some 3rd party package like org-roam? `org-store-link' should 
call `org-id-store-link' that sets description of the stored link.


Do you mean some Emacs completion issue that is used by ivy but not 
implemented in Org?




Re: [FR] Display heading alongside id in org-insert-link completion

2022-09-22 Thread Max Nikulin

On 22/09/2022 21:20, Sterling Hooten wrote:


When trying to insert a stored 'id' link with org-insert-link the
candidates are just the 'id' numbers themselves. This doesn't help
when trying to determine what the 'id' actually points to. Is there a
way for org-insert-link to display headings or other information
(maybe the tags or other heading properties) wih a completion
framework like Ivy?


I have tried release version ("bugfix" branch) and the "main" branch. In 
both cases `org-store-link' saves heading description and it is 
displayed in the stored link list. In the development ("main") branch 
completion by link description for `org-insert-link' was recently fixed.