* suppressing shell history expansion in comint-previous-input
@ 2003-08-14 1:22 Sean McLaughlin
0 siblings, 0 replies; 2+ messages in thread
From: Sean McLaughlin @ 2003-08-14 1:22 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: suppressing shell history expansion in comint-previous-input
[not found] <mailman.401.1060824166.29551.help-gnu-emacs@gnu.org>
@ 2003-08-14 12:37 ` Johan Bockgård
0 siblings, 0 replies; 2+ messages in thread
From: Johan Bockgård @ 2003-08-14 12:37 UTC (permalink / raw)
Sean McLaughlin <seanmcl@cs.nyu.edu> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-08-14 12:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.401.1060824166.29551.help-gnu-emacs@gnu.org>
2003-08-14 12:37 ` suppressing shell history expansion in comint-previous-input Johan Bockgård
2003-08-14 1:22 Sean McLaughlin
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.