emacs-devel
[Top][All Lists]
Advanced

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

Re: prefix-region


From: Hrvoje Niksic
Subject: Re: prefix-region
Date: Tue, 25 Oct 2005 23:24:31 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Andreas Schwab <address@hidden> writes:

>> Prefixing a region with an arbitrary string.  It comes up a lot.
>
> I have yet to find a situation where string-rectangle did not suit
> my needs.  YMMV, of course.

No one is claiming that prefix-region can do something that
string-rectangle cannot do if you are careful enough.  I do claim that
prefix-region is much more convenient to use because you don't need to
adjust region endpoints to beginning of line.

prefix-region is also more easily discovered by someone trying to,
well, prefix a region...  Before discovering it I used to do things
like `C-u M-| sed 's/^/PREFIX/'.




reply via email to

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