From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14363 invoked from network); 24 Apr 2006 19:40:10 -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.3 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; 24 Apr 2006 19:40:10 -0000 Received: (qmail 85097 invoked from network); 24 Apr 2006 19:40:02 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 24 Apr 2006 19:40:02 -0000 Received: (qmail 24485 invoked by alias); 24 Apr 2006 19:39:53 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10179 Received: (qmail 24475 invoked from network); 24 Apr 2006 19:39:52 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 24 Apr 2006 19:39:52 -0000 Received: (qmail 84048 invoked from network); 24 Apr 2006 19:39:52 -0000 Received: from wproxy.gmail.com (64.233.184.232) by a.mx.sunsite.dk with SMTP; 24 Apr 2006 19:39:51 -0000 Received: by wproxy.gmail.com with SMTP id 68so805395wri for ; Mon, 24 Apr 2006 12:39:49 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=odnpx4xEjuc+fvVWP7pzksjCQtuKtoyLgcBhxhgG9RVn4HyqRqR5HprOB30H/q/smxokfOMR8VhEBYIbZozHZoYZuODGDdcaNdQvRLL1swZ8NJYLcOQxeeMTMH15eZo9T5bsjdA5eOnJHMKxbMqAA0w7gmgUddTMOS+s4LnZP2E= Received: by 10.65.11.3 with SMTP id o3mr895323qbi; Mon, 24 Apr 2006 12:39:49 -0700 (PDT) Received: by 10.64.142.16 with HTTP; Mon, 24 Apr 2006 12:39:49 -0700 (PDT) Message-ID: Date: Mon, 24 Apr 2006 21:39:49 +0200 From: "Nikolai Weibull" Sender: nikolai.weibull@gmail.com To: "Peter Stephenson" Subject: Re: Problem with motion commands defined using match-word-by-style used with vi-delete Cc: zsh-users@sunsite.dk In-Reply-To: <200604232308.k3NN8Wtj004945@pwslaptop.csr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <060423085310.ZM31491@torch.brasslantern.com> <200604232308.k3NN8Wtj004945@pwslaptop.csr.com> On 4/24/06, Peter Stephenson wrote: > Bart Schaefer wrote: > > } I fear my time would be > > } better spent implementing .recursive-edit-read-one-key. > > > > There must be a better name for it than that. GNU emacs appears to cal= l > > it read-key-sequence. > > Here's a simple internal widget that reads a key sequence and sets > REPLY to the command bound to it (so you can run zle on that). Seems to work just fine. It does, however, only solve part of the problem. There's still no easy way to execute the command in the right environment so that WIDGET is set to the read command that we want to execute. nikolai