all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: list-command-history
Date: Sun, 13 Aug 2006 22:44:12 -0700	[thread overview]
Message-ID: <MEEKKIABFKKDFJMPIOEBIEANDEAA.drew.adams@oracle.com> (raw)

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	other threads:[~2006-08-14  5:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-14  5:44 Drew Adams [this message]
2006-08-14  8:33 ` list-command-history Masatake YAMATO
2006-08-15 12:40 ` list-command-history Richard Stallman
2007-09-04 21:28 ` list-command-history Drew Adams

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MEEKKIABFKKDFJMPIOEBIEANDEAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.