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

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

want dired-x's "!" to sometimes invoke 'compile instead of shell-command


From: Dan Jacobson
Subject: want dired-x's "!" to sometimes invoke 'compile instead of shell-command
Date: 06 Jun 2001 12:51:05 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Dan" == Dan Jacobson <jidanni@kimo.FiXcomTHiS.tw> writes:

Dan> by the way, I see there is no html guesses, so I did
Dan> (setq dired-guess-shell-alist-user
Dan>       (list (list "\\.html?$" "validate --emacs")))
Dan> there ought to be many things one would want to do to a [s]htm[l]
Dan> file, there ought to be some dired-guess-shell-alist-default values set.

No No No, I want dired's "!" when done on an .html file to cause at
least one choice to be (compile "validate --emacs file.html") as C-x `
will not jump to the next error of *Shell Command Output*.  However,
(compile) is not a shell command... so what can be done about that?
Maybe the filename can be passed to a function that was originally
just supposed to return a string in dired-guess-shell-alist-default?
-- 
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.



reply via email to

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