From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25489 invoked from network); 26 Jul 2000 19:53:24 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 26 Jul 2000 19:53:24 -0000 Received: (qmail 10809 invoked by alias); 26 Jul 2000 19:53:04 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12389 Received: (qmail 10802 invoked from network); 26 Jul 2000 19:53:03 -0000 Date: Wed, 26 Jul 2000 20:53:01 +0100 From: Adam Spiers To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: completion caching layer Message-ID: <20000726205301.A11185@thelonious.new.ox.ac.uk> Reply-To: Adam Spiers Mail-Followup-To: zsh-workers@sunsite.auc.dk References: <200007191448.QAA11384@beta.informatik.hu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200007191448.QAA11384@beta.informatik.hu-berlin.de>; from wischnow@informatik.hu-berlin.de on Wed, Jul 19, 2000 at 04:48:24PM +0200 X-Home-Page: http://www.new.ox.ac.uk/~adam/ X-OS: RedHat Linux Sven Wischnowsky (wischnow@informatik.hu-berlin.de) wrote: > Adam Spiers wrote: > > OK, I've written the first draft of the completion caching layer I > > mentioned I was thinking about ages ago. [snip] > Shouldn't there be some way to flush the caches (in _retrieve_cache)? > I.e. some style that says when the caches should be rebuilt. > > This could be done either by a style with values that describe update > policies sensible in enough possible contexts or by using a boolean > style and let users use `zstyle -e' to implement their own policy (and > of course users could do that in the first case, too, but there may be > ways to make this more convenient for common cases). This sounds very nice, but I'm not sure what sort of policies you have in mind, and how they should be implement. Could you give a few examples?