emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jorge Peixoto de Morais Neto <jorge13515@gmail.com>
To: Kyle Meyer <kyle@kyleam.com>,
	"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: Mon, 25 Apr 2016 23:35:58 -0300	[thread overview]
Message-ID: <1461638158.13483.40.camel@gmail.com> (raw)
In-Reply-To: <871t5w58dq.fsf@kyleam.com>

On Sat, 2016-04-23 at 17:21 -0400, Kyle Meyer wrote:
> 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.
There seems to be a Freedesktop standard related to this.  There is even a
Freedesktop cli command (xdg-open) to open a URL (remote or local) in the
user's preferred application.  I really believe Emacs should integrate with
this standard by default.  For now I have manually customized org-file-apps
(and I will need to manually customize it again if I change my preferred PDF
viewer[1]), but Emacs would be more user-friendly if it integrated with the
Freedesktop standard.

One significant roadblock for greater Emacs adoption is that countless
problems that other programs solve automagically, must be manually configured
in Emacs, and they add up.

I hope I don't sound ungrateful.

Regards

* Notes
[1]: Of course I tried to specify xdg-open as the PDF viewer (so Emacs would
automatically open the PDF in whatever viewer I have currently configured
through Ubuntu GUI), but it didn't work (C-c C-o would do nothing), so I fell
back to manually specifying Okular.

-- 
- I am Brazilian.  I hope my English is correct and I welcome corrections.
- Please adopt free formats like PDF, ODF, LaTeX, Vorbis, Opus, WebM and 7z.
- Free software for Android: https://f-droid.org/

      reply	other threads:[~2016-04-26  2:36 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
2016-04-26  2:35   ` Jorge Peixoto de Morais Neto [this message]

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=1461638158.13483.40.camel@gmail.com \
    --to=jorge13515@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=kyle@kyleam.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).