From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18111 invoked by alias); 5 Mar 2013 19:36:44 -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: 31116 Received: (qmail 18200 invoked from network); 5 Mar 2013 19:36:32 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: neutral (ns1.primenet.com.au: 74.125.82.42 is neither permitted nor denied by SPF record at ntlworld.com) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-proxyuser-ip:date:from:to:subject:message-id :in-reply-to:references:x-mailer:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=rfS5kJaZtABazlBLVf/pEHzsM67JsBhRw81lbnIeIuA=; b=FMNPiIKTxkCflWULtzVeIuAZLSIEMMmHmwrfincAHfvTd/2SnQ0r64Dwlu++gyLWhF fD89uIPnoNMm73zprrPFMNvup9pzLHA7VscjMGLxausYp+f6e3ULZ3bg3QUqRozPKEaD rnnURPJi+FMlxP41Iz37u3CoBqQ6dfXsU3ji3G0Xd3FYbK8LqLVVIvWn6BtIdOjrzWWI x7LcJquLehne25jI6vp3JQ5qA++9by2j381vmEoK0scJ+yrObRFeUSivwjrEBfWh/ccc 4ldv/wvyRdpD+6vgLQQgKZfUXeD6ltCjCTDEeLQ27h2x3sd7D9dcZ+mqObjmG7R+pwWB Lxdw== X-Received: by 10.194.110.136 with SMTP id ia8mr41757269wjb.58.1362511798093; Tue, 05 Mar 2013 11:29:58 -0800 (PST) X-ProxyUser-IP: 86.26.6.143 Date: Tue, 5 Mar 2013 19:29:50 +0000 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: xtrace and array assignment Message-ID: <20130305192950.738f1836@pws-pc.ntlworld.com> In-Reply-To: <130302083647.ZM11704@torch.brasslantern.com> References: <130302083647.ZM11704@torch.brasslantern.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.7; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnvINGtR5vbObErj0tt5a+j4LWYJm3GD8hsJ/awxZ7TVqK7u4pXif3ADPMFN3x58hmOUCoq On Sat, 02 Mar 2013 08:36:47 -0800 Bart Schaefer wrote: > It's also always irked me a little that the verbose option doesn't print > anything for assignments, so maybe combining verbose and xtrace could > have some meaning here. However, I haven't really dug in to how xtrace > for assignments is implemented, so this might be rather difficult, and > of course we don't want to accidentally introduce side-effects. I'd quite like something a bit more sophisticated, say a number determining the depth to which xtrace output is shown, with the current output somewhere in the middle of the scale (so in addition to expanding indexes you could go the other way and only show e.g. function calls and block constructs). But that's a lot of work. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/