From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#30466: 25.3; Eshell: Ignore all duplicates when ignoredups is non-nil Date: Thu, 15 Feb 2018 12:24:09 -0500 Message-ID: <4qpo56p3nq.fsf@fencepost.gnu.org> References: <87606ywcs5.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1518715417 14133 195.159.176.226 (15 Feb 2018 17:23:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Feb 2018 17:23:37 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: 30466@debbugs.gnu.org To: Pierre Neidhardt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 15 18:23:33 2018 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 1emNFR-0001ra-5u for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Feb 2018 18:23:05 +0100 Original-Received: from localhost ([::1]:41728 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emNHT-00081T-8W for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Feb 2018 12:25:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emNHL-0007zi-Ed for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2018 12:25:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emNHK-00018Q-LR for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2018 12:25:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37153) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1emNHK-00018A-HR for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2018 12:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1emNHK-0002M6-CL for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2018 12:25:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Feb 2018 17:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30466 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30466-submit@debbugs.gnu.org id=B30466.15187154608995 (code B ref 30466); Thu, 15 Feb 2018 17:25:02 +0000 Original-Received: (at 30466) by debbugs.gnu.org; 15 Feb 2018 17:24:20 +0000 Original-Received: from localhost ([127.0.0.1]:45050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emNGe-0002L1-Aa for submit@debbugs.gnu.org; Thu, 15 Feb 2018 12:24:20 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emNGc-0002Ko-HD for 30466@debbugs.gnu.org; Thu, 15 Feb 2018 12:24:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emNGW-0000jD-Mg for 30466@debbugs.gnu.org; Thu, 15 Feb 2018 12:24:13 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35267) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emNGU-0000ig-N7; Thu, 15 Feb 2018 12:24:10 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1emNGU-0003WD-0E; Thu, 15 Feb 2018 12:24:10 -0500 X-Spook: Becker Smart Tornado Pakistan import Delays Plague Comirex X-Ran: 1w/qfbxv*h7>~'t>;:lg[|:sC"{y(a`Hr$a?~4m^G8!e/"Lz/RVL>Kt}nvvfz\qs}y{L{x X-Hue: yellow X-Attribution: GM In-Reply-To: <87606ywcs5.fsf@gmail.com> (Pierre Neidhardt's message of "Thu, 15 Feb 2018 15:25:14 +0100") 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:143318 Archived-At: Pierre Neidhardt wrote: > This does not prevent Eshell from cluttering the history with the same > commands as long as they are not consecutive (e.g. A, B, A, B...). > > I find more useful to always remove the duplicate entry back to the > first position. It makes the history much lighter and much easier to > browse/filter. In terms of bash HISTCONTROL, this is the difference between "ignoredups" and "erasedups". Ref eg https://www.gnu.org/s/bash/manual/html_node/Bash-Variables.html#index-HISTCONTROL