From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16773 invoked from network); 13 Dec 2007 17:35:23 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 13 Dec 2007 17:35:23 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 87962 invoked from network); 13 Dec 2007 17:27:12 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 13 Dec 2007 17:27:12 -0000 Received: (qmail 15280 invoked by alias); 13 Dec 2007 17:27:10 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24225 Received: (qmail 15266 invoked from network); 13 Dec 2007 17:27:09 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 13 Dec 2007 17:27:09 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id C68AB8058F55 for ; Thu, 13 Dec 2007 18:24:25 +0100 (CET) Received: from smtp20.orange.fr (smtp20.orange.fr [193.252.22.29]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Thu, 13 Dec 2007 18:24:25 +0100 (CET) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2013.orange.fr (SMTP Server) with ESMTP id 647F91C000B5 for ; Thu, 13 Dec 2007 18:27:07 +0100 (CET) Received: from artesyncp.com (unknown [86.194.14.237]) by mwinf2013.orange.fr (SMTP Server) with ESMTP id 029951C000BC for ; Thu, 13 Dec 2007 18:27:06 +0100 (CET) X-ME-UUID: 20071213172707107.029951C000BC@mwinf2013.orange.fr Date: Thu, 13 Dec 2007 17:27:07 +0000 From: Stephane Chazelas To: Zsh hackers list Subject: vared 'functions[xx]' Message-ID: Mail-Followup-To: Zsh hackers list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.16 (2007-09-19) X-Virus-Scanned: ClamAV using ClamSMTP Hiya, I had an odd behavior here. ~$ a() echo foo ~$ vared functions\[a\]\ echo foobar zsh: not an identifier: functions[a] ~$ dpkg -l | grep zsh ii zsh-beta 4.3.4-dev-4+20071212-1 A shell with lots of features (dev tree) Above, the trailing "\ " was added by the completion system. Still, vared showed me the content of $functions[a]. I would have expected it to return with an error before (well instead of) allowing me to edit the content. Same goes for: a=foo vared "a " Not a big issue, though. Cheers, Stephane