From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25390 invoked from network); 15 Jan 2009 14:47:03 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 15 Jan 2009 14:47:03 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 75246 invoked from network); 15 Jan 2009 14:46:57 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 15 Jan 2009 14:46:57 -0000 Received: (qmail 673 invoked by alias); 15 Jan 2009 14:46:54 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26314 Received: (qmail 663 invoked from network); 15 Jan 2009 14:46:54 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 15 Jan 2009 14:46:54 -0000 Received: from cluster-g.mailcontrol.com (cluster-g.mailcontrol.com [208.87.233.190]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 51FA980271F0 for ; Thu, 15 Jan 2009 15:46:42 +0100 (CET) Received: from cameurexb01.EUROPE.ROOT.PRI ([193.128.72.68]) by rly30g.srv.mailcontrol.com (MailControl) with ESMTP id n0FEjZH9018695 for ; Thu, 15 Jan 2009 14:46:37 GMT Received: from news01 ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.3959); Thu, 15 Jan 2009 14:46:18 +0000 Date: Thu, 15 Jan 2009 14:46:12 +0000 From: Peter Stephenson To: zsh-workers@sunsite.dk Subject: Re: precmd reserved names Message-ID: <20090115144612.328d1482@news01> In-Reply-To: <200901142124.14881.tek@moonitor.org> References: <200901142124.14881.tek@moonitor.org> Organization: CSR X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.8; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 15 Jan 2009 14:46:18.0936 (UTC) FILETIME=[068D6B80:01C97720] X-Scanned-By: MailControl A_08_51_00 (www.mailcontrol.com) on 10.71.0.140 X-Virus-Scanned: ClamAV 0.92.1/8868/Thu Jan 15 07:34:41 2009 on bifrost X-Virus-Status: Clean On Wed, 14 Jan 2009 21:24:10 +0100 tek wrote: > I noticed that prompt_THEME_precmd(in a prompt theme) isn't executed anymore > if added to precmd_functions in 4.3.9, while it was in 4.3.6. As I didn't > find anything in the ChangeLog, I thought maybe someone forgot to mention > that. It can't be quite that simple. % prompt_THEME_precmd() { print Executing function; } % precmd_functions=(prompt_THEME_precmd) Executing function Do you mean something different? For example, do you mean "doesn't get automatically added to precmd_functions"? That also seems to be working for me. Can you reproduce this starting from "zsh -f"? -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070