From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: zrecompile and removed functions
Date: Wed, 5 Apr 2000 09:49:53 +0200 (MET DST) [thread overview]
Message-ID: <200004050749.JAA01547@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Andrej Borsenkow"'s message of Wed, 5 Apr 2000 11:01:14 +0400
Andrej Borsenkow wrote:
> Removed functions are not handled gracefully:
>
> bor@itsrm2% zrecompile
> re-compiling /home/bor/.zsh.d/std.zwc: failed (missing files)
>
> This is the result of renaming _try and _loop.
It would be possible to make zrecompile be quiet when it can't find
one of the functions, but I don't like that -- which you can see by
the output above, it's printed explicitly by zrecompile.
The problem with silently ignoring missing files is exactly the
situation you encountered: the files may be renamed, so the zwc file
should really be rebuild anew...
> Is it possible to remove function definitions from wordcode file? In
> this case, something like "synchronise wordcode file with directories"
> comes in mind.
...and that's why I use `zrecompile -p' (a small wrapper function that
just calls zrecompile -p with the zwc files I want to keep up to
date). With that it's easy to make zwc files always contain things
like `all functions in directory ...'.
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~2000-04-05 7:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-05 7:49 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-04-05 7:01 Andrej Borsenkow
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=200004050749.JAA01547@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.dk \
/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).