From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petr Hracek Subject: bug#14605: Problem with export an .org file to .pdf does not open pdf file Date: Tue, 13 Aug 2013 15:14:19 +0200 Message-ID: <520A312B.5080003__8453.39047159559$1376399765$gmane$org@redhat.com> References: <51B9C912.4050100@redhat.com> <51C979DF.9080106@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9ERM-00065J-OX for emacs-orgmode@gnu.org; Tue, 13 Aug 2013 09:15:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9ERE-0000Mq-B7 for emacs-orgmode@gnu.org; Tue, 13 Aug 2013 09:15:12 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <51C979DF.9080106@redhat.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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: 14605@debbugs.gnu.org Hi, I have browsed the lisp code of org.el where is mentioned: "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? What command is used for getting default programs? xdg-mine or another? Thank you in advance greetings Petr On 06/25/2013 01:07 PM, Petr Hracek wrote: > On 06/13/2013 03:28 PM, Petr Hracek wrote: >> Hi folks, >> >> I would like to export some .org file into .pdf file. >> This should also open PDF after export is done but it does not. >> >> This is done by command C-c C-e d. >> In some case emacs freezes. >> >> Could you please help me? >> > Hi > > I have find out that if file org/org.el where are defined variables > like org-file-apps > is mentioned > ("\\.pdf\\'" . default) > > When I changed them to e.g xpdf then pdf file is openned properly. > -- Best regards / S pozdravem Petr Hracek