From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daimrod Subject: [Bug] org-open-at-point adds file+ Date: Tue, 04 Mar 2014 17:48:34 +0900 Message-ID: <871tyicpst.fsf@tanger.home> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKl24-00017i-Ai for emacs-orgmode@gnu.org; Tue, 04 Mar 2014 03:49:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKl1v-0003C7-5r for emacs-orgmode@gnu.org; Tue, 04 Mar 2014 03:49:00 -0500 Received: from mail-pd0-x233.google.com ([2607:f8b0:400e:c02::233]:44312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKl1u-00039y-UM for emacs-orgmode@gnu.org; Tue, 04 Mar 2014 03:48:51 -0500 Received: by mail-pd0-f179.google.com with SMTP id w10so4904479pde.10 for ; Tue, 04 Mar 2014 00:48:49 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, I think that since its recent rewrite, `org-open-at-point' adds 'file+' before the name of the application before trying to find the correct application. For example the following link: #+BEGIN_EXAMPLE [[docview:foo.pdf]] #+END_EXAMPLE won't trigger the `org-docview-open' handler because the following code: #+BEGIN_SRC emacs-lisp (or (let ((app (org-element-property :application context))) (nth 1 (assoc (concat "file" (and app (concat "+" app))) org-link-protocols))) #'org-open-file) #+END_SRC adds `file+' and then search in `org-link-protocols'. =2D-=20 Daimrod/Greg --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJTFZNiAAoJEBNzVHcrZRiURS8P/0BW3n3kyZDbkMcWNDyk8yO6 5qV5Li0ThwtQvckqjoGzzrhQeve2wdMYnDEjj2aqCmjLIXjuwshh2azA+fypifxp Ib4KZk7INpMpni6QB/Fb10QyQgWoV4nBty1qnMWqj8+U9dCyDiZCKpPF9Ud91LTA 0NHWEleTAiYvKZ9FZrnhxUF8cJZGzGbFjvtomO81T2NPZpD3H03Qrm2KJftnU0DR 16HLw+lwc+1kBgrkkLz0vjK5BvPOSeJ7ZJ45aUvGPpR1rhTbvK5T+t/vCLp4Xltv JLOG5lWn46Q0cTEAvPSgIaNTKA1LRNUb6N2ZH5QObhIHC9MBh8qL4AeooCWIZ2Tb TzC85RmayY++AoVPSajapTVCfHSi1FcV+kAVmxx/ii+sEJsMVg1I+49QjgmHXBV3 dIWigDj1/HarnyUvCGLAw9dbh9lvTSrTFEC+jdPjAv3X54v/G3dKcLJTqchRGxxu N8qOXWu4r1Rv898FBc5h2ZIrkub1P8NHa01RM+GxzXUI2wIxQws2kZ9EojBevVAH HJIvTd8eMhXzsPdCo9U4qLotQCd6JN0JJHhi81D6StAT50QOyIyZmh5IPoSHPnbE DZ9Jv6r235RMwa1t35o3jrT4vrHk8Si6EJDJkWRjyv7zRtCFTTslwgTJlhZR4JZP 8kKw8TvJfsM6r7Iuc35/ =TBpc -----END PGP SIGNATURE----- --=-=-=--