zsh-workers
 help / color / mirror / code / Atom feed
From: Zefram <zefram@fysh.org>
To: Bart Schaefer <schaefer@candle.brasslantern.com>
Cc: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>,
	 zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: wordcode files
Date: Thu, 2 Mar 2000 17:52:44 +0000 (GMT)	[thread overview]
Message-ID: <E12QZmG-0005xo-00@crucigera.fysh.org> (raw)
In-Reply-To: <1000302164323.ZM15688@candle.brasslantern.com> from Bart Schaefer at "Mar 2, 2000 04:43:23 pm"

Bart Schaefer wrote:
>How does that help with the situation where I have a directory named
>"foo" and a file named "foo.zwc" both within the same parent directory?

One logical way to handle this (if .../foo is in $fpath) is that the
digest file is treated as a cache of the directory in the same way that
individual wordcode files cache individual text files.  So if autoloading
`bar' from that $fpath entry, zsh would date-compare (a) .../foo/bar (text
file), (b) .../foo/bar.zwc (individual wordcode), and (c) .../foo.zwc
(entry for `bar' in digest file), and use the newest of the three.

I'm not necessarily recommending this, it's just something to think about.

-zefram


  reply	other threads:[~2000-03-02 17:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-02 10:03 Sven Wischnowsky
2000-03-02 16:28 ` Bart Schaefer
2000-03-02 16:43 ` Bart Schaefer
2000-03-02 17:52   ` Zefram [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-03-09  9:37 Sven Wischnowsky
2000-03-02  9:09 Sven Wischnowsky
2000-03-03  4:09 ` Bart Schaefer
2000-03-01 16:00 Sven Wischnowsky
2000-03-01 10:06 Sven Wischnowsky
2000-03-01 15:24 ` Tanaka Akira
2000-03-01 16:58 ` 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=E12QZmG-0005xo-00@crucigera.fysh.org \
    --to=zefram@fysh.org \
    --cc=schaefer@candle.brasslantern.com \
    --cc=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).