help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: dired + associating external programs


From: Thierry Volpiatto
Subject: Re: dired + associating external programs
Date: Sat, 24 Nov 2007 08:33:25 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.60 (gnu/linux)

Tim X <timx@nospam.dev.null> writes:

> chandan <chandanlinster@gmail.com> writes:
>
>> Hi,
>>   I am using emacs 22.1.1 on ubuntu 7.10.
>> I would like to know if there is any way of associating external
>> programs to known file types in "dired". For example, associating 
>> * audio files (ogg, mp3, ...) with xmms, 
>> * office files (odt, odp, ...) with openoffice,
>> * ...
>
> There are many ways to do this. There are some packages (check the emacs
> wiki at http://www.emacswiki.org) and dired-x has some facilities to
> configure dired so that when you hit ! it will make a guess as to the
> program you want to run on that file. There was a package posted to
> g.e.sources and this group in the last week or so that implemented ways to
> call external probrams, but I don't remember the name of it. 
>
> The way I solved this was to use defadvice on view-file which looked at the
> file extension of the file about to be viewed and if it was one that had a
> recognised type, I would handle it in some particular way (convert to text,
> render in w3m etc), otherwise, just view as normal. 
>
> Tim

Hi, i use extview.el, it's work fine.
It read in a .mailcap file.

-- 
A + Thierry




reply via email to

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