emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [FR] Display heading alongside id in org-insert-link completion
@ 2022-09-22 14:20 Sterling Hooten
  2022-09-22 16:49 ` Max Nikulin
  0 siblings, 1 reply; 3+ messages in thread
From: Sterling Hooten @ 2022-09-22 14:20 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

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?

Thanks!
Sterling


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [FR] Display heading alongside id in org-insert-link completion
  2022-09-22 14:20 [FR] Display heading alongside id in org-insert-link completion Sterling Hooten
@ 2022-09-22 16:49 ` Max Nikulin
  2022-09-23 15:11   ` Max Nikulin
  0 siblings, 1 reply; 3+ messages in thread
From: Max Nikulin @ 2022-09-22 16:49 UTC (permalink / raw)
  To: Sterling Hooten, emacs-orgmode

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [FR] Display heading alongside id in org-insert-link completion
  2022-09-22 16:49 ` Max Nikulin
@ 2022-09-23 15:11   ` Max Nikulin
  0 siblings, 0 replies; 3+ messages in thread
From: Max Nikulin @ 2022-09-23 15:11 UTC (permalink / raw)
  To: Sterling Hooten, emacs-orgmode

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?


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-23 15:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-22 14:20 [FR] Display heading alongside id in org-insert-link completion Sterling Hooten
2022-09-22 16:49 ` Max Nikulin
2022-09-23 15:11   ` Max Nikulin

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).