From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: jackkamm@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#34815: 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 Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="4471"; mail-complaints-to="usenet@blaine.gmane.org" To: 34815@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 11 19:20:34 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h3PXO-000156-4R for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Mar 2019 19:20:34 +0100 Original-Received: from localhost ([127.0.0.1]:38198 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3PXN-0006yc-3C for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Mar 2019 14:20:33 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3PMF-00078r-O4 for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2019 14:09:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3PMF-0000St-1C for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2019 14:09:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54170) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h3PME-0000Si-RW for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2019 14:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h3PME-00073C-E9 for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2019 14:09:02 -0400 X-Loop: help-debbugs@gnu.org 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-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.155232773327086 (code B ref -1); Mon, 11 Mar 2019 18:09:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Mar 2019 18:08:53 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:156243 Archived-At: 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