bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#2989: marked as done (implement bash's ignoredups)


From: Emacs bug Tracking System
Subject: bug#2989: marked as done (implement bash's ignoredups)
Date: Tue, 14 Apr 2009 01:30:03 +0000

Your message dated Mon, 13 Apr 2009 18:20:38 -0700 (PDT)
with message-id <200904140120.n3E1Kbm2006695@godzilla.ics.uci.edu>
and subject line Re: bug#2989: implement bash's ignoredups
has caused the Emacs bug report #2989,
regarding implement bash's ignoredups
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
2989: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2989
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
--- Begin Message --- Subject: implement bash's ignoredups Date: Tue, 14 Apr 2009 08:00:17 +0800
M-p (translated from <escape> p) runs the command previous-history-element

Which gets rather frustrating when one runs into a long patch of the
same command, e.g.,

(compile "make" nil)
(compile "make" nil)
(compile "make" nil)

That's because emacs hasn't implement bash's ignoredups:

       HISTCONTROL

              ...value of
              ignoredups causes lines matching the previous history
              entry to not be saved...A value of erasedups
              causes all previous lines matching the current line to be
              removed from the history list before that line is saved.

Note I'm not talking about the *shell* buffer, but instead
repeat-complex-command's previous-history-element etc.




--- End Message ---
--- Begin Message --- Subject: Re: bug#2989: implement bash's ignoredups Date: Mon, 13 Apr 2009 18:20:38 -0700 (PDT)
jidanni@jidanni.org writes:

  > M-p (translated from <escape> p) runs the command previous-history-element
  > 
  > Which gets rather frustrating when one runs into a long patch of the
  > same command, e.g.,
  > 
  > (compile "make" nil)
  > (compile "make" nil)
  > (compile "make" nil)
  > 
  > That's because emacs hasn't implement bash's ignoredups:
  > 
  >        HISTCONTROL
  > 
  >               ...value of
  >               ignoredups causes lines matching the previous history
  >               entry to not be saved...A value of erasedups
  >               causes all previous lines matching the current line to be
  >               removed from the history list before that line is saved.
  > 
  > Note I'm not talking about the *shell* buffer, but instead
  > repeat-complex-command's previous-history-element etc.

emacs/etc/NEWS.22
*** New user option `history-delete-duplicates'.
If set to t when adding a new history element, all previous identical
elements are deleted from the history list.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]