From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: bug#14605: bug#14605: Problem with export an .org file to .pdf does not open pdf file Date: Mon, 2 Sep 2013 07:35:40 +0200 Message-ID: <6CD2860F-6518-4BC6-B431-507BB088B588__42719.592821277$1378104296$gmane$org@gmail.com> References: <51B9C912.4050100@redhat.com> <51C979DF.9080106@redhat.com> <520A312B.5080003@redhat.com> Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGNrw-0007AZ-KD for emacs-orgmode@gnu.org; Mon, 02 Sep 2013 02:44:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGNrn-0007q8-Hn for emacs-orgmode@gnu.org; Mon, 02 Sep 2013 02:44:12 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <520A312B.5080003@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: Petr Hracek Cc: 14605@debbugs.gnu.org On 13.8.2013, at 15:14, Petr Hracek wrote: > Hi, >=20 > 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: >=20 > - Alphanumeric characters only: > Match links with this file extension. > Example: (\"pdf\" . \"evince %s\") > to open PDFs with evince. >=20 > What does it mean system defaults? > What command is used for getting default programs? > xdg-mine or another? > Thank you in advance Hi Petr, these defaults come from `org-file-apps-defaults-macosx' `org-file-apps-defaults-windowsnt' `org-file-apps-defaults-gnu' They are basically the "open" commands for MacOS X and Windows, and = mailcap for Unix/Linux. Hope this helps - Carsten >=20 > greetings > Petr >=20 > On 06/25/2013 01:07 PM, Petr Hracek wrote: >> On 06/13/2013 03:28 PM, Petr Hracek wrote: >>> Hi folks, >>>=20 >>> I would like to export some .org file into .pdf file. >>> This should also open PDF after export is done but it does not. >>>=20 >>> This is done by command C-c C-e d. >>> In some case emacs freezes. >>>=20 >>> Could you please help me? >>>=20 >> Hi >>=20 >> I have find out that if file org/org.el where are defined variables = like org-file-apps >> is mentioned >> ("\\.pdf\\'" . default) >>=20 >> When I changed them to e.g xpdf then pdf file is openned properly. >>=20 >=20 >=20 > --=20 > Best regards / S pozdravem > Petr Hracek >=20 >=20 >=20 >=20