From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sean McLaughlin Newsgroups: gmane.emacs.help Subject: suppressing shell history expansion in comint-previous-input Date: Wed, 13 Aug 2003 21:22:18 -0400 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3F3AE44A.5010305@cs.nyu.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1060824200 13424 80.91.224.253 (14 Aug 2003 01:23:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2003 01:23:20 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 14 03:23:18 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19n6pi-0001EK-00 for ; Thu, 14 Aug 2003 03:23:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19n6pJ-0004BN-M8 for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Aug 2003 21:22:53 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19n6pA-00046E-L2 for help-gnu-emacs@gnu.org; Wed, 13 Aug 2003 21:22:44 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19n6oe-0003J0-Lq for help-gnu-emacs@gnu.org; Wed, 13 Aug 2003 21:22:43 -0400 Original-Received: from [128.122.47.28] (helo=cat.nyu.edu) by monty-python.gnu.org with esmtp (Exim 4.20) id 19n6oe-0003Hu-Cd for help-gnu-emacs@gnu.org; Wed, 13 Aug 2003 21:22:12 -0400 Original-Received: from cs.nyu.edu (mozart.math.pitt.edu [136.142.124.124]) by cat.nyu.edu (Postfix) with ESMTP id C2A1819D4A for ; Wed, 13 Aug 2003 21:22:11 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11796 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11796 Hello, I'm using ocaml and often type strings like "!a;;" into comint. When I do a comint-previous-input, instead of the expected "!a;;", I get "awk " or some other command I typed in some time ago. I believe what is happening is that the shell expects the exclamation mark to be asking for a history expansion. I want to suppress this behavior but can't figure out how to do it. Any thoughts? Best, Sean