From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4126 invoked by alias); 6 Mar 2015 09:52:52 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 34665 Received: (qmail 20214 invoked from network); 6 Mar 2015 09:52:38 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 X-AuditID: cbfec7f5-b7fc86d0000066b7-89-54f9784ef586 Date: Fri, 06 Mar 2015 09:52:33 +0000 From: Peter Stephenson To: zsh workers Subject: Re: PATCH: Don't store ZLE_LINE_ABORTED in vared context Message-id: <20150306095233.2db3d7f9@pwslap01u.europe.root.pri> In-reply-to: <20150305135830.0e0e5d65@pwslap01u.europe.root.pri> References: <20150305095944.5bce20ab@pwslap01u.europe.root.pri> <20150305135830.0e0e5d65@pwslap01u.europe.root.pri> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrKLMWRmVeSWpSXmKPExsVy+t/xy7p+FT9DDLpfyFkcbH7I5MDoserg B6YAxigum5TUnMyy1CJ9uwSujD3fV7AWPGGvuN4p3sA4j62LkYNDQsBE4uur4i5GTiBTTOLC vfVAYS4OIYGljBI//vSyQjhLmCQuz+5lhHC2MUq8bPnOBtLCIqAqcev8QTCbTcBQYuqm2Ywg tghQvPn7PxYQW1jAUeLY4rNMIDavgL3E9C/XweKcAg4SL/7Ohlq3j1Fi6aaHYM38AvoSV/9+ YoK4yV5i5pUzjBDNghI/Jt8Da2YW0JLYvK2JFcKWl9i85i0ziC0koC5x4+5u9gmMQrOQtMxC 0jILScsCRuZVjKKppckFxUnpuUZ6xYm5xaV56XrJ+bmbGCFB+3UH49JjVocYBTgYlXh4J+b8 DBFiTSwrrsw9xCjBwawkwvutACjEm5JYWZValB9fVJqTWnyIkYmDU6qBMTn26n5Nr7cbGmPr t57YOrVzp5TkOpH4vt9i91M2Kis5bNu/V2zx7eXrnLeKaHZHtcaXN8q/Kb0hHyDwyMip7HP5 J5cEC+3d/4p/ueh+jNXgFFd8431yclX/uq3iqhJ3Njx6UDX/+NfkN56bbre96YoMaVhxcULK 5OTAUHn+p2rn7BmyH6QaKrEUZyQaajEXFScCAALjUIA4AgAA On Thu, 5 Mar 2015 13:58:30 +0000 Peter Stephenson wrote: > On Thu, 5 Mar 2015 09:59:44 +0000 > Peter Stephenson wrote: > > Having the variable set in special cases is a bit of a headache, I > > agree, since you don't necessarily know they're there, even if there are > > ways round. > > > > It would be tempting to have a different variable for the vared case > > such as ZLE_VARED_ABORTED. > > This would same to cover all the bases, except for the case where > someone really wants to use the same variable to deal with vared and the > shell command line. Mikael's experience suggests that's not the most > obvious or convenient case. >... > +variable tt(ZLE_LINE_ABORTED). If the editor is aborted from within > +tt(vared), the variable tt(ZLE_VARED_ABORTED) is set. There didn't seem to be more comments on this, and the participants in the discussion are certainly alive and kicking, so I've pushed it. pws