[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] bug#14605: bug#14605: Problem with export an .org file to .pdf does

From: Jambunathan K
Subject: [O] bug#14605: bug#14605: Problem with export an .org file to .pdf does not open pdf file
Date: Mon, 02 Sep 2013 14:04:14 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Carsten Dominik <address@hidden> writes:

> They are basically the "open" commands for MacOS X and Windows, and
> mailcap for Unix/Linux.

The suggestion below is met with some approval in the Orgmode mailist


Here I go.

Turn `org-file-apps-defaults-gnu' (which is now a defconst) in to
defcustom and make xdg-open the default (or make a drop down list with
gnome-open, kde-open for people who don't have xdg-utils insalled) .

    (defconst org-file-apps-defaults-gnu
      '((remote . emacs)
        (system . mailcap)
        (t . mailcap))
      "Default file applications on a UNIX or GNU/Linux system.
    See `org-file-apps'.")

        ((auto-mode . emacs)
         ("\\.mm\\'" . default)
         ("\\.x?html?\\'" . default)
         ("\\.pdf\\'" . default))))
        ((remote . emacs)
         (system . "xdg-open %s")
         (t . mailcap))) t))


Anyways, opening a file outside of Emacs is not specific to Org.  Other
applications can open facility, if available right within Emacs core.

For some discussion surrounging - `open-file' - see

reply via email to

[Prev in Thread] Current Thread [Next in Thread]