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

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

RE: [h-e-w] Customizing run-shell-command


From: Dr Francis J. Wright
Subject: RE: [h-e-w] Customizing run-shell-command
Date: Thu, 16 Dec 2004 14:20:24 -0000

> From: 
> address@hidden 
> [mailto:address@hidden
> rg] On Behalf Of Henrik Andersson
> Sent: Thursday, 16 December 2004 9:35 am
> To: address@hidden
> Subject: [h-e-w] Customizing run-shell-command
> 
> How can I change run-shell-command (X in Dired) to run 
> acrord32 instead of xpdf on .pdf for instance or even better 
> the program which is associated with the extension in windows?

I use this:

;;; w32-shellex.el --- Windows 95/NT Explorer Shell-based program/file
launching

;; Author: Theodore A. Jump (address@hidden)
;; Maintainer: taj / http://www.tertius.com/tjump
;; Keywords: NTemacs

(defconst w32-shellex-version "$VER: 1.6.4 (1999-11-10 11:39:59(-0600))")

with slightly modified key bindings.  Actually, I think there is more than
one package around that provides similar functionality, but this is the one
I use.  As you can see, it's been around for a while.  It does essentially
what opening a document under Windows would do.  It still works under
Windows XP and, for example, it opens a .pdf file in Adobe Reader.  I just
tried it to make sure!

Francis





reply via email to

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