[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch: handle PS/PDF in Gnus
From: |
David Reitter |
Subject: |
Re: patch: handle PS/PDF in Gnus |
Date: |
Fri, 6 Jul 2007 16:52:09 +0100 |
On 6 Jul 2007, at 16:34, David Kastrup wrote:
* mailcap.el (mailcap-mime-data): handle Postscript and PDF on
Mac OS
X.
Why wouldn't one want to leave the handling to what is written in
/etc/mailcap?
/etc/mailcap doesn't exist on OS X. Mapping from file types to
handler application is done via the LaunchServices database, which is
most easily accessed via the "open" tool:
(viewer . "open %s")
+ (type . "application/pdf")
As for the patch, calling pdf2ps and pdftops is not a good idea since
this stuff isn't installed unless the user explicitly installs them
(e.g. Ghostscript, which is mostly useless on the Mac).
What works, however, is to just use "open" with the PS files and let
LaunchServices deal with it. Current systems come with a preview.app
(which is what is normally launched for PDFs) that will automatically
convert PS to PDF and display that.
- patch: handle PS/PDF in Gnus, Sean O'Rourke, 2007/07/06
- Re: patch: handle PS/PDF in Gnus, Sean O'Rourke, 2007/07/06
- Re: patch: handle PS/PDF in Gnus, David Kastrup, 2007/07/06
- Re: patch: handle PS/PDF in Gnus,
David Reitter <=
- Re: patch: handle PS/PDF in Gnus, Sean O'Rourke, 2007/07/06
- Re: patch: handle PS/PDF in Gnus, David Reitter, 2007/07/06
- Re: patch: handle PS/PDF in Gnus, YAMAMOTO Mitsuharu, 2007/07/07
- Re: patch: handle PS/PDF in Gnus, Eli Zaretskii, 2007/07/07
- Re: patch: handle PS/PDF in Gnus, YAMAMOTO Mitsuharu, 2007/07/08
- Re: patch: handle PS/PDF in Gnus, Stefan Monnier, 2007/07/08
- Re: patch: handle PS/PDF in Gnus, Jan Djärv, 2007/07/09
- Re: patch: handle PS/PDF in Gnus, David Kastrup, 2007/07/09
- Re: patch: handle PS/PDF in Gnus, Jan Djärv, 2007/07/09
- Re: patch: handle PS/PDF in Gnus, YAMAMOTO Mitsuharu, 2007/07/09