emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Jorge Peixoto de Morais Neto <jorge13515@gmail.com>
Cc: "Emacs-orgmode@gnu.org" <Emacs-orgmode@gnu.org>
Subject: Re: 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	[thread overview]
Message-ID: <871t5w58dq.fsf@kyleam.com> (raw)
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")

Jorge Peixoto de Morais Neto <jorge13515@gmail.com> 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	other threads:[~2016-04-23 21:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-23 20:19 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/)] Jorge Peixoto de Morais Neto
2016-04-23 21:21 ` Kyle Meyer [this message]
2016-04-26  2:35   ` Jorge Peixoto de Morais Neto

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871t5w58dq.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=jorge13515@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).