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

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

Re: Indenting paragraphs manually


From: Le Wang
Subject: Re: Indenting paragraphs manually
Date: Sun, 6 Mar 2011 10:29:28 +0800

On Sun, Mar 6, 2011 at 7:28 AM, PJ Weisberg <pj@irregularexpressions.net> wrote:
On Fri, Mar 4, 2011 at 3:17 PM, Dani Moncayo <dmoncayo@gmail.com> wrote:

> What I was expecting:
>  - The selected lines move to the next tab-stop.



>  - The region remains active, so that I can repeat the indentation
> several times in a row.

 
> What I see:
>  - The selected lines are not not moved at all.
 
This part does look like a bug.  

>  - The region is deactivated.

If the bug didn't exist, the region would still be deactivated as a part of the command loop because you've modified the buffer.

You can keep the region active by wrapping the function call around a (let (deactivate-mark) ...)
 
It certainly does seem like a bug to me.  I would go ahead and report
it with M-x report-emacs-bug.

-PJ


Yes, file the bug report.  In the mean time, as a work-around, cua-mode rectangles do exactly what you want.


--
Le

reply via email to

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