unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* list-command-history
@ 2006-08-14  5:44 Drew Adams
  2006-08-14  8:33 ` list-command-history Masatake YAMATO
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Drew Adams @ 2006-08-14  5:44 UTC (permalink / 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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: list-command-history
  2006-08-14  5:44 list-command-history Drew Adams
@ 2006-08-14  8:33 ` Masatake YAMATO
  2006-08-15 12:40 ` list-command-history Richard Stallman
  2007-09-04 21:28 ` list-command-history Drew Adams
  2 siblings, 0 replies; 4+ messages in thread
From: Masatake YAMATO @ 2006-08-14  8:33 UTC (permalink / raw)
  Cc: emacs-devel

> 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.

See also M-x electric-command-history.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: list-command-history
  2006-08-14  5:44 list-command-history Drew Adams
  2006-08-14  8:33 ` list-command-history Masatake YAMATO
@ 2006-08-15 12:40 ` Richard Stallman
  2007-09-04 21:28 ` list-command-history Drew Adams
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2006-08-15 12:40 UTC (permalink / raw)
  Cc: emacs-devel

If someone wants to start implementing these ideas,
for installation later after the release, that would be nice.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: list-command-history
  2006-08-14  5:44 list-command-history Drew Adams
  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 ` Drew Adams
  2 siblings, 0 replies; 4+ messages in thread
From: Drew Adams @ 2007-09-04 21:28 UTC (permalink / raw)
  To: Emacs-Devel

This is from a year ago. Richard's reply was this:

> If someone wants to start implementing these ideas,
> for installation later after the release, that would be nice.


-------------
> From: Drew Adams Sent: Sunday, August 13, 2006 10:44 PM
> 
> 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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-09-04 21:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-14  5:44 list-command-history Drew Adams
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

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).