From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: =?UTF-8?B?UmU6IEJ1ZzogQy11wqBDLXXCoEMtY8KgQy1vIG9wZW5zIHBkZiBs?= =?UTF-8?B?aW5rcyBpbiBkb2N2aWV3LCBiZWx5aW5nIHRoZSBkb2NzdHJpbmcgWzguMy40?= =?UTF-8?B?ICg4LjMuNC0zOS1nZTBhY2Q4LWVscGFwbHVzIEAgL2hvbWUvam9yZ2UvLmVt?= =?UTF-8?B?YWNzLmQvZWxwYS9vcmctcGx1cy1jb250cmliLTIwMTYwNDE4Lyld?= Date: Sat, 23 Apr 2016 17:21:21 -0400 Message-ID: <871t5w58dq.fsf@kyleam.com> References: <1461442793.13483.1.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au4zc-0005mj-VI for Emacs-orgmode@gnu.org; Sat, 23 Apr 2016 17:21:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1au4zX-00073w-WC for Emacs-orgmode@gnu.org; Sat, 23 Apr 2016 17:21:32 -0400 Received: from pb-smtp2.pobox.com ([64.147.108.71]:60869 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1au4zX-00073r-Q4 for Emacs-orgmode@gnu.org; Sat, 23 Apr 2016 17:21:27 -0400 In-Reply-To: <1461442793.13483.1.camel@gmail.com> (Jorge Peixoto de Morais Neto's message of "Sat, 23 Apr 2016 17:19:53 -0300") 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" To: Jorge Peixoto de Morais Neto Cc: "Emacs-orgmode@gnu.org" Jorge Peixoto de Morais Neto writes: > In an attempt to open the PDF in the system viewer, position point > over the link and type C-u=C2=A0C-u=C2=A0C-c=C2=A0C-o. > > The link opens in DocView, belying the docstring, which says: > =C2=A0=C2=A0=C2=A0=C2=A0With a double prefix argument, try to open outsid= e of Emacs, in the > =C2=A0=C2=A0=C2=A0=C2=A0application the system uses for this file type. I'd guess that it does try to open it in an external application, but, after it can't figure out what that should be, it falls back to Emacs. You could step through the call to org-open-file to get a better understanding for what it is trying. > I reproduced with an empty Emacs init file.=C2=A0=C2=A0I use Ubuntu 16.04= .=C2=A0=C2=A0The default > PDF application is Okular. I don't know how Ubunutu assigns default applications, but org-open-file looks at mailcap assignments by default on GNU/Linux systems (see org-file-apps-defaults-gnu). You can also specify an extension-application mapping using the org-file-apps variable. -- Kyle