unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#34815: 26.1; read-shell-command globally sets comint-input-autoexpand to 'history
@ 2019-03-11 18:08 jackkamm
  2019-03-11 18:41 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: jackkamm @ 2019-03-11 18:08 UTC (permalink / raw)
  To: 34815

Calling "shell-command", "async-shell-command", or any other command
calling "read-shell-command", globally sets the variable
"comint-input-autoexpand" to 'history. "comint-input-autoexpand" is
supposed to be a buffer-local variable with a default value of nil, and
setting it globally can interfere with other shells that use the "!"
symbol, e.g. the IPython shell.

To reproduce, first "emacs -Q", then check that
"comint-input-autoexpand" has value nil. Then type:
"M-!", "echo foo", "RET".
Then check that comint-input-autoexpand has been set to 'history.

jabranham on the freenode #emacs channel helped me track down and
consistently reproduce this bug.

--Jack





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-15  9:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-11 18:08 bug#34815: 26.1; read-shell-command globally sets comint-input-autoexpand to 'history jackkamm
2019-03-11 18:41 ` Eli Zaretskii
2019-03-11 20:52   ` Jack Kamm
2019-03-15  9:16     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).