From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jorge Peixoto de Morais Neto Subject: =?UTF-8?B?UmU6IEJ1ZzogQy11wqBDLXXCoEMtY8KgQy1vIG9wZW5zIHBkZiBs?= =?UTF-8?B?aW5rcyBpbiBkb2N2aWV3LCBiZWx5aW5nIHRoZSBkb2NzdHJpbmcgWzguMy40?= =?UTF-8?B?ICg4LjMuNC0zOS1nZTBhY2Q4LWVscGFwbHVzIEAgL2hvbWUvam9yZ2UvLmVt?= =?UTF-8?B?YWNzLmQvZWxwYS9vcmctcGx1cy1jb250cmliLTIwMTYwNDE4Lyld?= Date: Mon, 25 Apr 2016 23:35:58 -0300 Message-ID: <1461638158.13483.40.camel@gmail.com> References: <1461442793.13483.1.camel@gmail.com> <871t5w58dq.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ausrA-0006R6-Ch for Emacs-orgmode@gnu.org; Mon, 25 Apr 2016 22:36:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ausr6-00022S-BY for Emacs-orgmode@gnu.org; Mon, 25 Apr 2016 22:36:08 -0400 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]:35220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ausr6-00022N-4y for Emacs-orgmode@gnu.org; Mon, 25 Apr 2016 22:36:04 -0400 Received: by mail-pf0-x241.google.com with SMTP id r187so195314pfr.2 for ; Mon, 25 Apr 2016 19:36:03 -0700 (PDT) In-Reply-To: <871t5w58dq.fsf@kyleam.com> 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: Kyle Meyer , "Emacs-orgmode@gnu.org" 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/