From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Move selection up, down Date: Tue, 19 Aug 2008 16:40:10 -0700 Message-ID: <00b901c90254$ec15a640$0200a8c0@us.oracle.com> References: <1422fa24-05d5-436b-82e2-b436af0a00a3@m3g2000hsc.googlegroups.com><48AB3F8C.4020703@gmail.com><00b201c9024b$54d92710$0200a8c0@us.oracle.com> <48AB5019.1090608@gmail.com> <00b801c90252$5c847c10$0200a8c0@us.oracle.com> <48AB578C.8060407@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1219189298 23493 80.91.229.12 (19 Aug 2008 23:41:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Aug 2008 23:41:38 +0000 (UTC) Cc: jiri.pejchal@gmail.com, 'Emacs Devel' To: "'Lennart Borgman \(gmail\)'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 20 01:42:30 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KVaqL-0000Qk-59 for ged-emacs-devel@m.gmane.org; Wed, 20 Aug 2008 01:42:29 +0200 Original-Received: from localhost ([127.0.0.1]:35749 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVapN-0008B5-0m for ged-emacs-devel@m.gmane.org; Tue, 19 Aug 2008 19:41:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KVaop-0007Wq-LA for emacs-devel@gnu.org; Tue, 19 Aug 2008 19:40:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KVaok-0007Pj-NJ for emacs-devel@gnu.org; Tue, 19 Aug 2008 19:40:55 -0400 Original-Received: from [199.232.76.173] (port=53425 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVaok-0007PQ-I7 for emacs-devel@gnu.org; Tue, 19 Aug 2008 19:40:50 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]:19585) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KVaoj-0000tn-3l for emacs-devel@gnu.org; Tue, 19 Aug 2008 19:40:49 -0400 Original-Received: from rgmgw1.us.oracle.com (rgmgw1.us.oracle.com [138.1.186.110]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m7JNedVl003435; Tue, 19 Aug 2008 17:40:39 -0600 Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by rgmgw1.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with ESMTP id m7JFK0sH025239; Tue, 19 Aug 2008 17:40:35 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt357.oracle.com with ESMTP id 11576580741219189166; Tue, 19 Aug 2008 18:39:26 -0500 Original-Received: from dradamslap1 (/141.144.102.127) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 19 Aug 2008 16:39:26 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AckCU94wHdJ7tn68TweVdXHk0eSInwAAFqjw In-Reply-To: <48AB578C.8060407@gmail.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:102695 Archived-At: > >>> What will you do with `transpose-word', for instance, when > >>> there is an active region? I don't follow the suggestion. > >>> How about some examples? > >> Move the next or previous word (depending on which side of > >> the region you are on) to the other side of the region. > >> Is not that a natural > >> extension? > > > > Dunno. I would expect it instead to swap the region and the > > next or previous word, leaving the separator chars between > > them. `transpose-word' recognizes intervening non-word chars > > (any number), and swaps the words around them. > > Isn't that the same thing? It depends on what you meant. If that's what you meant, then it's the same thing. ;-) But just moving the next or previous word to the other side of the region is different from swapping their places around the separators. region sep word 1. word region sep (word moved to other side of region) 2. word sep region (word and region swapped around separator) I thought perhaps you meant #1. I described #2.