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: Mon, 17 Mar 2003 09:39:33 -0700 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3E75FA45.2030103@ihs.com> References: 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 1047919368 13173 80.91.224.249 (17 Mar 2003 16:42:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 17 Mar 2003 16:42:48 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 17 17:42:45 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 18uxgk-0003NO-00 for ; Mon, 17 Mar 2003 17:42:14 +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 18uxgy-0003gb-06 for gnu-bug-gnu-emacs@m.gmane.org; Mon, 17 Mar 2003 11:42:28 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18uxgs-0003eH-00 for bug-gnu-emacs@prep.ai.mit.edu; Mon, 17 Mar 2003 11:42:22 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18uxgr-0003cl-00 for bug-gnu-emacs@prep.ai.mit.edu; Mon, 17 Mar 2003 11:42:22 -0500 Original-Received: from mailbox6.ucsd.edu ([132.239.1.58]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18uxef-0001NY-00 for bug-gnu-emacs@prep.ai.mit.edu; Mon, 17 Mar 2003 11:40:06 -0500 Original-Received: from mail.fu-berlin.de (mail.fu-berlin.de [160.45.11.165]) by mailbox6.ucsd.edu (8.12.8/8.12.3) with ESMTP id h2HGdZ6Z059622 for ; Mon, 17 Mar 2003 08:39:36 -0800 (PST) Original-Received: by mail.fu-berlin.de (Smail3.2.0.98) from Curry.ZEDAT.FU-Berlin.DE (160.45.10.36) with esmtp id ; Mon, 17 Mar 2003 17:39:35 +0100 (MET) Original-Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.fu-berlin.de with bsmtp id ; Mon, 17 Mar 2003 17:39:34 +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: 26 X-Orig-NNTP-Posting-Host: 170.207.51.80 X-Orig-X-Trace: fu-berlin.de 1047919174 73857448 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-MailScanner: PASSED (v1.2.7 43592 h2HGdZ6Z059622 mailbox6.ucsd.edu) 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:4626 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4626 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))) -- Kevin Rodgers