[Top][All Lists]

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

Re: extview.el --- open files with external viewer

From: Mathias Dahl
Subject: Re: extview.el --- open files with external viewer
Date: Tue, 04 Apr 2006 09:44:15 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

Ted Zlatanov <address@hidden> writes:

>> At the moment only pdf files are handled, but it is trivial to add
>> others.
> [...]
>> (defvar extview-application-associations
>> '(("\\.pdf$" . "acroread"))
>> "List of (REGEXP . APPLICATION) descriptors which are tested for the
>> file name to be opened. The first matching application is used to open
>> the file. If no application matches then normal `find-file' is
>> executed.")
> Just a suggestion: look at the ~/.mailcap, /etc/mailcap, and
> /etc/mime.types files (on my Fedora Core 5 and Debian systems, at
> least).  They are a pretty good way of associating file viewers with

And, on w32, a simple call to `w32-shell-execute' will do the trick
most of the time.

reply via email to

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