From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: Tim X <timx@nospam.dev.null>
Cc: help-gnu-emacs@gnu.org
Subject: Re: dired + associating external programs
Date: Sat, 24 Nov 2007 08:33:25 +0100 [thread overview]
Message-ID: <871wagkshm.fsf@thievol.homelinux.org> (raw)
In-Reply-To: <87tzncxqio.fsf@lion.rapttech.com.au> (Tim X.'s message of "Sat\, 24 Nov 2007 14\:37\:35 +1100")
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
next prev parent reply other threads:[~2007-11-24 7:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.4007.1195871125.18990.help-gnu-emacs@gnu.org>
2007-11-24 3:37 ` dired + associating external programs Tim X
2007-11-24 7:33 ` Thierry Volpiatto [this message]
2007-11-24 2:25 chandan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871wagkshm.fsf@thievol.homelinux.org \
--to=thierry.volpiatto@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=timx@nospam.dev.null \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).