emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: C-u C-u C-c C-o opens pdf links in docview, belying the do


From: Kyle Meyer
Subject: Re: [O] Bug: C-u C-u C-c C-o opens pdf links in docview, belying the docstring [8.3.4 (8.3.4-39-ge0acd8-elpaplus @ /home/jorge/.emacs.d/elpa/org-plus-contrib-20160418/)]
Date: Sat, 23 Apr 2016 17:21:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux)

Jorge Peixoto de Morais Neto <address@hidden> writes:
> In an attempt to open the PDF in the system viewer, position point
> over the link and type C-u C-u C-c C-o.
>
> The link opens in DocView, belying the docstring, which says:
>     With a double prefix argument, try to open outside of Emacs, in the
>     application 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.  I use Ubuntu 16.04.  The 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]