From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dave Love Newsgroups: gmane.emacs.devel Subject: Re: python-mode: keep mark when shifting [patch] Date: Fri, 10 Mar 2006 15:17:47 +0000 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142108050 4489 80.91.229.2 (11 Mar 2006 20:14:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Mar 2006 20:14:10 +0000 (UTC) Cc: Emacs-Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 11 21:14:08 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FIATR-0008UR-MP for ged-emacs-devel@m.gmane.org; Sat, 11 Mar 2006 21:14:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIATQ-0000Dy-Tk for ged-emacs-devel@m.gmane.org; Sat, 11 Mar 2006 15:14:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FHkQq-0007rX-DW for emacs-devel@gnu.org; Fri, 10 Mar 2006 11:25:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FHkQm-0007oe-A7 for emacs-devel@gnu.org; Fri, 10 Mar 2006 11:25:35 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FHk6o-00025E-Hp for emacs-devel@gnu.org; Fri, 10 Mar 2006 11:04:55 -0500 Original-Received: from [217.158.120.143] (helo=mail.ukfsn.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FHjQa-00031p-ET for emacs-devel@gnu.org; Fri, 10 Mar 2006 10:21:16 -0500 Original-Received: from localhost (84-45-211-153.no-dns-yet.enta.net [84.45.211.153]) by mail.ukfsn.org (Postfix) with ESMTP id C9911E7045; Fri, 10 Mar 2006 15:17:46 +0000 (GMT) Original-Received: from fx by localhost with local (Exim 4.52) id 1FHjND-0006MG-Su; Fri, 10 Mar 2006 15:17:47 +0000 Original-To: David Reitter X-Draft-From: ("nndoc:nnml:Misc-104" 1) In-Reply-To: David Reitter's message of "09-Mar-2006 18:31" User-Agent: Gnus/5.11 (Gnus v5.11) X-Mailman-Approved-At: Sat, 11 Mar 2006 04:37:28 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:51477 Archived-At: David Reitter writes: > The patch below fixed a behavior of python-mode that I've found > somewhat annoying: it deactivates the mark whenever you do C-c < or C- > c > to shift a block to the left or right. Because one commonly needs > to do this several times in a row (checking visually in between), > it's very unhelpful if the mark gets deactivated. I don't have an opinion on the behaviour, and it probably wouldn't be relevant anyway, but if anything changes it should be `indent-rigidly', which python-shift-... uses.