From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11423 invoked from network); 29 Sep 2001 18:04:23 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 29 Sep 2001 18:04:23 -0000 Received: (qmail 12494 invoked by alias); 29 Sep 2001 18:04:16 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15896 Received: (qmail 12482 invoked from network); 29 Sep 2001 18:04:14 -0000 From: Bart Schaefer Message-Id: <1010929180410.ZM20032@candle.brasslantern.com> Date: Sat, 29 Sep 2001 18:04:10 +0000 In-Reply-To: <1010929171753.ZM19899@candle.brasslantern.com> Comments: In reply to Bart Schaefer "Re: history-incremental-search-backward with a twist" (Sep 29, 5:17pm) References: <87pu8b3tjx.fsf@lynx.ionific.com> <1010929014105.ZM18918@candle.brasslantern.com> <1010929024149.ZM19026@candle.brasslantern.com> <87g0963vaf.fsf@lynx.ionific.com> <1010929171753.ZM19899@candle.brasslantern.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Adding widgets MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Sep 29, I wrote: } } Ah. Well, zsh doesn't have re-search, though it does recognize "^" as } anchoring to beginning of line. Well, gee, I thought, this would be an ideal thing for the pcre module to supply: history-re-search-backward etc. And then I discovered that struct thingy references a struct widget whose definition is static to zle_bindings.c, and remembered how ridiculously complicated the builtin widget processing is, massaging the iwidgets.list file six ways from Sunday. Surely there's a better way. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net