From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14086 invoked from network); 30 Jul 2001 09:47:57 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 30 Jul 2001 09:47:57 -0000 Received: (qmail 15692 invoked by alias); 30 Jul 2001 09:47:45 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15527 Received: (qmail 15681 invoked from network); 30 Jul 2001 09:47:43 -0000 Message-ID: To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: Calculator function In-reply-to: "Bart Schaefer"'s message of "Mon, 30 Jul 2001 00:58:25 -0000." <1010730005825.ZM29062@candle.brasslantern.com> Date: Mon, 30 Jul 2001 10:47:01 +0100 From: Peter Stephenson Bart Schaefer wrote: > On Jul 29, 10:52pm, Peter Stephenson wrote: > Hmhm. Doesn't make that much difference to me, really, but why would it > be a big deal to `setopt localoptions promptpercent' within zcalc? It wouldn't, given what I'm doing any. > } I'm not sure it's good to force that on users of a function. > > Force what? The whole point is that this isn't part of the base shell and expecting people to have to fiddle with its settings just because they are using different options seems to me unnecessary. So I was proposing the fixed feature that it uses full prompt substitution; it uses zsh-specific features in any case. But it could be done a lot of different ways. -- Peter Stephenson Software Engineer CSR Ltd., Unit 300, Science Park, Milton Road, Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************