[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#2989: implement bash's ignoredups
From: |
jidanni |
Subject: |
bug#2989: 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.
- bug#2989: implement bash's ignoredups,
jidanni <=