Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Qmail-Scanner-Diagnostics: from mailout4.w1.samsung.com by f.primenet.com.au (envelope-from <p.stephenson@samsung.com>, uid 7791) with qmail-scanner-2.11 
 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1.  
 Clear:RC:0(210.118.77.14):SA:0(-0.5/5.0):. 
 Processed in 0.139353 secs); 12 Aug 2016 09:29:31 -0000
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=RP_MATCHES_RCVD
	autolearn=unavailable autolearn_force=no version=3.4.1
X-Envelope-From: p.stephenson@samsung.com
X-Qmail-Scanner-Mime-Attachments: |
X-Qmail-Scanner-Zip-Files: |
Received-SPF: none (ns1.primenet.com.au: domain at samsung.com does not designate permitted sender hosts)
X-AuditID: cbfec7f5-f792a6d000001302-a8-57ad96f14c10
Date: Fri, 12 Aug 2016 10:29:18 +0100
From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh-workers@zsh.org
Subject: Re: [PATCH] enable number argument for transpose-words
Message-id: <20160812102918.5ad0f649@pwslap01u.europe.root.pri>
In-reply-to: <20160812025402.GA5319@localhost.localdomain>
References: <20160801103212.GA24067@localhost.localdomain>
 <20160812025402.GA5319@localhost.localdomain>
Organization: Samsung Cambridge Solution Centre
X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu)
MIME-version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
X-Brightmail-Tracker:
 H4sIAAAAAAAAA+NgFjrPLMWRmVeSWpSXmKPExsVy+t/xK7ofp60NN+ierW1xsPkhkwOjx6qD
	H5gCGKO4bFJSczLLUov07RK4Mu48UCk4wlbRM/0jewPjVtYuRk4OCQETiaUzGlkgbDGJC/fW
	s3UxcnEICSxllOj92MIE4cxgkjjY8AEqc45R4sq/zUwgLUICZxklmiZJg9gsAqoSi6Y0gsXZ
	BAwlpm6azQhiiwiIS5xdex5shbCAvcTWx2/AVvMC2b9mfmMGsTkFrCQ2vPoHNTNLYvqOz+wg
	Nr+AvsTVv5+YIM6zl5h55QwjRK+gxI/J98BmMgtoSWze1sQKYctLbF7zlhlijrrEjbu72Scw
	Cs9C0jILScssJC0LGJlXMYqmliYXFCel5xrpFSfmFpfmpesl5+duYoQE89cdjEuPWR1iFOBg
	VOLh5VixJlyINbGsuDL3EKMEB7OSCO/NiWvDhXhTEiurUovy44tKc1KLDzFKc7AoifPO3PU+
	REggPbEkNTs1tSC1CCbLxMEp1cC4ITvgf9e5KPZjMjr3XF6t+MXh/O1bhMvlvz+zTq5c37SE
	P1DSaFpQQ4r5aja77TKyyWt3T+MunaLff+6e3PopzZ9053/p/J172/ZM9zoO3XWHi8vFHTdp
	POD8wfHT3MR923Z/pilcmc2fbJ8cl+OpPt676dbJo4ZevBY5n+en5obvmHqNvX29EktxRqKh
	FnNRcSIAIeyhO2ICAAA=
X-Seq: zsh-workers 39029

On Fri, 12 Aug 2016 10:54:02 +0800
Han Pingtian <hanpt@linux.vnet.ibm.com> wrote:
> Any suggestions to this one, please? Thanks in advance.

Thanks, I've committed that.  This describes what it does.

pws

diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index eaca1b3..aa219dc 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -1948,6 +1948,12 @@ to the left.
 tindex(transpose-words)
 item(tt(transpose-words) (tt(ESC-T ESC-t)) (unbound) (unbound))(
 Exchange the current word with the one before it.
+
+With a positive numeric argument em(N), the word before the cursor is
+transposed with the following em(N) words.
+
+With a negative numeric argument em(-N), the word after the cursor
+is transposed with the preceding em(N) words.
 )
 tindex(vi-unindent)
 item(tt(vi-unindent) (unbound) (tt(<)) (unbound))(

