[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Link Associations in Linux
From: |
Tassilo Horn |
Subject: |
[Orgmode] Re: Link Associations in Linux |
Date: |
Thu, 04 Sep 2008 12:09:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
"David A. Gershman" <address@hidden> writes:
Hi David,
> In the org.el file, I found "org-file-apps-defaults-gnu", made my
> adjustments { ("pdf" . "xpdf %s") } and away I went! However, is
> there a way I can modify/add to the "org-file-apps-defaults-gnu" via
> my .emacs file?
Sure, lots of ways. For example
(add-to-list org-file-apps '("pdf" . "xpdf %s"))
But the since the default value of org-file-apps-defaults-gnu is
,----[ C-h v org-file-apps-defaults-gnu RET ]
| org-file-apps-defaults-gnu's value is
| ((remote . emacs)
| (t . mailcap))
`----
It would be even better to adjust (or create) your ~/.mailcap. Then not
only org but most apps will honor this association. For example I have
this
,----[ ~/.mailcap ]
| application/pdf; okular '%s'
`----
to open pdfs with okular.
Hope that helps,
Tassilo
--
No person, no idea, and no religion deserves to be illegal to insult,
not even the Church of Emacs. (Richard M. Stallman)