From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7386 invoked from network); 4 Jul 2002 14:58:11 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 4 Jul 2002 14:58:11 -0000 Received: (qmail 23832 invoked by alias); 4 Jul 2002 14:58:05 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 17413 Received: (qmail 23821 invoked from network); 4 Jul 2002 14:58:04 -0000 From: "Bart Schaefer" Message-Id: <1020704145734.ZM21254@candle.brasslantern.com> Date: Thu, 4 Jul 2002 14:57:34 +0000 In-Reply-To: <11938.1025789215@csr.com> Comments: In reply to Peter Stephenson "PATCH: narrow-to-region" (Jul 4, 2:26pm) References: <11938.1025789215@csr.com> X-Mailer: Z-Mail (5.0.0 30July97) To: Peter Stephenson , zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: PATCH: narrow-to-region MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jul 4, 2:26pm, Peter Stephenson wrote: } Subject: PATCH: narrow-to-region } } Here is a tidied up version of narrow-to-region together with a simple } widget narrow-to-region-invisible which reduces text outside the region } to `...'. } } +On return from both widgets, the display is restored by any zle command } +which would usually cause the line to be accepted or aborted. Hence an } +additional such command is required to accept or abort the current line. I find this explanation a little confusing. Is it possible to get back from recursive-edit without doing an accept-line, thereby requiring an additional accept-line to restore the display? In which case it would take three actions (getting out of recursive-edit, restoring the display, and then accepting) to accept the line? If not, I'd reword thus: -On return from both widgets, the display is restored by any zle command +The display is restored (and the widget returns) upon any zle command -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net