From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Samuel Loury Newsgroups: gmane.emacs.bugs 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 Message-ID: <87ob9t2057.fsf@konixwork.incubateur.ens-lyon.fr> References: <871u6uv901.fsf@gmail.com> <8738r9qkf2.fsf@bzg.ath.cx> <871u6rht0h.fsf@bzg.ath.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1374565398 24315 80.91.229.3 (23 Jul 2013 07:43:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Jul 2013 07:43:18 +0000 (UTC) Cc: 14910@debbugs.gnu.org To: Oleh Krehel , Bastien Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 23 09:43:18 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V1XFd-0001Pr-8Q for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Jul 2013 09:43:17 +0200 Original-Received: from localhost ([::1]:38354 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1XFc-0004xk-HN for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Jul 2013 03:43:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1XFW-0004sB-EN for bug-gnu-emacs@gnu.org; Tue, 23 Jul 2013 03:43:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V1XFT-00019j-Ua for bug-gnu-emacs@gnu.org; Tue, 23 Jul 2013 03:43:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1XFO-00018Y-RW; Tue, 23 Jul 2013 03:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V1XFN-0000Y0-V3; Tue, 23 Jul 2013 03:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Samuel Loury Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Tue, 23 Jul 2013 07:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14910 X-GNU-PR-Package: emacs,org-mode X-GNU-PR-Keywords: Original-Received: via spool by 14910-submit@debbugs.gnu.org id=B14910.13745653331825 (code B ref 14910); Tue, 23 Jul 2013 07:43:01 +0000 Original-Received: (at 14910) by debbugs.gnu.org; 23 Jul 2013 07:42:13 +0000 Original-Received: from localhost ([127.0.0.1]:44102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V1XEZ-0000T1-8T for submit@debbugs.gnu.org; Tue, 23 Jul 2013 03:42:12 -0400 Original-Received: from mail-wg0-f52.google.com ([74.125.82.52]:57846) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V1XEW-0000R7-8P for 14910@debbugs.gnu.org; Tue, 23 Jul 2013 03:42:08 -0400 Original-Received: by mail-wg0-f52.google.com with SMTP id b13so1312120wgh.31 for <14910@debbugs.gnu.org>; Tue, 23 Jul 2013 00:42:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=t56Sjs90lHjzF08S3cPHSuKEIIQJBQIMuYaAu8FhRD0=; b=plNKCCb+TcQVivuSd6Ns25xj3cun4NiWbYobjV82ia5486KkFCVQfvfwWeS5SL4yOt eL51QcLjztdBfFH4Ki+x7iaJgWXQvNzgzW43YUX5ouM9NYV0e8IKdfdWgV5eYdjh+tFR eegleqgmSyM75/PCMHaqGbrpK8AeITUMwJZ8EFJecvNpJSWj/k3HwywzLUrzDLOCC7Uu pEzZo92MGVOzrEvqaJlH3gK2+ZrCDpwqsuJ+J2ugUNhu5np0Srg2hEMsPxhS9dAdqrf5 rA1Jv8U2aU86GzRy6NRiKh7A4nd+0wJy+sWk6AhsdWr/F9c4h/aGeCISlCTk2D4E52N3 19+w== X-Received: by 10.194.242.134 with SMTP id wq6mr21640232wjc.94.1374565322336; Tue, 23 Jul 2013 00:42:02 -0700 (PDT) Original-Received: from localhost (par69-7-82-243-233-186.fbx.proxad.net. [82.243.233.186]) by mx.google.com with ESMTPSA id fs8sm3929300wib.0.2013.07.23.00.42.00 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 23 Jul 2013 00:42:01 -0700 (PDT) In-Reply-To: User-Agent: Notmuch/0.15 (http://notmuchmail.org) Emacs/24.3.50.2 (x86_64-unknown-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:76587 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Oleh Krehel 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. =2D-=20 Konubinix GPG Key : 7439106A Fingerprint: 5993 BE7A DA65 E2D9 06CE 5C36 75D2 3CED 7439 106A --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJR7jPEAAoJEHXSPO10ORBquL0IAIj9qDDQ9TWEfdnw2uAMDS5J RD8t3PCOyvfX21rmPPhta6NOSm6CWrkdO2ivXNDvNfBZAQ7dsIq9bK5/OU3Bi5kc 7hn9iCIrg5iKGzvsb5lhxmDvwXSHlDASmU4mryDA8Ze8b7i/av5BoRa9omaFSsAW FH8ga23yWtOgBHpi18peiFEHf0ubGxU4y+W3FA3rHC72n1DgDkiQ6ZGGzMoB5U3u d9Hvy2+ElbK1HtBoBrfFfgwRsqZHNSlT9Gn6bcz0y/I7uJq7hinP4pJwGlqigT7A 1m9t/L4CkHORYD8189zQylkKnORJylGI7l+CiEXOGii8Sbz56IT/ELEI0kDFMZ8= =tYWj -----END PGP SIGNATURE----- --=-=-=--