From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24958 invoked from network); 5 Jul 2004 09:27:02 -0000 Received: from odin.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.85) by ns1.primenet.com.au with SMTP; 5 Jul 2004 09:27:02 -0000 Received: (qmail 11114 invoked from network); 5 Jul 2004 10:41:23 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 5 Jul 2004 10:41:23 -0000 Received: (qmail 11676 invoked by alias); 5 Jul 2004 09:26:45 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 20133 Received: (qmail 11667 invoked from network); 5 Jul 2004 09:26:44 -0000 Received: from odin.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.85) by sunsite.dk with SMTP; 5 Jul 2004 09:26:44 -0000 Received: (qmail 10875 invoked from network); 5 Jul 2004 10:41:14 -0000 Received: from lhuumrelay3.lnd.ops.eu.uu.net (62.189.58.19) by a.mx.sunsite.dk with SMTP; 5 Jul 2004 10:41:01 -0000 Received: from MAILSWEEPER01.csr.com (mailhost1.csr.com [62.189.183.235]) by lhuumrelay3.lnd.ops.eu.uu.net (8.11.0/8.11.0) with ESMTP id i659Q4v28932 for ; Mon, 5 Jul 2004 09:26:04 GMT Received: from EXCHANGE02.csr.com (unverified [192.168.137.45]) by MAILSWEEPER01.csr.com (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Mon, 5 Jul 2004 10:25:23 +0100 Received: from news01.csr.com ([192.168.143.38]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 5 Jul 2004 10:26:56 +0100 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.12.11/8.12.11) with ESMTP id i659Q8uq004507 for ; Mon, 5 Jul 2004 10:26:08 +0100 Received: from csr.com (pws@localhost) by news01.csr.com (8.12.11/8.12.11/Submit) with ESMTP id i659Q7e3004504 for ; Mon, 5 Jul 2004 10:26:08 +0100 Message-Id: <200407050926.i659Q7e3004504@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: Zsh hackers list Subject: Re: PATCH: re-expand the prompt automatically In-reply-to: "Bart Schaefer"'s message of "Sun, 04 Jul 2004 14:38:13 PDT." Date: Mon, 05 Jul 2004 10:26:07 +0100 From: Peter Stephenson X-OriginalArrivalTime: 05 Jul 2004 09:26:56.0257 (UTC) FILETIME=[370C6710:01C46272] X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: ** X-Spam-Status: No, hits=2.1 required=6.0 tests=BAYES_90 autolearn=no version=2.63 X-Spam-Hits: 2.1 Bart Schaefer wrote: > > Are you suggesting it be tied to zle -R or zle redisplay or both? > > Neither ... Put to it, I don't think "redisplay" should have been a > built-in widget either, except that for historic reasons it had to be. > I'm suggesting that built-in widgets should always act on the editor > buffer (on either the contents or the position of the mark or the cursor) > whereas zle options -- or special commands like compadd -- should act on > the editing engine itself (widgets, keymaps, prompts and displays). > > My criteria would best be described by the question, "Would it ever make > sense to use any of the zle -A, -C, -D, or -N options to supercede or > remove this action?" If the answer is yes, it should be a widget; if no, > then either a zle option or a separate command. I think I misinterpreted your use of `option'... I presumed you meant something like `setopt always_redraw_prompt', whereas you presumably meant something link `zle -P'. I can certainly see an argument for that but, as you say, it's all a bit murky. -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************