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