emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ihor Radchenko <yantar92@posteo.net>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org id link to arbitrary place in an org file
Date: Wed, 06 Mar 2024 10:44:52 +0000	[thread overview]
Message-ID: <87le6v3ahn.fsf@localhost> (raw)
In-Reply-To: <CAJcAo8s=cjNY-7-mA1zQk3R9HEWYreTatdVeHfJ39ccM9=kMog@mail.gmail.com>

Samuel Wales <samologist@gmail.com> writes:

> i know we talked about something like this recently, perhaps related
> to inline tasks, perhaps not.  apologies redundancy.
>
> i'd like to have an org-id link to a place in a different file.  a
> paragraph or even more arbitrary.
>
> is this possible with current org technology?  [i think recent
> discussion did not mention id markers.]

On the latest main, after adding search option support for ID links, it
should be possible to link to named places in arbitrary Org file.

For example, one can link to a paragraph like

:PROPERTIES:
:ID:       3824e050-801e-422a-9312-6628f4153941
:END:

#+name: paragraph-name
This is a paragraph.

The link will be

[[id:3824e050-801e-422a-9312-6628f4153941::paragraph-name]]

-- 
Ihor Radchenko // yantar92,
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>


      parent reply	other threads:[~2024-03-06 10:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-20  4:46 org id link to arbitrary place in an org file Samuel Wales
2023-09-20 12:15 ` Ihor Radchenko
2023-09-20 12:58   ` Max Nikulin
2024-03-06 10:44 ` Ihor Radchenko [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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=87le6v3ahn.fsf@localhost \
    --to=yantar92@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

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