"David A. Gershman" <[EMAIL PROTECTED]> 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)



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to