From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7138 invoked from network); 25 Apr 2006 14:29:00 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.1 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 25 Apr 2006 14:29:00 -0000 Received: (qmail 42043 invoked from network); 25 Apr 2006 14:28:54 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 25 Apr 2006 14:28:54 -0000 Received: (qmail 10264 invoked by alias); 25 Apr 2006 14:28:52 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22430 Received: (qmail 10255 invoked from network); 25 Apr 2006 14:28:51 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 25 Apr 2006 14:28:51 -0000 Received: (qmail 41757 invoked from network); 25 Apr 2006 14:28:51 -0000 Received: from vms048pub.verizon.net (206.46.252.48) by a.mx.sunsite.dk with SMTP; 25 Apr 2006 14:28:49 -0000 Received: from torch.brasslantern.com ([71.116.76.26]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0IYA00LC987ZP6M4@vms048.mailsrvcs.net> for zsh-workers@sunsite.dk; Tue, 25 Apr 2006 09:28:48 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id k3PESl85001815 for ; Tue, 25 Apr 2006 07:28:47 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id k3PESl0U001814 for zsh-workers@sunsite.dk; Tue, 25 Apr 2006 07:28:47 -0700 Date: Tue, 25 Apr 2006 07:28:47 -0700 From: Bart Schaefer Subject: Re: Problem with motion commands defined using match-word-by-style used with vi-delete In-reply-to: To: zsh-workers@sunsite.dk (Zsh hackers list) Message-id: <060425072847.ZM1813@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <060423085310.ZM31491@torch.brasslantern.com> <200604232308.k3NN8Wtj004945@pwslaptop.csr.com> <060424200611.ZM996@torch.brasslantern.com> Comments: In reply to Peter Stephenson "Re: Problem with motion commands defined using match-word-by-style used with vi-delete" (Apr 25, 10:58am) On Apr 25, 10:58am, Peter Stephenson wrote: } Subject: Re: Problem with motion commands defined using match-word-by-styl } } Bart Schaefer wrote: } > Incidentally I just noticed that within a widget called by using } > execute-named-command, the value of $KEYS is carriage return. I'm not } > sure what I expected it to be, but that wasn't it. } } I suppose the right answer is the \M-x sequence, or whatever called } execute-named-command, followed by the command name, followed by a } newline? I suppose, but that seems excessive. } Here's a patch that allows you to request that zle sets the widget in } the way that it does at the top level. It's actually done by storing } the global Thingy in the variable bindk, so it's not quite that simple So ... shouldn't getvirange() do this part too? What harm could it be? } + bindk = t; } ret = execzlefunc(t, args); } + bindk = savbindk;