From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Le Wang Newsgroups: gmane.emacs.help Subject: Re: Indenting paragraphs manually Date: Sun, 6 Mar 2011 10:29:28 +0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf3054aa4ffb7087049dc72503 X-Trace: dough.gmane.org 1299378601 13326 80.91.229.12 (6 Mar 2011 02:30:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Mar 2011 02:30:01 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 06 03:29:57 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pw3jI-0006HW-P5 for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Mar 2011 03:29:57 +0100 Original-Received: from localhost ([127.0.0.1]:54135 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pw3jI-0001cw-0Y for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Mar 2011 21:29:56 -0500 Original-Received: from [140.186.70.92] (port=56449 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pw3is-0001bv-31 for Help-gnu-emacs@gnu.org; Sat, 05 Mar 2011 21:29:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pw3ir-0000d9-0j for Help-gnu-emacs@gnu.org; Sat, 05 Mar 2011 21:29:29 -0500 Original-Received: from mail-vx0-f169.google.com ([209.85.220.169]:48122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pw3iq-0000d5-RG for Help-gnu-emacs@gnu.org; Sat, 05 Mar 2011 21:29:28 -0500 Original-Received: by vxc38 with SMTP id 38so3725868vxc.0 for ; Sat, 05 Mar 2011 18:29:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=PX+dkqIYasdl7a6EuAeGiZHQuSyvYXKEDw0kqT5U/dw=; b=vF5p1QxfKVRD+lN5IhZAmzRvlNuI08mzaer3l8UmOGqmsz/3fpkAZEh38pB7oYAsOf S6zzRZ2FwjhlLCt5a5AJNMJ89lkDSYEGf/chY6e9V0y5TlvWnrs8ToQhSjwTY4BsR0r1 SqFJc50yaJDH95CP+ZB3/N5ZBytVLmor7N0t4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=QcF6Z97hknfZmayGVSD8AZrhwFkXZBkRjPyECN8arvHr90pjU4ynFBJW4lqNWW/Pxj DJ3e2M19jNNSR7eNpbbbfgOehr6lhHwVVs8qvNeZc4F4kyt9WzaTx167xJjPV6b8cjW/ VFciwuYI9i86MqsFMAHgVgWr6YMl4q9iMnf+o= Original-Received: by 10.52.0.76 with SMTP id 12mr3298121vdc.210.1299378568130; Sat, 05 Mar 2011 18:29:28 -0800 (PST) Original-Received: by 10.52.158.193 with HTTP; Sat, 5 Mar 2011 18:29:28 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.220.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:79811 Archived-At: --20cf3054aa4ffb7087049dc72503 Content-Type: text/plain; charset=ISO-8859-1 On Sun, Mar 6, 2011 at 7:28 AM, PJ Weisberg wrote: > On Fri, Mar 4, 2011 at 3:17 PM, Dani Moncayo 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 --20cf3054aa4ffb7087049dc72503 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Sun, Mar 6, 2011 at 7:28 AM, PJ Weisberg <pj@irregul= arexpressions.net> wrote:
On Fri, Mar 4, 2011 at 3:17 PM, Dani Moncayo <dmoncayo@gmail.com> wrote:

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


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

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

> =A0- The region is deactivated.

<= div>
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 fu= nction call around a (let (deactivate-mark) ...)
=A0
It certainly does seem like a bug to me. =A0I would go ah= ead and report
it with M-x report-emacs-bug.

-PJ


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


--
Le
--20cf3054aa4ffb7087049dc72503--