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

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

Re: want dired-x's "!" to sometimes invoke 'compile instead of shell-co


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

>>>>> "Kevin" == Kevin Rodgers <address@hidden> writes:

Kevin> Dan Jacobson wrote:
>> 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*.

Kevin> It should if you do `M-x compilation-minor-mode' in the *Shell
Kevin> Command Output* buffer.

Hmmm, how can one tie this together, so that 
 (setq dired-guess-shell-alist-user
       (list 
        (list "\\.html?$" "validate --emacs")))
will also turn on compilation-minor-mode in the *Shell Command Output*
buffer, but for that command's output only...

Or maybe one can make a phony function in dired-guess-shell-alist-user
that doesn't return a shell command, [or maybe just returns ":" or
other shell no-op's], and really calls M-x compile?
-- 
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.



reply via email to

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