From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6946 invoked from network); 13 Mar 2008 20:59:09 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 13 Mar 2008 20:59:09 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 83154 invoked from network); 13 Mar 2008 20:52:49 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 Mar 2008 20:52:49 -0000 Received: (qmail 27408 invoked by alias); 13 Mar 2008 20:52:46 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24708 Received: (qmail 27391 invoked from network); 13 Mar 2008 20:52:46 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 13 Mar 2008 20:52:46 -0000 Received: from mta-1.ms.rz.rwth-aachen.de (mta-1.ms.rz.RWTH-Aachen.DE [134.130.7.72]) by bifrost.dotsrc.org (Postfix) with ESMTP id 7546980307F8 for ; Thu, 13 Mar 2008 21:52:43 +0100 (CET) Received: from ironport-out-1.rz.rwth-aachen.de ([134.130.3.58]) by mta-1.ms.rz.RWTH-Aachen.de (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTP id <0JXO009TNSNUSH30@mta-1.ms.rz.RWTH-Aachen.de> for zsh-workers@sunsite.dk; Thu, 13 Mar 2008 21:52:42 +0100 (CET) Received: from relay.rwth-aachen.de ([134.130.3.1]) by ironport-in-1.rz.rwth-aachen.de with ESMTP; Thu, 13 Mar 2008 21:52:43 +0100 Received: from fsst.voodoo.lan ([212.117.84.203]) by relay.rwth-aachen.de (8.13.7/8.13.3/1) with ESMTP id m2DKqgje010652 for ; Thu, 13 Mar 2008 21:52:42 +0100 (MET) Received: from hawk by fsst.voodoo.lan with local (Exim 4.69) (envelope-from ) id 1JZuPN-0006eI-TT for zsh-workers@sunsite.dk; Thu, 13 Mar 2008 21:52:13 +0100 Date: Thu, 13 Mar 2008 21:52:13 +0100 From: Frank Terbeck Subject: Re: zkbd fails: must be run as a function or shell script, not sourced In-reply-to: <237967ef0803131335u6744a78s3387671ad33c32e8@mail.gmail.com> To: zsh workers Mail-followup-to: zsh workers Message-id: <20080313205213.GW30518@fsst.voodoo.lan> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline X-IronPort-AV: E=Sophos;i="4.25,496,1199660400"; d="scan'208";a="56090236" References: <20080313202748.GV30518@fsst.voodoo.lan> <237967ef0803131335u6744a78s3387671ad33c32e8@mail.gmail.com> User-Agent: Mutt/1.5.17 (2008-01-15) X-Virus-Scanned: ClamAV 0.91.2/6225/Thu Mar 13 15:52:37 2008 on bifrost X-Virus-Status: Clean Mikael Magnusson : > On 13/03/2008, Frank Terbeck wrote: > > The zkbd function currently fails to start. In particular, it seems to [...] > > Since this worked before, I git-bisected my way through the younger > > zsh code history and I was able to find the commit that breaks it for > > me. > > fwiw, with current cvs i get this, which seems to be the intended result: No, it does not work as intended (this is the current CVS HEAD): [snip] % zsh -f zsh% autoload zkbd zsh% zkbd zkbd: must be run as a function or shell script, not sourced [snap] This *is* calling zkbd as a function, which worked before and breaks now. Regards, Frank -- In protocol design, perfection has been reached not when there is nothing left to add, but when there is nothing left to take away. -- RFC 1925