emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Max Nikulin <manikulin@gmail.com>
To: Sterling Hooten <hooten@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: [FR] Display heading alongside id in org-insert-link completion
Date: Fri, 23 Sep 2022 22:11:37 +0700	[thread overview]
Message-ID: <7b720d8c-d316-60b0-84b7-73ea36391615@gmail.com> (raw)
In-Reply-To: <54d6e701-b3cb-3dd0-d4cb-5518b20cbb60@gmail.com>

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?

      reply	other threads:[~2022-09-23 15:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7b720d8c-d316-60b0-84b7-73ea36391615@gmail.com \
    --to=manikulin@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=hooten@gmail.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


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).