unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* repeat vs. zap-to-char
@ 2003-04-30  2:02 Dan Jacobson
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Jacobson @ 2003-04-30  2:02 UTC (permalink / raw)


There I was, all dressed in festive gear like rappers EPMD in their
"please listen to my demo" song, all ready to use:
C-x z runs the command repeat
to repeat
ESC z runs the command zap-to-char
when my luck ran out as one has to tell it again and again to zap the
same character.  Anyway, as the Morris the Cat commercial said, "Big
expectations, big let down."
Yes, repeat takes an argument, but still...
-- 
http://jidanni.org/ Taiwan(04)25854780

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

* Re: repeat vs. zap-to-char
       [not found] <mailman.5387.1051676511.21513.bug-gnu-emacs@gnu.org>
@ 2003-04-30  6:33 ` Johan Bockgård
  2003-04-30 23:31   ` Dan Jacobson
  0 siblings, 1 reply; 3+ messages in thread
From: Johan Bockgård @ 2003-04-30  6:33 UTC (permalink / raw)


Dan Jacobson <jidanni@dman.ddts.net> writes:


> C-x z runs the command repeat
> to repeat
> ESC z runs the command zap-to-char
> when my luck ran out as one has to tell it again and again to zap the
> same character.
[...]
> Yes, repeat takes an argument, but still...

C-x ESC ESC runs the command repeat-complex-command

Edit and re-evaluate last complex command, or ARGth from last.
A complex command is one which used the minibuffer. [...]


-- 
The day Microsoft makes something that doesn't suck is probably the
day they start making vacuum cleaners. -- Ernst Jan Plugge

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

* Re: repeat vs. zap-to-char
  2003-04-30  6:33 ` Johan Bockgård
@ 2003-04-30 23:31   ` Dan Jacobson
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Jacobson @ 2003-04-30 23:31 UTC (permalink / raw)


My point was that the dream of the ease of using C-x z z z z... fades
when meeting zap-to-char.  Your proposal of using

J> C-x ESC ESC runs the command repeat-complex-command

means C-x ESC ESC RET would have be typed each repetition, 4 vs. 1
keys for each repetition, if we were able to use repeat to ... hold on
a second... of course: a a a a a a a a a a a a a C-a <escape> z a C-x
<escape> <escape> <return> C-x z z z z z z z z z z z OK, never mind.
However maybe the documentation to the "repeat" command should mention
this technique to handle cases like zap-to-char.
-- 
http://jidanni.org/ Taiwan(04)25854780

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

end of thread, other threads:[~2003-04-30 23:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-30  2:02 repeat vs. zap-to-char Dan Jacobson
     [not found] <mailman.5387.1051676511.21513.bug-gnu-emacs@gnu.org>
2003-04-30  6:33 ` Johan Bockgård
2003-04-30 23:31   ` Dan Jacobson

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