From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#16438: 24.3.50; `C-x TAB right right' fails with error (mark-inactive) Date: Fri, 17 Jan 2014 10:08:24 +0200 Organization: JURTA Message-ID: <87a9ev58u6.fsf@mail.jurta.org> References: <87txd756b4.fsf@mail.jurta.org> <87sisp64cw.fsf@mail.jurta.org> <87fvopcfdn.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1389946215 28115 80.91.229.3 (17 Jan 2014 08:10:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Jan 2014 08:10:15 +0000 (UTC) Cc: 16438@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 17 09:10:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W44VQ-0006ce-GR for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Jan 2014 09:10:20 +0100 Original-Received: from localhost ([::1]:36745 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W44VP-0002op-OK for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Jan 2014 03:10:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W44VF-0002mD-Oi for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 03:10:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W44V9-0001zS-Lx for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 03:10:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W44V9-0001yj-Bd for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 03:10:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W44V8-0002RW-U1 for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2014 03:10:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Jan 2014 08:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16438 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16438-submit@debbugs.gnu.org id=B16438.13899461499308 (code B ref 16438); Fri, 17 Jan 2014 08:10:02 +0000 Original-Received: (at 16438) by debbugs.gnu.org; 17 Jan 2014 08:09:09 +0000 Original-Received: from localhost ([127.0.0.1]:54377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W44UG-0002Q3-FI for submit@debbugs.gnu.org; Fri, 17 Jan 2014 03:09:08 -0500 Original-Received: from [69.163.184.122] (port=44382 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W44UD-0002Pr-Qx for 16438@debbugs.gnu.org; Fri, 17 Jan 2014 03:09:06 -0500 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.184.122]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 05C3B301DB32E6; Fri, 17 Jan 2014 00:09:04 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Thu, 16 Jan 2014 09:00:41 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:83630 Archived-At: > - But should the region be highlighted *during* C-x TAB? When the user selects a region, this indicates the intention to run the next command on the selected region. So when a command is going to operate on the region the user should have the clear indication beforehand to avoid surprises. Highlighting the region in transient indentation mode is especially important since this is a new feature, and without highlighting an unsuspecting user don't know that a subsequent `right' will operate on the previously selected region. For the same reason I think the exit condition should not deactivate the active region because the highlighting indicates that the next command is operating on the region. The same problem with exiting the transient indentation mode happens when the user needs to type the `right' key to move point without indentation. Then the user has to exit the sub-mode explicitly by typing e.g. C-g. It will also deselect the region.