From: Samuel Loury <konubinix@gmail.com>
To: Oleh Krehel <o.krehel@tue.nl>, Bastien <bzg@gnu.org>
Cc: 14910@debbugs.gnu.org
Subject: bug#14910: [O] bug#14910: org-mode `org-open-at-point' doesn't follow id links
Date: Tue, 23 Jul 2013 09:41:56 +0200 [thread overview]
Message-ID: <87ob9t2057.fsf@konixwork.incubateur.ens-lyon.fr> (raw)
In-Reply-To: <CAJ1SQWAm1fiA29-nQFKNAvNx2Zj6zmRJYja_rGgEm7qwPT1k=A@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1188 bytes --]
Hi,
Oleh Krehel <o.krehel@tue.nl> writes:
>> As for requiring org-id for `org-open-at-point', I'm not sure this
>> is the right thing to do since it will require it for all users, even
>> those who don't use org-id at all.
> The issue is that the current solution isn't portable.[...]
> In my opinion it would be best to require 'org-id implicitly so that
> the links work the same for all users.
We could have a lazy loading of the file in case the "id:" string is
encountered. Actually, we could have a lazy loading of a default package
for each supported link. That would avoid the pain of loading the
package when users don't use it and still make those links work.
IIRC, the difficulty of that solution is that each package implementing
a link (like org-id) explicitly registers to indicate it can handle some
link while my solution assumes that there is some knowledge of which
package handle what link before loading it. For that reason, it is not
so easy to implement. I guess though that the behavior is more close to
what we should want to have.
--
Konubinix
GPG Key : 7439106A
Fingerprint: 5993 BE7A DA65 E2D9 06CE 5C36 75D2 3CED 7439 106A
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 489 bytes --]
next prev parent reply other threads:[~2013-07-23 7:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-19 15:56 bug#14910: org-mode `org-open-at-point' doesn't follow id links Oleh
2013-07-20 16:13 ` Bastien
[not found] ` <CAJ1SQWDbdR0WivwcYFr=5wO1VR3Nx5urUsXGk8C=hTCeQR0_bQ@mail.gmail.com>
[not found] ` <871u6rht0h.fsf@bzg.ath.cx>
2013-07-22 9:27 ` Oleh Krehel
2013-07-23 7:41 ` Samuel Loury [this message]
2013-07-23 7:41 ` bug#14910: " Samuel Loury
2013-07-22 9:27 ` Oleh Krehel
2017-12-04 21:50 ` Nicolas Goaziou
2017-12-04 21:50 ` Nicolas Goaziou
2013-07-20 16:13 ` Bastien
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ob9t2057.fsf@konixwork.incubateur.ens-lyon.fr \
--to=konubinix@gmail.com \
--cc=14910@debbugs.gnu.org \
--cc=bzg@gnu.org \
--cc=o.krehel@tue.nl \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.