From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: bug#14605: Problem with export an .org file to .pdf does not open pdf file Date: Sat, 17 Aug 2013 14:31:45 +0200 Message-ID: <87ob8wmrbi.fsf@bzg.ath.cx> References: <51B9C912.4050100@redhat.com> <51C979DF.9080106@redhat.com> <520A312B.5080003@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47216) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VAfgy-0004lW-UT for emacs-orgmode@gnu.org; Sat, 17 Aug 2013 08:33:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VAfgl-0004zn-IK for emacs-orgmode@gnu.org; Sat, 17 Aug 2013 08:33:16 -0400 Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Message-ID: In-Reply-To: <520A312B.5080003@redhat.com> (Petr Hracek's message of "Tue, 13 Aug 2013 15:14:19 +0200") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Petr Hracek Cc: 14605-done@debbugs.gnu.org Hi Petr, Petr Hracek writes: > "External applications for opening `file:path' items in a document. > Org-mode uses system defaults for different file types, but > you can use this variable to set the application for a given file > extension. The entries in this list are cons cells where the car identifies > files and the cdr the corresponding command. Possible values for the > file identifier are > \"string\" A string as a file identifier can be interpreted in > different > ways, depending on its contents: > > - Alphanumeric characters only: > Match links with this file extension. > Example: (\"pdf\" . \"evince %s\") > to open PDFs with evince. > > What does it mean system defaults? It means mailcap. Org relies on mailcap.el behind the scene. > What command is used for getting default programs? > xdg-mine or another? Nope, mailcap. > Thank you in advance Best, -- Bastien