From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jack Kamm Newsgroups: gmane.emacs.bugs Subject: bug#34815: 26.1; read-shell-command globally sets comint-input-autoexpand to 'history Date: Mon, 11 Mar 2019 13:52:15 -0700 Message-ID: <87tvg99ls0.fsf@jaheira.i-did-not-set--mail-host-address--so-tickle-me> References: <87wol59tcl.fsf@jaheira.i-did-not-set--mail-host-address--so-tickle-me> <83pnqx45kt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="263850"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34815@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 11 22:09:32 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 1h3SAt-0016Wg-Cq for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Mar 2019 22:09:31 +0100 Original-Received: from localhost ([127.0.0.1]:40403 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3SAs-0002e2-BQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Mar 2019 17:09:30 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3S9L-0001GJ-K5 for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2019 17:07:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3Rux-0006N8-Qo for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2019 16:53:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54232) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h3Ruw-0006Ml-Gv for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2019 16:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h3Ruw-0004n9-Bp for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2019 16:53:02 -0400 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 34815-submit@debbugs.gnu.org id=B34815.155233753518362 (code B ref 34815); Mon, 11 Mar 2019 20:53:02 +0000 Original-Received: (at 34815) by debbugs.gnu.org; 11 Mar 2019 20:52:15 +0000 Original-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 Original-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 Original-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) 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 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) In-Reply-To: <83pnqx45kt.fsf@gnu.org> 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:156249 Archived-At: 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?