[gnu.emacs.bug] bug in repeat-matching-complex-command

mark@UUNET.UU.NET (12/07/89)

repeat-matching-complex-command does not put the correct entry into
the command history.  It places a copy of itself into the list.  This
entry is useless, because it takes up and entry in the list, and does
not provide the mechanism for reexecuting the command.

For example: if you place a command into the command history (by
executing it) and then use repeat-matching-complex-command to recall
it, multiple times it will eventually "scroll" out of the command
history list and cannot be re-executed without being re-entered.

This may "Work as Designed", but it is not useful.  The command you
recalled should be what goes into the command history, unless it
matches the previous command in the command history.