emacs-devel
[Top][All Lists]
Advanced

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

list-command-history


From: Drew Adams
Subject: list-command-history
Date: Sun, 13 Aug 2006 22:44:12 -0700

I just came across command `list-command-history' in the Emacs manual. I
probably knew of it years ago, but I don't think I ever used it. I gave it a
try. Seems like it could be useful to some people, if it were spruced up
just a bit. But I might be missing something - perhaps someone who uses it
can comment on how it's used.

Here are some comments, from an ignorant quick tour:

1. `q' should perhaps quit (a la View-quit).

2. `x' executes the current line again, but I didn't find a command
(binding) that would yank the current line into the minibuffer as input for
`repeat-complex-command', without entering it. That is, it seems like there
should be a way to reuse the current line after editing it.

3. `C-h m' and the description in the Emacs manual are skimpy. I couldn't
figure out why some of the bindings exist. What are the use cases for the
TAB and `C-M-q' bindings - why would someone want to indent stuff here
(especially since you can't use `C-j' as `newline-and-indent - and
especially since the buffer is read-only)? And what is the `<remap>'
binding - what is it for, and how does one use it?

4. There should be quick ways to a) remove duplicates and b) sort lines (and
then put back the read-only status). The sort could be reversable - that is,
the original order could be saved, and sorting toggled. Likewise, perhaps,
for duplicates.

Some such enhancements would be trivial. #2 seems the most useful.

WDOT? Does anyone use this now?





reply via email to

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