From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29080: 25.3; dired-x does not update `shell-command-history' Date: Tue, 31 Oct 2017 22:24:56 +0200 Message-ID: <83tvyfrron.fsf@gnu.org> References: <6AFF2005-3B59-4CAB-8E35-A9BFDD9A3259@nasa.gov> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1509481583 16743 195.159.176.226 (31 Oct 2017 20:26:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 31 Oct 2017 20:26:23 +0000 (UTC) Cc: 29080@debbugs.gnu.org To: "Matz\, Daniel A. \(JSC-EG511\)" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 31 21:26:19 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9d6p-0002kc-RP for geb-bug-gnu-emacs@m.gmane.org; Tue, 31 Oct 2017 21:26:03 +0100 Original-Received: from localhost ([::1]:47263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9d6x-00065l-9w for geb-bug-gnu-emacs@m.gmane.org; Tue, 31 Oct 2017 16:26:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9d6r-00065V-79 for bug-gnu-emacs@gnu.org; Tue, 31 Oct 2017 16:26:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9d6o-0001We-2z for bug-gnu-emacs@gnu.org; Tue, 31 Oct 2017 16:26:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35943) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e9d6n-0001WQ-Vm for bug-gnu-emacs@gnu.org; Tue, 31 Oct 2017 16:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e9d6n-0005yi-Lz for bug-gnu-emacs@gnu.org; Tue, 31 Oct 2017 16:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Oct 2017 20:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29080 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29080-submit@debbugs.gnu.org id=B29080.150948151822908 (code B ref 29080); Tue, 31 Oct 2017 20:26:01 +0000 Original-Received: (at 29080) by debbugs.gnu.org; 31 Oct 2017 20:25:18 +0000 Original-Received: from localhost ([127.0.0.1]:44621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9d66-0005xQ-3f for submit@debbugs.gnu.org; Tue, 31 Oct 2017 16:25:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9d64-0005xD-Eo for 29080@debbugs.gnu.org; Tue, 31 Oct 2017 16:25:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9d5w-0000uS-9a for 29080@debbugs.gnu.org; Tue, 31 Oct 2017 16:25:11 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9d5w-0000uK-5v; Tue, 31 Oct 2017 16:25:08 -0400 Original-Received: from [176.228.60.248] (port=1472 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e9d5v-0001Zo-K1; Tue, 31 Oct 2017 16:25:08 -0400 In-reply-to: <6AFF2005-3B59-4CAB-8E35-A9BFDD9A3259@nasa.gov> (daniel.a.matz@nasa.gov) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 208.118.235.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:139281 Archived-At: > From: "Matz, Daniel A. (JSC-EG511)" > Date: Tue, 31 Oct 2017 15:39:55 +0000 > > After starting emacs with -Q, if I open a dired buffer, use M-! to run a shell command, then use ! to run a shell command on a dired entry, and then look at the contents of `shell-command-history’, I’ll see both commands. But then if I (require 'dired-x), run a shell command with M-!, and then another with !, the command I ran with ! on a dired entry does not show up in `shell-command-history’. It's a feature: after loading dired-x, M-! runs a different command (dired-smart-shell-command), which stores its history in a different variable (dired-shell-command-history).