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

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

Re: previous-history-element could skip repeats


From: Kim F. Storm
Subject: Re: previous-history-element could skip repeats
Date: 17 Jan 2002 10:57:06 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

address@hidden (Dan Jacobson) writes:

> "ESC p runs the command previous-history-element" OK, but might it be
> smart to skip the previous history element if it is the same as the
> current history element, as a new option on by default.
> 
> For instance, I did 20 M-x compile's in a row.  Now after hitting C-x
> ESC ESC I would need 20 ESC p's to get past all that to reach
> something interesting.

Why put repeated commands in the command history in the first place?

Or even better: if you repeat a command which is already somewhere on
the command history, *move* it rather than *add* it to the front of
the history.  (this would be a generic feature for all history lists).

-- 
Kim F. Storm  http://www.cua.dk



reply via email to

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