From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20413 invoked by alias); 20 Sep 2012 14:20:43 -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: 30689 Received: (qmail 18915 invoked from network); 20 Sep 2012 14:20:41 -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=-1.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.160.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=BevE4NmzaA+56tV0/D1u15RNew8mOCkBLKJjHWTn/vY=; b=KL3AQRAHOE8u19b5t0eTKFCA/LoJagOOifgosJn0lEJSIT2uZyCC3Y1HlJPz4lqou3 l+gkrFeYBg4GlWARXwbQAr1Hh1rus+Xe9zXdWHGJEuxKd245BEc9gjTmTXcsdkS6Cij9 5DASjucioYi+92Hr0adFjEhp2KUCBj08R1AndSqCVPJximPE6WT8xoS4R7TR9vWkY9vf lYdzA9jGtenEuxi4wbJ1Fdbl7dE1heS+VtOckp6ZvuXeA9YdzxX1IEEN8b1U+L319oXJ Gvnmh43qflwwT6uRuuDdC1WZ1kdn+uP3lQWeMzEbP31ds51a9u/d9oxLnUWdZSrw/Rhz DAMg== MIME-Version: 1.0 In-Reply-To: <20120920151225.206d30c0@pwslap01u.europe.root.pri> References: <20120920151225.206d30c0@pwslap01u.europe.root.pri> Date: Thu, 20 Sep 2012 16:20:32 +0200 Message-ID: Subject: Re: Completion and REPORTTIME From: Mikael Magnusson To: Peter Stephenson Cc: Mailing-list zsh-workers Content-Type: text/plain; charset=UTF-8 On 20/09/2012, Peter Stephenson wrote: > On Thu, 20 Sep 2012 14:57:19 +0200 > Julien Nicoulaud wrote: >> When REPORTTIME, time can be reported on some slow compdefs, which kinda >> breaks output. I think time reporting should be disabled in the context >> of >> completion functions execution, don't you ? > > As it's dumped straight to stderr, it's hard to see any point in having > it output automatically from any zle code. > > Index: Doc/Zsh/params.yo > =================================================================== > RCS file: /cvsroot/zsh/zsh/Doc/Zsh/params.yo,v > retrieving revision 1.70 > diff -p -u -r1.70 params.yo > --- Doc/Zsh/params.yo 15 Jun 2012 21:22:36 -0000 1.70 > +++ Doc/Zsh/params.yo 20 Sep 2012 14:10:47 -0000 > @@ -1225,7 +1225,10 @@ vindex(REPORTTIME) > item(tt(REPORTTIME))( > If nonnegative, commands whose combined user and system execution times > (measured in seconds) are greater than this value have timing > -statistics printed for them. > +statistics printed for them. Output is surpressed for commands ^^^^^^^^^^ should be suppressed. -- Mikael Magnusson