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

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

bug#2989: marked as done (history-delete-duplicates does not apply to c


From: Emacs bug Tracking System
Subject: bug#2989: marked as done (history-delete-duplicates does not apply to command history)
Date: Wed, 15 Apr 2009 00:20:04 +0000

Your message dated Tue, 14 Apr 2009 17:09:54 -0700 (PDT)
with message-id <200904150009.n3F09sos005185@godzilla.ics.uci.edu>
and subject line Re: bug#2989: history-delete-duplicates does not apply to 
command history
has caused the Emacs bug report #2989,
regarding history-delete-duplicates does not apply to command history
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: history-delete-duplicates does not apply to command history Date: Tue, 14 Apr 2009 17:09:54 -0700 (PDT)
Stefan Monnier <monnier@iro.umontreal.ca> writes:

  > >> > You probably want to open another bug saying that
  > >> I'll just hopefully hereby reopen and retitle this one.
  > >> > history-delete-duplicates does not apply to command history.
  > >> (OK, but not sure you don't want two independent variables...)
  > >> > You can try this (not even compile tested) patch:
  > >> > --- callint.c.~1.172.~ Tue Mar 31 16:28:30 2009
  > >> (Please test for me, I don't own a c-compiler here :-) )
  > 
  > > The patch needed an extra declaration to compile, and it seems to work 
fine.
  > 
  > > I am not sure if it's acceptable to check in such a change at this point
  > > in the release process.
  > 
  > Yes, it's fine, thank you, please install it.

Done.


--- End Message ---

reply via email to

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