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

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

Re: no pangs of guilt that can't turn off M-x shell's ^ ! ?


From: Kevin Rodgers
Subject: Re: no pangs of guilt that can't turn off M-x shell's ^ ! ?
Date: Tue, 18 Mar 2003 09:58:37 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Dan Jacobson wrote:

K> If not, is this the effect you want:

K>       (local-set-key "!" 'keyboard-quit)
K>       (local-set-key "^" 'keyboard-quit)))

no, you're barfing up the wrong tree.  The shell-mode author thought
csh-style ! and ^ history substitutions were so great, he forgot to
leave a way to turn them off.  Yes, not being able to type them would
indeed fix the problem, as would snipping my keyboard cable. "rm -r
dangerous??, just local-set-key "r"...

C-h v comint-input-autoexpand


Does setting that variable to nil in a shell-mod-hook function fix your problem?

--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>





reply via email to

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