From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27131 invoked from network); 17 Jan 2009 06:39:41 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 Jan 2009 06:39:41 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 48996 invoked from network); 17 Jan 2009 06:39:36 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Jan 2009 06:39:36 -0000 Received: (qmail 21159 invoked by alias); 17 Jan 2009 06:39:32 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26338 Received: (qmail 21147 invoked from network); 17 Jan 2009 06:39:32 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 17 Jan 2009 06:39:32 -0000 Received: from QMTA06.westchester.pa.mail.comcast.net (qmta06.westchester.pa.mail.comcast.net [76.96.62.56]) by bifrost.dotsrc.org (Postfix) with ESMTP id 4BE6780271F0 for ; Sat, 17 Jan 2009 07:39:27 +0100 (CET) Received: from OMTA14.westchester.pa.mail.comcast.net ([76.96.62.60]) by QMTA06.westchester.pa.mail.comcast.net with comcast id 4WWB1b0041HzFnQ56WfUtM; Sat, 17 Jan 2009 06:39:28 +0000 Received: from smtp.klanderman.net ([98.217.254.247]) by OMTA14.westchester.pa.mail.comcast.net with comcast id 4WfT1b00U5M2Np63aWfUW5; Sat, 17 Jan 2009 06:39:28 +0000 Received: from lwm.klanderman.net (unknown [192.168.100.50]) by smtp.klanderman.net (Postfix) with ESMTP id B3C30B30144 for ; Sat, 17 Jan 2009 01:39:26 -0500 (EST) Received: by lwm.klanderman.net (Postfix, from userid 500) id 889919FC5E5; Sat, 17 Jan 2009 01:39:26 -0500 (EST) From: Greg Klanderman To: zsh-workers@sunsite.dk Subject: Re: problem with push-line-or-edit and precmd? Reply-To: gak@klanderman.net Date: Sat, 17 Jan 2009 01:39:26 -0500 In-Reply-To: <090116200852.ZM22480@torch.brasslantern.com> (Bart Schaefer's message of "Fri, 16 Jan 2009 20:08:52 -0800") Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.17 (linux) References: <18801.2149.303884.532633@gargle.gargle.HOWL> <090116200852.ZM22480@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: ClamAV 0.92.1/8873/Sat Jan 17 04:33:31 2009 on bifrost X-Virus-Status: Clean >>>>> Bart Schaefer writes: > The side-effects of this include that a zle widget can't do anything > after push-line-or-edit (the widget forcibly exits), the status is > set to nonzero, and precmd runs because the editor has restarted, all > as if the user hit ctrl+c. So this is only a problem for push-input and push-line-or-edit? I know it might not be the most elegant solution, but could some global be set to inhibit the running of precmd and/or clear the error status when these commands are used? I really can't believe I never noticed this, I use those commands all the time, and have had a precmd like that forever. thanks, Greg