From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6760 invoked from network); 21 Feb 1999 18:41:29 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 21 Feb 1999 18:41:29 -0000 Received: (qmail 20808 invoked by alias); 21 Feb 1999 18:41:16 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5455 Received: (qmail 20800 invoked from network); 21 Feb 1999 18:41:14 -0000 Message-ID: <19990221184045.24549.qmail@hotmail.com> X-Originating-IP: [209.157.52.6] From: "Matt Armstrong" To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: zsh-3.1.5-pws-9, TRAPZERR fix for new completion Date: Sun, 21 Feb 1999 10:40:45 PST Mime-Version: 1.0 Content-type: text/plain >From: "Bart Schaefer" >On Feb 20, 10:47pm, Matt Armstrong wrote: >} Subject: PATCH: zsh-3.1.5-pws-9, TRAPZERR fix for new completion >} >} We probably want to defeat TRAPZERR within the new completion >} stuff. > >Possibly so, but it ought to be done on entry into the >main completion function and undone again before returning. Hmm, I thought Functions/Complete/_main_complete was the main completion function. Where is it? As far as restoring it, Do'h! I thought I tested that, but obviously not. Is there an easy way to bind a function to a different name and restore it? I've tried games with stuff like foo=$(functions TRAPZERR) ... eval $foo, but that seems suboptimal. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com