emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#34815: closed (26.1; read-shell-command globally s


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#34815: closed (26.1; read-shell-command globally sets comint-input-autoexpand to 'history)
Date: Fri, 15 Mar 2019 09:17:01 +0000

Your message dated Fri, 15 Mar 2019 11:16:28 +0200
with message-id <address@hidden>
and subject line Re: bug#34815: 26.1; read-shell-command globally sets 
comint-input-autoexpand to 'history
has caused the debbugs.gnu.org bug report #34815,
regarding 26.1; read-shell-command globally sets comint-input-autoexpand to 
'history
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
34815: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=34815
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 26.1; read-shell-command globally sets comint-input-autoexpand to 'history 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.

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



--- End Message ---
--- Begin Message --- Subject: Re: bug#34815: 26.1; read-shell-command globally sets comint-input-autoexpand to 'history Date: Fri, 15 Mar 2019 11:16:28 +0200
> From: Jack Kamm <address@hidden>
> Cc: address@hidden
> Date: Mon, 11 Mar 2019 13:52:15 -0700
> 
> Yes, replacing setq with setq-local seems to fix the issue.

Thanks, I installed such a change on the emacs-26 branch.


--- End Message ---

reply via email to

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