From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4794 invoked from network); 22 May 2007 09:30:32 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=no version=3.2.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 22 May 2007 09:30:32 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 59356 invoked from network); 22 May 2007 09:30:27 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 May 2007 09:30:27 -0000 Received: (qmail 18658 invoked by alias); 22 May 2007 09:30:24 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23456 Received: (qmail 18648 invoked from network); 22 May 2007 09:30:23 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 22 May 2007 09:30:23 -0000 Received: (qmail 59115 invoked from network); 22 May 2007 09:30:23 -0000 Received: from cluster-d.mailcontrol.com (217.69.20.190) by a.mx.sunsite.dk with SMTP; 22 May 2007 09:30:17 -0000 Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly37d.srv.mailcontrol.com (MailControl) with ESMTP id l4M9Qnsx004734 for ; Tue, 22 May 2007 10:30:12 +0100 Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Tue, 22 May 2007 10:29:54 +0100 Date: Tue, 22 May 2007 10:29:54 +0100 From: Peter Stephenson To: Zsh-Workers Subject: Re: bindkey history-beginning-search-backwards; echo $widgts = crash Message-ID: <20070522102954.409da21c@news01.csr.com> In-Reply-To: <20070522015923.GA12001@redoubt.spodhuis.org> References: <20070521202131.GA14758@finlandia.home.infodrom.org> <20070522014632.GA11326@redoubt.spodhuis.org> <20070522015923.GA12001@redoubt.spodhuis.org> Organization: CSR X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.8; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 May 2007 09:29:54.0303 (UTC) FILETIME=[C15350F0:01C79C53] X-Scanned-By: MailControl A-06-00-00 (www.mailcontrol.com) on 10.68.0.147 On Mon, 21 May 2007 18:59:23 -0700 Phil Pennock wrote: > On 2007-05-21 at 18:46 -0700, Phil Pennock wrote: > > This is a bug when there is no widget with the supplied name; the > > value for the type can't be calculated. The code which loops over > > the widgets doesn't notice that the widget doesn't really exist and > > the code which produces a stringification doesn't handle it. > > Is it better for the $widgets associative array to pretend that such a > key doesn't exist, or to acknowledge that it does exist with undefined > value? I think the latter. If the user is convinced the widget should exist and has tried to bind something to it the shell should show as much. The juice stains the lips, the stain acts as a warning (as it were). (No, that doesn't really make sense.) I've committed that patch. Thanks. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070 To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview