From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29883 invoked by alias); 8 Nov 2013 16:21:22 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 18127 Received: (qmail 8091 invoked from network); 8 Nov 2013 16:21:16 -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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 X-AuditID: cbfec7f4-b7fee6d000004b2d-24-527d0d1eef57 Date: Fri, 08 Nov 2013 16:11:09 +0000 From: Peter Stephenson To: zsh-users@zsh.org Subject: Re: zsh 5.0.2-test-1 is available Message-id: <20131108161109.6e373049@pwslap01u.europe.root.pri> In-reply-to: <131108063903.ZM25660@torch.brasslantern.com> References: <20131106202321.4a48c77b@pws-pc.ntlworld.com> <20131107153315.GW3544@sym.noone.org> <20131107160551.7aa195dc@pwslap01u.europe.root.pri> <20131107191806.GA85153@redoubt.spodhuis.org> <131107173627.ZM24325@torch.brasslantern.com> <20131108071627.GA6216@redoubt.spodhuis.org> <20131108093822.1534aa88@pwslap01u.europe.root.pri> <131108063903.ZM25660@torch.brasslantern.com> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjluLIzCtJLcpLzFFi42I5/e/4ZV053toggxt7eC12nFzJ6MDoserg B6YAxigum5TUnMyy1CJ9uwSujDnvrjEWfOOo2PjuGWMDYwd7FyMnh4SAicSa0+2sELaYxIV7 69m6GLk4hASWMkrM2rgVxmGSWPKgmQmkikVAVeLj7ClsIDabgKHE1E2zGUFsEQFRieUrNoNN FRbQkvh//CrYVF4Be4n+G+1g9ZwCVhKHry5khhjawyzx5tUNZpAEv4C+xNW/n5ggzrCXmHnl DCNEs6DEj8n3WEBsZqChm7c1sULY8hKb17xlnsAoMAtJ2SwkZbOQlC1gZF7FKJpamlxQnJSe a6hXnJhbXJqXrpecn7uJERKGX3YwLj5mdYhRgINRiYe34EJ1kBBrYllxZe4hRgkOZiUR3jKG 2iAh3pTEyqrUovz4otKc1OJDjEwcnFINjFMiWW+efqQlfOr2s/l2gbOuW/N6r75aq7AvYkGZ l9zK6x2vbq2ZdebH9weccVdjVk0KzlSWnanuM7lg6wfr58JlvJzCBtseSly1XR2p31NttPaW xqf5K6RavIrWmuXJVBif+rNhQeqLqpPuCdtCVy75mV9+aH5gjyDTG3vFyos13u/eL5LctVKJ pTgj0VCLuag4EQC/Tj/NIQIAAA== On Fri, 08 Nov 2013 06:39:03 -0800 Bart Schaefer wrote: > On Nov 8, 9:38am, Peter Stephenson wrote: > } > } I think the problem with making this silent is it's not currently > } trivial to check that the builtin that's there is actually the same as > } the one you're trying to add, so in theory it's not safe to ignore > > If you want to ignore it, "zmodload -ia zsh/stat zstat" works. I don't > think there's any reason to make -i obsolete in this case. Hmmm... the reason is we're getting reports for things that probably aren't actually bugs, and I for one would rather only get reports for actual errors. We removed the need -i from the case of "zmodload zsh/stat" because it's not an error if zsh/stat gets loaded when zsh/stat is already present. It seems to me it's equally not an error to mark zstat as a builtin from zsh/stat if it's already loaded as a builtin from zsh/stat. It would only be an error if there's a conflict. That's how "autoload" works, after all: it can't check for a conflict (without major faff) but it does check if a function's already loaded. pws