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

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

Re: Indenting paragraphs manually


From: Dani Moncayo
Subject: Re: Indenting paragraphs manually
Date: Mon, 7 Mar 2011 08:32:19 +0100

On Mon, Mar 7, 2011 at 06:04, Le Wang <address@hidden> wrote:
> On Sun, Mar 6, 2011 at 7:47 PM, Dani Moncayo <address@hidden> wrote:
>>
>> Yes, I know that way of indenting several lines, but IMO it's too
>> laborious. I'd like to have a more agile way.
>
>  My comment about cua-mode rectangles seems to have gottel lost in the
> shuffle.   IMO, this is the "agile" way to get exactly what you want.
> 1. evaluate (assuming you want no part of cua bindings)
>
> (setq cua-enable-cua-keys 'emacs)
>   ;; <kp-enter> rotates around the rectangle corners, if "RET" gets
> overriden
> (cua-selection-mode 1)
>
> 2. select region you want, press C-enter, and your selection becomes a
> rectangle.   If the point isn't on the left side of the rectangle, press
> Enter until it moves there.
> 3. press Tab, space, backspace, whatever to change the indentation.  cua-mod
> rectangle remains selected.
> --
> Le
>

Sorry for missing your advice, Le.

Indeed your way works and it's ease to use.

Anyway, It seems that the behavior of <TAB> is broken in the trunk,
and also in Emacs 23, so that when that is fixed, we'll be able to
indent paragraphs (in text mode), the way I was expecting (and is
documented).

Thanks for your advice!

-- 
Dani Moncayo



reply via email to

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