From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5382 invoked by alias); 8 Nov 2013 03:16:56 -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: 18122 Received: (qmail 6422 invoked from network); 8 Nov 2013 03:16:51 -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.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Date: Fri, 8 Nov 2013 04:16:46 +0100 From: Axel Beckert To: zsh-users@zsh.org Subject: Re: zsh 5.0.2-test-1 is available Message-ID: <20131108031646.GZ3544@sym.noone.org> Mail-Followup-To: zsh-users@zsh.org 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <131107173627.ZM24325@torch.brasslantern.com> X-Operating-System: Linux 2.6.32-5-xen-amd64 X-Machine: sym2 x86_64 X-Editor: GNU Emacs 23.2.1 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAAAAAC3mUtaAAAABGdBTUEAALGPC/xhBQAAADh0RVh0U29mdHdhcmUAWFYgVmVyc2lvbiAzLjEwYSAgUmV2OiAxMi8yOS85NCAoUE5HIHBhdGNoIDEuMindFS5JAAACGElEQVQ4jXXQMU8UYRDG8f8shNjdDH4AbpfGDjAWlKiJiZ0ajL1aGCvsNCbGaCGG1koLaztaTYz6ATy+gOyehYmF3MxVxgg3FnDsHcTpJr/M+8w7Rf6nCsaVTTDqxbg9hoOXmw83H71+Eyfg4E1d7/Z2fG9rGkZbTQiu+K+3U/C+76lmkvAhJuDndnoAiftou4V84okAGclop4U/jYACZDTxrYWP0gkxVfAm/W//GLZpxIzwIN0Hn8dw0B+IWkZmQmRsj2HfhwokEklHfNCCiQCRgAR7YyhQVRVTCKCzP4Y5zBBE0t0zY3Q8oQaBqqAMlVEcgVQd9706zGirAFium8HXumlMIeMwqQCInju+2+uB6MRENupdpMt8pRlHZyuAW0F+Mb6XSIVqtxjD+iVmVqqystLEzFTGT92YqRaXpNT5eTVjeJhbALPnrTxLUZUKZsgxcNm64hAOYisT/xhF+oKTGU5RegtC3Rt6eEDi/QnIevdTx9Md2EMmYBRmCQR1026FCGQQJJExsRUqgkMGaWSbwYLnoO4T6VgpbQbdELPMBAHWWrhYrcxXnYgAsatPWygkFCBD4K62MAsOTqA6szYRPpsu6e6Y8mPiVrBMNuGIMrgwBUu4p2DgG1Ownu6hpuTv7hScefHAzAC/yRRw5U5pALMbJ4AUALvHSZhxgHPXTsHcdWD1GadAHr9avP+c0wCr7263Df8ASLwXWHWs+KIAAAAHdElNRQfYBQEBODPr Organization: DeuxChevaux.org -- The =?iso-8859-1?Q?Citr?= =?iso-8859-1?B?b+tu?= 2CV Database User-Agent: Mutt/1.5.20 (2009-06-14) Hi, On Thu, Nov 07, 2013 at 05:36:27PM -0800, Bart Schaefer wrote: > On Nov 7, 2:18pm, Phil Pennock wrote: > } My startup files do: > } > } zmodload -F zsh/stat b:zstat > } > } With that run, `zmodload` does *not* list the zsh/stat module, in either > } 5.0.2-test-1 or 5.0.2. > } > } However, If I then run `zmodload -a zsh/stat zstat` then in 5.0.2 it > } succeeds silently, but in 5.0.2-test-1 I see the error which Axel > } reports. > > I just checked out commit daa828bc51b48110f0a584fa2b74895d2cc761c1 and > compiled it. I get the same error message in 5.0.2 as in -test-1. > > schaefer<501> zmodload -F zsh/stat b:zstat > schaefer<502> zmodload -a zsh/stat zstat > zmodload: failed to add builtin `zstat' > schaefer<503> print $ZSH_VERSION $ZSH_PATCHLEVEL > 5.0.2 1.5778 > > In fact: > > burner% zmodload -F zsh/stat b:zstat > burner% zmodload -a zsh/stat zstat > zmodload: failed to add builtin `zstat' > burner% print $ZSH_VERSION $ZSH_PATCHLEVEL > 4.3.17 Debian ~ → zmodload -F zsh/stat b:zstat ~ → zmodload -a zsh/stat zstat zmodload: failed to add builtin `zstat' ~ → print $ZSH_VERSION $ZSH_PATCHLEVEL 4.3.10 Debian Nevertheless I don't get that error message via my zshrc, neither with 4.3.10 (Debian Squeeze/Oldstable), 4.3.17 (Debian Wheezy/Stable) nor 5.0.2 (Debian Sid/Unstable), just 5.0.2-test-1. > So I don't know why you weren't getting the error message before, but > it's not a code regression. I suspect that Phil's and my issues are not as similar as they might look at a first glance. Ah "git grep zmodload" over my (well, grml's) zshrc shows: ~/.zsh/grml-etc-core → git grep zmodload etc/zsh/keephack:zmodload -i zsh/complist etc/zsh/zshrc: zmodload zsh/zprof etc/zsh/zshrc: zmodload -i zsh/${mod} 2>/dev/null || print "Notice: no ${mod} available :(" etc/zsh/zshrc: zmodload -a zsh/stat zstat etc/zsh/zshrc: zmodload -a zsh/zpty zpty etc/zsh/zshrc: zmodload -ap zsh/mapfile mapfile usr_share_grml/zsh/functions/Lookup/Backends/LOOKUP_be_rfc: if ! zmodload zsh/zftp ; then (Not sure if that helps.) Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe@deuxchevaux.org (Mail) X See http://www.asciiribbon.org/ | abe@noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)