[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: |
Mon, 17 Mar 2003 09:39:33 -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:
Come on guys, why so mum about the fact that one cannot turn off the
special effects of ! and ^ when running M-x shell?
Because I have no idea what you're talking about. You should know how to submit
a proper bug report by now.
It is quite disturbing for one who has turned them off years ago in
bash (set +o histexpand) to suddenly have them play tricks on one in
M-x shell.
Isn't your shell initialization file read, even under `M-x shell'?
If not, is this the effect you want:
(add-hook 'shell-mode-hook
(lambda ()
(local-set-key "!" 'keyboard-quit)
(local-set-key "^" 'keyboard-quit)))
--
<a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>