From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6579 invoked from network); 24 Jul 2005 09:49:56 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 24 Jul 2005 09:49:56 -0000 Received: (qmail 38825 invoked from network); 24 Jul 2005 09:49:50 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 24 Jul 2005 09:49:50 -0000 Received: (qmail 4469 invoked by alias); 24 Jul 2005 09:49:47 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21515 Received: (qmail 4460 invoked from network); 24 Jul 2005 09:49:46 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 24 Jul 2005 09:49:46 -0000 Received: (qmail 38510 invoked from network); 24 Jul 2005 09:49:46 -0000 Received: from vms044pub.verizon.net (206.46.252.44) by a.mx.sunsite.dk with SMTP; 24 Jul 2005 09:49:43 -0000 Received: from candle.brasslantern.com ([71.116.88.149]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IK40005DLYRRN8D@vms044.mailsrvcs.net> for zsh-workers@sunsite.dk; Sun, 24 Jul 2005 04:49:40 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j6O9nc5d020757 for ; Sun, 24 Jul 2005 02:49:38 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j6O9ncBE020756 for zsh-workers@sunsite.dk; Sun, 24 Jul 2005 02:49:38 -0700 Date: Sun, 24 Jul 2005 09:49:38 +0000 From: Bart Schaefer Subject: Re: PATCH: PROMPT_SP In-reply-to: <20050724061011.GB19554@blorf.net> To: Zsh hackers list Message-id: <1050724094938.ZM20755@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <20050714182506.GB11296@blorf.net> <20050715175551.GA29713@blorf.net> <1050716160634.ZM31049@candle.brasslantern.com> <20050716195612.GA11575@blorf.net> <200507181032.j6IAWB4q022520@news01.csr.com> <20050718181330.GA19066@blorf.net> <1050723135554.ZM19813@candle.brasslantern.com> <20050723165301.GB16571@blorf.net> <20050723171955.GC16571@blorf.net> <1050724052757.ZM20380@candle.brasslantern.com> <20050724061011.GB19554@blorf.net> Comments: In reply to Wayne Davison "Re: PATCH: PROMPT_SP" (Jul 23, 11:10pm) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 On Jul 23, 11:10pm, Wayne Davison wrote: } Subject: Re: PATCH: PROMPT_SP } } On Sun, Jul 24, 2005 at 05:27:57AM +0000, Bart Schaefer wrote: } > What happens when THOSE characters cause the line to wrap? } } Then you only see as much of the [EOL] string as would fit on the line Ah. I had assumed you'd never want to cover up any part of the [EOL] string unless you were covering up the entire thing. The rest of my comments followed from that assumption. } [...] perhaps ~EOL~ would be } better (which would degrade to a single ~ if nothing else fits). What I find mildly distasteful are the ~E and ~EO cases. How about '%B%S%#%s%b' ?