From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Transposing words over middle words Date: Thu, 16 Nov 2017 09:47:40 +0100 Message-ID: <87d14i8v9v.fsf@fastmail.fm> References: <871skywvp4.fsf@hornfels.zedat.fu-berlin.de> <87efoy8vjl.fsf@fastmail.fm> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: blaine.gmane.org 1510822099 17683 195.159.176.226 (16 Nov 2017 08:48:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 16 Nov 2017 08:48:19 +0000 (UTC) User-Agent: mu4e 1.0-alpha0; emacs 25.3.50.1 Cc: help-gnu-emacs@gnu.org To: Loris Bennett Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 16 09:48:14 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eFFqF-000456-F9 for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Nov 2017 09:48:11 +0100 Original-Received: from localhost ([::1]:39582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFFqM-0008Rs-8W for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Nov 2017 03:48:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eFFpu-0008Rn-Bo for help-gnu-emacs@gnu.org; Thu, 16 Nov 2017 03:47:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eFFpr-00085c-9d for help-gnu-emacs@gnu.org; Thu, 16 Nov 2017 03:47:50 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:34349) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eFFpr-00084g-0g for help-gnu-emacs@gnu.org; Thu, 16 Nov 2017 03:47:47 -0500 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 4151921212; Thu, 16 Nov 2017 03:47:43 -0500 (EST) Original-Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Thu, 16 Nov 2017 03:47:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=K1cPPD8gYxhLEBdWq/ReQkkIyjwSrf8/te7Onb1dbNw=; b=4mZixGQF IBSA0sCnoUER+Kv/UyLQ2IeGGcLi7rD0lU164vIDc+iEqjfId+uI9nERtYeah6mG OvBtc8iuPO07vk61JIHP8CwVtZ8w/xIl5LDP7xNSteXuGI1/Dy7/ueGJaDTI3k3i PDpyPlY8eXN3R5Er8V6ypka5wOD0RGJkAkKos6bO0IvY8/2FxakvYkRKQY0qTbNa INwNjmes+amnV/2BgtQjG0RNpIAsAQ6TspwDV7xqTzOafCRVfW5Ej43Ox6hlsue3 lle1u+KRaj1x9YbynBvDemty0vMM1wuwMtr2TidbFyS1YG8XadF2EPmc9NEfHKxy s1RCP816Gunv0Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=K1cPPD8gYxhLEBdWq/ReQkkIyjwSr f8/te7Onb1dbNw=; b=MyckIhIXjumyQ3iPMN/2JGzx9i2WARDMW38VWrdhr34wK GRqg4J16Kj6dEcXEKCmt63g6N64VNkhA418zqlrCXtcY8cG0AecOz/xNpE5kLvcE G1XuiyYhpgv9Tlh6ZPHI0lI+6WQ5915O1KezygIAbFT1447w6d8j3eoOip7vQqr5 dmOizSqTEfEdJFpGqgQhKAZyI7HLHJOxbV197vyRdno0uS2ybSr5nlZ+iUVKIaak udAR+16fA2dQ3R02R4NWF21eJGKPcN9idXseYty4Y2w7huSNEFeFuceDlEcgEMEI 4bes3wQRYDJ+66c+9gTusWl+OZK4guWJ8krZbJoGg== X-ME-Sender: Original-Received: from IdeaPad.fastmail.com (wlan-30-105.eduroam.uni-wuppertal.de [132.195.30.105]) by mail.messagingengine.com (Postfix) with ESMTPA id A8D3E7FAEF; Thu, 16 Nov 2017 03:47:42 -0500 (EST) In-reply-to: <87efoy8vjl.fsf@fastmail.fm> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.28 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114898 Archived-At: On Thu, Nov 16 2017, Joost Kremers wrote: > On Thu, Nov 16 2017, Loris Bennett wrote: >> Assuming I'm at the end of the three words where the >> transposition >> should take place, I usually do >> >> Jack and Jill went up the hill. >> ^ point is here: M-b >> Jack and Jill went up the hill. >> ^ point is here: M-t >> Jack Jill and went up the hill. >> ^ point is here: M-b M-b >> Jack Jill and went up the hill. >> ^ point is here: M-t M-t >> Jill and Jack went up the hill. >> >> It seems moderately elegant to me, because it involves a fairly >> simple >> ordering of only two different functions. Having said that, I >> don't do >> it that regularly and so still often screw it up. > > There is a slightly quicker way of doing it (with | indicating > point): Come to think of it, in terms of key presses, it's not quicker at all... ;-) Anyway, I thought using a prefix argument would help, but when it's only a single word you're jumping over, it doesn't. -- Joost Kremers Life has its moments