From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: Re: no pangs of guilt that can't turn off M-x shell's ^ ! ? Date: Tue, 18 Mar 2003 09:58:37 -0700 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3E77503D.90302@ihs.com> References: <3E75FA45.2030103@ihs.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1048007268 11337 80.91.224.249 (18 Mar 2003 17:07:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 18 Mar 2003 17:07:48 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 18 18:07:42 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18vKYw-0002w4-00 for ; Tue, 18 Mar 2003 18:07:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18vKRQ-0007EP-01 for gnu-bug-gnu-emacs@m.gmane.org; Tue, 18 Mar 2003 11:59:56 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18vKQX-0005kn-00 for bug-gnu-emacs@prep.ai.mit.edu; Tue, 18 Mar 2003 11:59:01 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18vKQO-0005cB-00 for bug-gnu-emacs@prep.ai.mit.edu; Tue, 18 Mar 2003 11:58:52 -0500 Original-Received: from chx400.switch.ch ([130.59.10.2]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18vKQN-0005VV-00 for bug-gnu-emacs@prep.ai.mit.edu; Tue, 18 Mar 2003 11:58:51 -0500 Original-Received: from mail.fu-berlin.de ([160.45.11.165]) by chx400.switch.ch with esmtp (Exim 3.20 #1) id 18vKQA-0007OR-00 for gnu-emacs-bug@moderators.isc.org; Tue, 18 Mar 2003 17:58:38 +0100 Original-Received: by mail.fu-berlin.de (Smail3.2.0.98) from Curry.ZEDAT.FU-Berlin.DE (160.45.10.36) with esmtp id ; Tue, 18 Mar 2003 17:58:37 +0100 (MET) Original-Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.fu-berlin.de with bsmtp id ; Tue, 18 Mar 2003 17:58:36 +0100 (MET) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: 170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 21 X-Orig-NNTP-Posting-Host: 170.207.51.80 X-Orig-X-Trace: fu-berlin.de 1048006716 73178485 170.207.51.80 (16 [82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4632 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4632 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? -- Kevin Rodgers