bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: emacs lacks ed's "c"


From: Kai Großjohann
Subject: Re: emacs lacks ed's "c"
Date: Mon, 23 Dec 2002 19:06:59 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

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

> Could it be that emacs does not implement a basic ed(1) command, "c",
> for changing text, i.e. emacs seems to have no way, with just one
> command, to exchange the current region with the contents of the kill
> buffer.

FWIW, I think `c' requires you to type in the new text.  So after
marking the region, you might as well type C-w, then type the new
text :-)

> Not that anybody needed it of course but aren't you going to keep up
> with the Joneses?

Whee.  Of course, there is always M-x viper RET...

Hm.  Indeed, it seems that there is no easy way to do what you are
asking for.  Hm.  One would have to type C-w C-y M-y.  Luckily, it's
easy to make a kbd macro that does this.

-- 
~/.signature is: umop ap!sdn    (Frank Nobis)



reply via email to

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