emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Karl Voit <devnull@Karl-Voit.at>
Cc: Karl Voit <news1142@Karl-Voit.at>, emacs-orgmode@gnu.org
Subject: Re: Feature request: shared radio targets with archive files
Date: Thu, 20 Feb 2020 19:11:32 +0100	[thread overview]
Message-ID: <87v9o12kob.fsf@gnu.org> (raw)
In-Reply-To: <2020-02-20T18-23-52@devnull.Karl-Voit.at> (Karl Voit's message of "Thu, 20 Feb 2020 18:35:09 +0100")

Hi Karl,

Karl Voit <devnull@Karl-Voit.at> writes:

> Can somebody estimate on the effort and potential negative
> implications (performance, caching issues, ...) when this feature
> would be extended, so that radio targets of foo.org also work[2] in
> foo.org_archive and vice versa?

Radio targets only work within the same file.

Just like HTML anchor links: <a href="#anchor">voila</a>.

Allowing a radio target to be reached outside the current file would
lead to blur the distinction between radio targets and... links.

That said, you can write your own function, taking inspiration from
org-link--search-radio-target and adding it to org-open-link-functions,
where your function searches the target outside of the current buffer.

Not sure, of course, whether this is trivial or not :)

HTH,

-- 
 Bastien

  reply	other threads:[~2020-02-20 18:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-20 17:35 Feature request: shared radio targets with archive files Karl Voit
2020-02-20 18:11 ` Bastien [this message]
2020-02-21  8:31   ` Karl Voit

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=87v9o12kob.fsf@gnu.org \
    --to=bzg@gnu.org \
    --cc=devnull@Karl-Voit.at \
    --cc=emacs-orgmode@gnu.org \
    --cc=news1142@Karl-Voit.at \
    /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).