From unknown Sat Jun 14 03:55:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#34815: 26.1; read-shell-command globally sets comint-input-autoexpand to 'history Resent-From: jackkamm@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Mar 2019 18:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34815 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 34815@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155232773327086 (code B ref -1); Mon, 11 Mar 2019 18:09:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Mar 2019 18:08:53 +0000 Received: from localhost ([127.0.0.1]:39481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h3PM5-00072m-4S for submit@debbugs.gnu.org; Mon, 11 Mar 2019 14:08:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h3PM3-00072b-J4 for submit@debbugs.gnu.org; Mon, 11 Mar 2019 14:08:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:43499) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h3PLx-000098-FM for submit@debbugs.gnu.org; Mon, 11 Mar 2019 14:08:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3PLw-0006uH-IT for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2019 14:08:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3PLu-00005J-MC for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2019 14:08:44 -0400 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]:40446) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h3PLs-0008Of-Ro for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2019 14:08:41 -0400 Received: by mail-pf1-x42e.google.com with SMTP id h1so4256707pfo.7 for ; Mon, 11 Mar 2019 11:08:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=K41SMDBgQobleb6fK1BLx99scEZD2VET+6Sm75vPyrA=; b=vN9Xw6KYymfGnUHteDm9CfauX/0S+bgzWy2yM8v/8NUSkef6LdtrkpS2/SzoDJ0zuu hI8tPqt4PaxHcYr+tVWAbIMYdhxNfBYQ8BmigLqwQdbCJv6vOw+Hh0MYo2ArPZpMWDAg nntH0tQwPw3a3euCWJkjVuKN3uxsEMQ7C0sKslxSQDfDxFBAhOgGtkC+ESJ3owZqFDWL I+mZwggimfmGVwiB+qwQ5m9T0RnQPMTxn5oZ6Ie3Iws8AdPobrAOEUdtGzq3LEHLc92g y1jqHqRmmYoJWQ6MMn5LUUBJwS2Gzs2UdHrrM/QwMSGrfdvLCUhxZSyVQUcX80czlVX2 BNdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=K41SMDBgQobleb6fK1BLx99scEZD2VET+6Sm75vPyrA=; b=pXQ+mcl9Ub7P6rvgDchTCHrHtQ8NEoQ1hp3tHCgYlJULSMA0jZlyITqNSpHQ9EJYn9 72+E6lffD3KDmAxAEJrxpReKMyw3tmE7ggQpRCCsVKoR5eYMHVRB+1a/OoTuhYgy3Y0m f6Z2b/6PC3jn1dzn29Khb7bMYSDPWw3HRlcbhqeBA0z9Wg7VnB+yloBZxZ7XlZPlwdV3 rzRtA6pCyfOHMfCO/UZMIN9UBXd6BzhKkwSbziRAEBBrxKaoDHlUxO5g7n2ysV9G1/aR g0TvocHbGnP5m2Y+wyu2PUZDYH/Nbev0RYnz6xI1jscD47kcg7+sjl1XfNSwNnLl23IX pPtw== X-Gm-Message-State: APjAAAXVc/x2SabJDotKujm9FYgAz/h5GFggyrYFhkMCkNmiTpYlJksZ NkVKWGTFemPVT4SZ2FCPWDyyfpoM X-Google-Smtp-Source: APXvYqwJS4PTzNpU7RQHoQwjX0HyjSyWhalcmixl07ut52OJDUIBma2ZtyBnu0tmBMbU9ArJfaC2Rg== X-Received: by 2002:a65:5c02:: with SMTP id u2mr24288315pgr.120.1552327712644; Mon, 11 Mar 2019 11:08:32 -0700 (PDT) Received: from localhost (ec2-54-67-108-192.us-west-1.compute.amazonaws.com. [54.67.108.192]) by smtp.gmail.com with ESMTPSA id y9sm8773567pfn.120.2019.03.11.11.08.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Mar 2019 11:08:31 -0700 (PDT) From: jackkamm@gmail.com Date: Mon, 11 Mar 2019 11:08:42 -0700 Message-ID: <87wol59tcl.fsf@jaheira.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::42e X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 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 From unknown Sat Jun 14 03:55:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#34815: 26.1; read-shell-command globally sets comint-input-autoexpand to 'history Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Mar 2019 18:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34815 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: jackkamm@gmail.com Cc: 34815@debbugs.gnu.org Received: via spool by 34815-submit@debbugs.gnu.org id=B34815.155232968230205 (code B ref 34815); Mon, 11 Mar 2019 18:42:02 +0000 Received: (at 34815) by debbugs.gnu.org; 11 Mar 2019 18:41:22 +0000 Received: from localhost ([127.0.0.1]:39495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h3PrW-0007r5-FB for submit@debbugs.gnu.org; Mon, 11 Mar 2019 14:41:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h3PrU-0007qt-JT for 34815@debbugs.gnu.org; Mon, 11 Mar 2019 14:41:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3PrP-0003O1-59; Mon, 11 Mar 2019 14:41:15 -0400 Received: from [176.228.60.248] (port=2434 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h3PrO-0001je-Gw; Mon, 11 Mar 2019 14:41:14 -0400 Date: Mon, 11 Mar 2019 20:41:06 +0200 Message-Id: <83pnqx45kt.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87wol59tcl.fsf@jaheira.i-did-not-set--mail-host-address--so-tickle-me> (jackkamm@gmail.com) References: <87wol59tcl.fsf@jaheira.i-did-not-set--mail-host-address--so-tickle-me> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > 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? From unknown Sat Jun 14 03:55:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#34815: 26.1; read-shell-command globally sets comint-input-autoexpand to 'history Resent-From: Jack Kamm Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Mar 2019 20:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34815 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 34815@debbugs.gnu.org Received: via spool by 34815-submit@debbugs.gnu.org id=B34815.155233753518362 (code B ref 34815); Mon, 11 Mar 2019 20:53:02 +0000 Received: (at 34815) by debbugs.gnu.org; 11 Mar 2019 20:52:15 +0000 Received: from localhost ([127.0.0.1]:39543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h3RuB-0004m5-Eh for submit@debbugs.gnu.org; Mon, 11 Mar 2019 16:52:15 -0400 Received: from mail-pg1-f176.google.com ([209.85.215.176]:43169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h3RuA-0004ls-Gg for 34815@debbugs.gnu.org; Mon, 11 Mar 2019 16:52:15 -0400 Received: by mail-pg1-f176.google.com with SMTP id l11so14750pgq.10 for <34815@debbugs.gnu.org>; Mon, 11 Mar 2019 13:52:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=FbRbsp6xZ+hPbjPNOOA6cG+8NDDAJonqDGBVP8jQnUU=; b=eVdR8WDLoBh5NDbXc1ounrqTfZbgjGhjFVy2Ka4xFDiJkfCAWtCPq6MMYnSogv3epx oahbKXkMLnTrUB8Vim3I9Q3+sRR4E0Zba3TYwGxzhlQIq2kdXcV7tBlyeYIAJYNP1q+E xKvejhWYWufoaI0qjPRpVwGd2NoUZjIK3U1ai/r3MQVtv+Kk7xTI3zbY6OoQRVp15LGl 77VF7rnmiRp+xscnbjiYLOdxVc9O9aCjJzO1LoVxf1B4NVCCeqw1AsXOiBxJpGQX3zcs OecAn8BNcij/0KPpc4Y7u5zaLVdBzFvcA7Dw4eEt2N229wsQgNY9kVCD2LFBAOgfxNL/ 7Diw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=FbRbsp6xZ+hPbjPNOOA6cG+8NDDAJonqDGBVP8jQnUU=; b=eHzljf8txcoTi85xx0m6LSYdcrgKxjn7zKkQ6dtFstduPfFf6fF6KbWart8+Ci+O1L DMYawS0S4S4QxP8gd2VZm6IKEPtHrz5h5tfsDCzh7F9lxKnta39NR/jYyc56NTaFp4Vv 4EEVgpKB2j+xVUmDjsXYDkONRrzeJ01RC1DSBcq46mKMwkfkAkBkMqQ2g6XrYRk/Rq6S wnHKFDuxXp27YX85IP7TdyCnTG4E4R+BGzHJDGVhC2unyzs4+IRml1OSO5NyOyJ9iggQ JwRS6nhwj4ez6Idx+0CF2aONbRdEaTeszUXrCzPk6HoxURumKvEdxnncOh9bcvvwuk8t tg0Q== X-Gm-Message-State: APjAAAVbzlx34KYVG18Vh3jdgDE6QQg/b4SSPNxVw1qp+NYyJpJrgxBn ASVwfghIil5+JmOCfrQ8vrY= X-Google-Smtp-Source: APXvYqzfzPIDuV2QFp2S0e73RLyBw3bRqV0LDx2v78GWPgF7/tSBrqaWeeIij3WdUSHQOH/NzXxIcQ== X-Received: by 2002:a62:e086:: with SMTP id d6mr35076957pfm.247.1552337527712; Mon, 11 Mar 2019 13:52:07 -0700 (PDT) Received: from localhost (ec2-54-67-108-192.us-west-1.compute.amazonaws.com. [54.67.108.192]) by smtp.gmail.com with ESMTPSA id p5sm9169614pfn.154.2019.03.11.13.52.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Mar 2019 13:52:07 -0700 (PDT) From: Jack Kamm In-Reply-To: <83pnqx45kt.fsf@gnu.org> References: <87wol59tcl.fsf@jaheira.i-did-not-set--mail-host-address--so-tickle-me> <83pnqx45kt.fsf@gnu.org> Date: Mon, 11 Mar 2019 13:52:15 -0700 Message-ID: <87tvg99ls0.fsf@jaheira.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Yes, replacing setq with setq-local seems to fix the issue. Eli Zaretskii 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? From unknown Sat Jun 14 03:55:04 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: jackkamm@gmail.com Subject: bug#34815: closed (Re: bug#34815: 26.1; read-shell-command globally sets comint-input-autoexpand to 'history) Message-ID: References: <834l841or7.fsf@gnu.org> <87wol59tcl.fsf@jaheira.i-did-not-set--mail-host-address--so-tickle-me> X-Gnu-PR-Message: they-closed 34815 X-Gnu-PR-Package: emacs Reply-To: 34815@debbugs.gnu.org Date: Fri, 15 Mar 2019 09:17:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1552641422-12015-1" This is a multi-part message in MIME format... ------------=_1552641422-12015-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #34815: 26.1; read-shell-command globally sets comint-input-autoexpand to '= history which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 34815@debbugs.gnu.org. --=20 34815: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D34815 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1552641422-12015-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 34815-done) by debbugs.gnu.org; 15 Mar 2019 09:16:56 +0000 Received: from localhost ([127.0.0.1]:44391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h4ixT-00037T-SI for submit@debbugs.gnu.org; Fri, 15 Mar 2019 05:16:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42027) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h4ixR-00037E-Bb for 34815-done@debbugs.gnu.org; Fri, 15 Mar 2019 05:16:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4ixL-0006yZ-Mf; Fri, 15 Mar 2019 05:16:47 -0400 Received: from [176.228.60.248] (port=2356 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h4ixL-0002AD-27; Fri, 15 Mar 2019 05:16:47 -0400 Date: Fri, 15 Mar 2019 11:16:28 +0200 Message-Id: <834l841or7.fsf@gnu.org> From: Eli Zaretskii To: Jack Kamm In-reply-to: <87tvg99ls0.fsf@jaheira.i-did-not-set--mail-host-address--so-tickle-me> (message from Jack Kamm on Mon, 11 Mar 2019 13:52:15 -0700) Subject: Re: bug#34815: 26.1; read-shell-command globally sets comint-input-autoexpand to 'history References: <87wol59tcl.fsf@jaheira.i-did-not-set--mail-host-address--so-tickle-me> <83pnqx45kt.fsf@gnu.org> <87tvg99ls0.fsf@jaheira.i-did-not-set--mail-host-address--so-tickle-me> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34815-done Cc: 34815-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > From: Jack Kamm > Cc: 34815@debbugs.gnu.org > 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. ------------=_1552641422-12015-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 11 Mar 2019 18:08:53 +0000 Received: from localhost ([127.0.0.1]:39481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h3PM5-00072m-4S for submit@debbugs.gnu.org; Mon, 11 Mar 2019 14:08:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h3PM3-00072b-J4 for submit@debbugs.gnu.org; Mon, 11 Mar 2019 14:08:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:43499) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h3PLx-000098-FM for submit@debbugs.gnu.org; Mon, 11 Mar 2019 14:08:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3PLw-0006uH-IT for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2019 14:08:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3PLu-00005J-MC for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2019 14:08:44 -0400 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]:40446) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h3PLs-0008Of-Ro for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2019 14:08:41 -0400 Received: by mail-pf1-x42e.google.com with SMTP id h1so4256707pfo.7 for ; Mon, 11 Mar 2019 11:08:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=K41SMDBgQobleb6fK1BLx99scEZD2VET+6Sm75vPyrA=; b=vN9Xw6KYymfGnUHteDm9CfauX/0S+bgzWy2yM8v/8NUSkef6LdtrkpS2/SzoDJ0zuu hI8tPqt4PaxHcYr+tVWAbIMYdhxNfBYQ8BmigLqwQdbCJv6vOw+Hh0MYo2ArPZpMWDAg nntH0tQwPw3a3euCWJkjVuKN3uxsEMQ7C0sKslxSQDfDxFBAhOgGtkC+ESJ3owZqFDWL I+mZwggimfmGVwiB+qwQ5m9T0RnQPMTxn5oZ6Ie3Iws8AdPobrAOEUdtGzq3LEHLc92g y1jqHqRmmYoJWQ6MMn5LUUBJwS2Gzs2UdHrrM/QwMSGrfdvLCUhxZSyVQUcX80czlVX2 BNdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=K41SMDBgQobleb6fK1BLx99scEZD2VET+6Sm75vPyrA=; b=pXQ+mcl9Ub7P6rvgDchTCHrHtQ8NEoQ1hp3tHCgYlJULSMA0jZlyITqNSpHQ9EJYn9 72+E6lffD3KDmAxAEJrxpReKMyw3tmE7ggQpRCCsVKoR5eYMHVRB+1a/OoTuhYgy3Y0m f6Z2b/6PC3jn1dzn29Khb7bMYSDPWw3HRlcbhqeBA0z9Wg7VnB+yloBZxZ7XlZPlwdV3 rzRtA6pCyfOHMfCO/UZMIN9UBXd6BzhKkwSbziRAEBBrxKaoDHlUxO5g7n2ysV9G1/aR g0TvocHbGnP5m2Y+wyu2PUZDYH/Nbev0RYnz6xI1jscD47kcg7+sjl1XfNSwNnLl23IX pPtw== X-Gm-Message-State: APjAAAXVc/x2SabJDotKujm9FYgAz/h5GFggyrYFhkMCkNmiTpYlJksZ NkVKWGTFemPVT4SZ2FCPWDyyfpoM X-Google-Smtp-Source: APXvYqwJS4PTzNpU7RQHoQwjX0HyjSyWhalcmixl07ut52OJDUIBma2ZtyBnu0tmBMbU9ArJfaC2Rg== X-Received: by 2002:a65:5c02:: with SMTP id u2mr24288315pgr.120.1552327712644; Mon, 11 Mar 2019 11:08:32 -0700 (PDT) Received: from localhost (ec2-54-67-108-192.us-west-1.compute.amazonaws.com. [54.67.108.192]) by smtp.gmail.com with ESMTPSA id y9sm8773567pfn.120.2019.03.11.11.08.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Mar 2019 11:08:31 -0700 (PDT) From: jackkamm@gmail.com To: bug-gnu-emacs@gnu.org Subject: 26.1; read-shell-command globally sets comint-input-autoexpand to 'history Date: Mon, 11 Mar 2019 11:08:42 -0700 Message-ID: <87wol59tcl.fsf@jaheira.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::42e X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 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 ------------=_1552641422-12015-1--