[Top][All Lists]

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

Re: Adding String to Beginning of Lines

From: H. Dieter Wilhelm
Subject: Re: Adding String to Beginning of Lines
Date: Tue, 10 Nov 2020 19:47:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Michael Heerdegen <> writes:

> Christopher Dimech <> writes:
>> I have a paragraph and want to add a string to the beginning of each
>> line after selecting the paragraph region.
> Alternatively, you can use `string-rectangle' when you select an
> appropriate rectangle (of width zero in this case) instead of the
> paragraph.

Excellent suggestion, in short: Select a region and C-x r t

and you're even getting visual feedback what is replaced ! :-)


Best wishes
H. Dieter Wilhelm
Zwingenberg, Germany

reply via email to

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