zsh-workers
 help / color / mirror / code / Atom feed
From: Mikael Magnusson <mikachu@gmail.com>
To: Peter Stephenson <Peter.Stephenson@csr.com>
Cc: Mailing-list zsh-workers <zsh-workers@zsh.org>
Subject: Re: Completion and REPORTTIME
Date: Thu, 20 Sep 2012 16:20:32 +0200	[thread overview]
Message-ID: <CAHYJk3TD5p13sMfX8sTGNq3ua94f0YGqLDZTwuDwk0UkHvREWw@mail.gmail.com> (raw)
In-Reply-To: <20120920151225.206d30c0@pwslap01u.europe.root.pri>

On 20/09/2012, Peter Stephenson <Peter.Stephenson@csr.com> wrote:
> On Thu, 20 Sep 2012 14:57:19 +0200
> Julien Nicoulaud <julien.nicoulaud@gmail.com> 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


  reply	other threads:[~2012-09-20 14:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-20 12:57 Julien Nicoulaud
2012-09-20 14:12 ` Peter Stephenson
2012-09-20 14:20   ` Mikael Magnusson [this message]
2012-09-20 14:15 ` Bart Schaefer
2012-09-20 14:26   ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHYJk3TD5p13sMfX8sTGNq3ua94f0YGqLDZTwuDwk0UkHvREWw@mail.gmail.com \
    --to=mikachu@gmail.com \
    --cc=Peter.Stephenson@csr.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).