zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <clint@zsh.org>
To: Bart Schaefer <schaefer@candle.brasslantern.com>
Cc: zsh-workers@sunsite.dk
Subject: Re: PATCH: check deleted .zwc files
Date: Sun, 10 Jun 2001 07:34:18 -0400	[thread overview]
Message-ID: <20010610073418.B4640@dman.com> (raw)
In-Reply-To: <1010609205833.ZM20464@candle.brasslantern.com>; from schaefer@candle.brasslantern.com on Sat, Jun 09, 2001 at 08:58:32PM +0000


> Clint, maybe you could explain more WHY you want this to work?  Is it
> for the case where the ONLY place from which zsh can load the function
> definition is the (removed but still mapped) digest file?  Or is there
> some reason that you want the mapped file to take precedence over any
> other file on disk?

The former.  In Debian, when someone upgrades their zsh package,
the binary, docs, functions, modules, and wordcode digests get
removed, and those of the new version are put in place.
The directories are versioned, so "place" is a unique pathname.
The user with a running shell finds his $fpath emptied,
usually when he hits TAB for a completion that has not yet
been autoloaded, and zsh spams him with pages of "function
definition file not found".

In this particular scenario, the mapped file should never take
precedence over the on-disk file, since unless the administrator
has for some reason reinstalled the very same version, that
on-disk file won't exist.

Perhaps everyone would be happier if the deleted files were only
checked if the function could not be found anywhere else.


  reply	other threads:[~2001-06-10 11:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-08 18:17 Clint Adams
2001-06-08 18:50 ` Bart Schaefer
2001-06-08 19:04   ` Clint Adams
2001-06-08 19:46     ` Bart Schaefer
2001-06-08 19:53       ` Clint Adams
2001-06-09  5:37         ` Andrej Borsenkow
2001-06-10 11:11           ` Clint Adams
2001-06-09 20:58         ` Bart Schaefer
2001-06-10 11:34           ` Clint Adams [this message]
2001-06-13  5:03             ` Bart Schaefer
2001-06-13  8:59               ` Sven Wischnowsky
2001-06-13 10:22                 ` Bart Schaefer
2001-06-18  7:31                   ` Sven Wischnowsky
2001-06-09 10:05 ` Cygwin failure " Andrej Borsenkow
2001-06-09 17:42   ` Bart Schaefer

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=20010610073418.B4640@dman.com \
    --to=clint@zsh.org \
    --cc=schaefer@candle.brasslantern.com \
    --cc=zsh-workers@sunsite.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).