From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21536 invoked from network); 31 Oct 2007 14:52:18 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) 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.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 31 Oct 2007 14:52:18 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 55499 invoked from network); 31 Oct 2007 14:52:12 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 31 Oct 2007 14:52:12 -0000 Received: (qmail 27395 invoked by alias); 31 Oct 2007 14:52:09 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24042 Received: (qmail 27304 invoked from network); 31 Oct 2007 14:52:09 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 31 Oct 2007 14:52:09 -0000 Received: (qmail 55201 invoked from network); 31 Oct 2007 14:52:09 -0000 Received: from vms046pub.verizon.net (206.46.252.46) by a.mx.sunsite.dk with SMTP; 31 Oct 2007 14:52:02 -0000 Received: from torch.brasslantern.com ([71.116.71.62]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JQS006XF6JCAB15@vms046.mailsrvcs.net> for zsh-workers@sunsite.dk; Wed, 31 Oct 2007 09:50:03 -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 l9VEnxLd008670 for ; Wed, 31 Oct 2007 07:50:00 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id l9VEnxMH008669 for zsh-workers@sunsite.dk; Wed, 31 Oct 2007 07:49:59 -0700 Date: Wed, 31 Oct 2007 07:49:59 -0700 From: Bart Schaefer Subject: Re: precmd, preexec, and supplied prompt themes In-reply-to: <18266.1193828857@thecus> To: zsh-workers@sunsite.dk Message-id: <071031074959.ZM8668@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <20071012215906.GA8935@mastermind> <071012185005.ZM2921@torch.brasslantern.com> <35490.69.3.191.19.1192241340.squirrel@mail.acg.ucsc.edu> <071012202721.ZM13638@torch.brasslantern.com> <20071013135858.18e842df.wgscott@chemistry.ucsc.edu> <071013144046.ZM15536@torch.brasslantern.com> <42409.66.167.127.82.1192312408.squirrel@mail.acg.ucsc.edu> <071013161113.ZM15656@torch.brasslantern.com> <43237.69.3.24.27.1192318777.squirrel@mail.acg.ucsc.edu> <071013194931.ZM15792@torch.brasslantern.com> <18266.1193828857@thecus> Comments: In reply to Oliver Kiddle "Re: precmd, preexec, and supplied prompt themes" (Oct 31, 11:07am) On Oct 31, 11:07am, Oliver Kiddle wrote: } Subject: Re: precmd, preexec, and supplied prompt themes } } On 13 Oct, Bart wrote: } > --- promptinit 1 Oct 2006 02:38:52 -0000 1.3 } > } > + emulate -L zsh } } This has broken the prompt_opts feature of promptinit I think that's a bug in the way those options are initialized, then, or in "emulate". Even with -R, options "describing the interactive environment" are not supposed to be reset, and without -L "only those options likely to cause portability problems in scripts and functions are altered." Would someone explain how promptcr, promptsubst and promptpercent "cause portability problems in scripts and functions"?