From: jidanni@jidanni.org
To: bug-gnu-emacs@gnu.org
Subject: bug#2989: implement bash's ignoredups
Date: Tue, 14 Apr 2009 08:00:17 +0800 [thread overview]
Message-ID: <87d4bgt88e.fsf@jidanni.org> (raw)
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.
next reply other threads:[~2009-04-14 0:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200904140120.n3E1Kbm2006695@godzilla.ics.uci.edu>
2009-04-14 0:00 ` jidanni [this message]
2009-04-14 1:30 ` bug#2989: marked as done (implement bash's ignoredups) Emacs bug Tracking System
2009-04-15 0:20 ` bug#2989: marked as done (history-delete-duplicates does not apply to command history) Emacs bug Tracking System
2009-04-14 1:33 ` bug#2989: implement bash's ignoredups jidanni
2009-04-14 2:01 ` Dan Nicolaescu
2009-04-14 2:07 ` bug#2989: history-delete-duplicates does not apply to command history jidanni
2009-04-14 2:15 ` Processed: " Emacs bug Tracking System
2009-04-14 5:33 ` bug#2989: " Dan Nicolaescu
2009-04-14 13:04 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d4bgt88e.fsf@jidanni.org \
--to=jidanni@jidanni.org \
--cc=2989@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).