From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16792 invoked from network); 24 Oct 2008 14:41:02 -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.4 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; 24 Oct 2008 14:41:02 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 44222 invoked from network); 24 Oct 2008 14:40:54 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 24 Oct 2008 14:40:54 -0000 Received: (qmail 24905 invoked by alias); 24 Oct 2008 14:40:49 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25932 Received: (qmail 24894 invoked from network); 24 Oct 2008 14:40:48 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 24 Oct 2008 14:40:48 -0000 Received: from vms046pub.verizon.net (vms046pub.verizon.net [206.46.252.46]) by bifrost.dotsrc.org (Postfix) with ESMTP id E209480524C0 for ; Fri, 24 Oct 2008 16:40:30 +0200 (CEST) Received: from torch.brasslantern.com ([96.238.220.215]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0K9800ENZZF1SLC2@vms046.mailsrvcs.net> for zsh-workers@sunsite.dk; Fri, 24 Oct 2008 09:40:15 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id m9OEeCIq029311 for ; Fri, 24 Oct 2008 07:40:13 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id m9OEeCtw029310 for zsh-workers@sunsite.dk; Fri, 24 Oct 2008 07:40:12 -0700 Date: Fri, 24 Oct 2008 07:40:11 -0700 From: Bart Schaefer Subject: Re: PATCH: prompt memory handling is screwy In-reply-to: <19776.1224843888@csr.com> To: zsh-workers@sunsite.dk (Zsh hackers list) Message-id: <081024074011.ZM29309@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <19776.1224843888@csr.com> Comments: In reply to Peter Stephenson "PATCH: prompt memory handling is screwy" (Oct 24, 11:24am) X-Virus-Scanned: ClamAV 0.92.1/8485/Fri Oct 24 15:38:51 2008 on bifrost X-Virus-Status: Clean On Oct 24, 11:24am, Peter Stephenson wrote: } } Some idiot added a new feature recently that let the prompt code } be called recursively. I've forgotten what feature this was and why it ends up calling the prompt code recursively. However, now that you've fixed that, maybe there's an obvious way to simplify the handling of the %( ... %) construct, particularly with respect to prompt truncation. No, I'm *not* suggesting tackling *that* before the 4.3.7 release.