From: jackkamm@gmail.com
To: 34815@debbugs.gnu.org
Subject: bug#34815: 26.1; read-shell-command globally sets comint-input-autoexpand to 'history
Date: Mon, 11 Mar 2019 11:08:42 -0700 [thread overview]
Message-ID: <87wol59tcl.fsf@jaheira.i-did-not-set--mail-host-address--so-tickle-me> (raw)
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
next reply other threads:[~2019-03-11 18:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-11 18:08 jackkamm [this message]
2019-03-11 18:41 ` bug#34815: 26.1; read-shell-command globally sets comint-input-autoexpand to 'history Eli Zaretskii
2019-03-11 20:52 ` Jack Kamm
2019-03-15 9:16 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wol59tcl.fsf@jaheira.i-did-not-set--mail-host-address--so-tickle-me \
--to=jackkamm@gmail.com \
--cc=34815@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).