GNU bug report logs - #30466
25.3; Eshell: Ignore all duplicates when ignoredups is non-nil

Previous Next

Package: emacs;

Reported by: Pierre Neidhardt <ambrevar <at> gmail.com>

Date: Thu, 15 Feb 2018 14:26:04 UTC

Severity: wishlist

Tags: fixed

Found in version 25.3

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 30466 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 30466 <at> debbugs.gnu.org, Pierre Neidhardt <ambrevar <at> gmail.com>
Subject: Re: bug#30466: 25.3; Eshell: Ignore all duplicates when ignoredups
 is non-nil
Date: Thu, 04 Feb 2021 11:56:14 +0100
Glenn Morris <rgm <at> gnu.org> writes:

>> 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

Sounds useful to me, so I've now added this to Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.