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

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

Re: suppressing shell history expansion in comint-previous-input


From: Johan Bockgård
Subject: Re: suppressing shell history expansion in comint-previous-input
Date: Thu, 14 Aug 2003 14:37:18 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (usg-unix-v)

Sean McLaughlin <address@hidden> writes:

> 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?

Set comint-input-autoexpand to nil.

-- 
Join us on #emacs @ irc.freenode.net.
http://www.emacswiki.org/cgi-bin/wiki.pl/EmacsChannel


reply via email to

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