all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jack Kamm <jackkamm@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 34815@debbugs.gnu.org
Subject: bug#34815: 26.1; read-shell-command globally sets comint-input-autoexpand to 'history
Date: Mon, 11 Mar 2019 13:52:15 -0700	[thread overview]
Message-ID: <87tvg99ls0.fsf@jaheira.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <83pnqx45kt.fsf@gnu.org>

Yes, replacing setq with setq-local seems to fix the issue.

Eli Zaretskii <eliz@gnu.org> writes:

>> From: jackkamm@gmail.com
>> Date: Mon, 11 Mar 2019 11:08:42 -0700
>> 
>> 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.
>
> Does it help to replace setq with setq-local in shell-completion-vars
> where it sets the value of comint-input-autoexpand?





  reply	other threads:[~2019-03-11 20:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tvg99ls0.fsf@jaheira.i-did-not-set--mail-host-address--so-tickle-me \
    --to=jackkamm@gmail.com \
    --cc=34815@debbugs.gnu.org \
    --cc=eliz@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 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.