[mew-int 01831] Re: better indent-region wanted
Patrick Percot
ppercot at example.com
Thu Jul 1 22:41:23 JST 2004
On Wed, 09 Jun 2004 06:46:38 +0200 (CEST), Werner LEMBERG <wl at example.com> wrote
> [mew CVS 2004-04-16]
> [emacs CVS 2004-05-30]
>
> If I apply indent-region to this:
>
> foo
>
> bar
>
> baz
>
> I get this:
>
> > foo
>
> > bar
>
> > baz
>
> but I want this:
>
> > foo
> >
> > bar
> >
> > baz
>
> The documentation of comment-region says this:
>
> Comment or uncomment each line in the region.
Better late than never ;)
You can use the function string-rectangle to get this result. This
function can insert any text, it needs a region to be defined and is
mapped to C-x r t
À+
PP
--
Groupe Morbihannais d'Utilisateurs de Logiciels Libres http://www.tuxbihan.org
Identifiant Jabber: pp at example.com
GPG fingerprint = 1A4F E154 3D2C A20E E4CA A543 7951 C5C2 E44A A0B5
Patrick Percot.
More information about the Mew-int
mailing list