zsh-users
 help / color / mirror / code / Atom feed
From: Axel Beckert <abe@deuxchevaux.org>
To: zsh-users@zsh.org
Subject: Re: zsh 5.0.2-test-1 is available
Date: Fri, 8 Nov 2013 04:16:46 +0100	[thread overview]
Message-ID: <20131108031646.GZ3544@sym.noone.org> (raw)
In-Reply-To: <131107173627.ZM24325@torch.brasslantern.com>

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)


  reply	other threads:[~2013-11-08  3:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-06 20:23 Peter Stephenson
2013-11-06 21:57 ` Phil Pennock
2013-11-07 15:33 ` Axel Beckert
2013-11-07 16:05   ` Peter Stephenson
2013-11-07 19:18     ` Phil Pennock
2013-11-08  1:36       ` Bart Schaefer
2013-11-08  3:16         ` Axel Beckert [this message]
2013-11-08  6:01           ` Bart Schaefer
2013-11-08  7:16         ` Phil Pennock
2013-11-08  9:38           ` Peter Stephenson
2013-11-08 14:39             ` Bart Schaefer
2013-11-08 16:11               ` Peter Stephenson
2013-11-09  2:11                 ` Bart Schaefer
2013-11-09  3:35                   ` John
2013-11-09  5:20                     ` Shawn Wilson
2013-11-09 22:32                   ` 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=20131108031646.GZ3544@sym.noone.org \
    --to=abe@deuxchevaux.org \
    --cc=zsh-users@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).