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

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

Re: dired


From: Thierry Volpiatto
Subject: Re: dired
Date: Fri, 17 Jul 2009 15:23:12 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux)

Hi alain,
Alain Muls <alain.muls@telenet.be> writes:

> Hi emacs,
>
> Is it possible to adjust dired so that when I click on a PDF (Word,
> Excel,...) file the PDFviewer (eg evince, OpenOffice) opens?

You can use ext-view.el

,----[ Ext-view.el ]
| ;; Load the library and try opening a file which has an associated
| ;; application in `extview-application-associations' or in mailcap.
| ;; 
| ;; `extview-application-associations' can be used to override mailcap
| ;; handlers:
| ;;
| ;;   (require 'extview)
| ;;   (push '("\\.pdf$" . "acroread %s") extview-application-associations)
| ;;   (push '("\\.py$" . nil) extview-application-associations)
| ;;   (push '("\\.html$" . ask) extview-application-associations)
`----


-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France





reply via email to

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