From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11583 invoked from network); 15 Oct 2003 19:14:16 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 15 Oct 2003 19:14:16 -0000 Received: (qmail 11129 invoked by alias); 15 Oct 2003 19:13:33 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19194 Received: (qmail 11090 invoked from network); 15 Oct 2003 19:13:33 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 15 Oct 2003 19:13:33 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.193.203.32] by sunsite.dk (MessageWall 1.0.8) with SMTP; 15 Oct 2003 19:13:32 -0000 Received: from DervishD.pleyades.net (212.Red-80-35-44.pooles.rima-tde.net [80.35.44.212]) by madrid10.amenworld.com (8.10.2/8.10.2) with ESMTP id h9FJDU211889; Wed, 15 Oct 2003 21:13:30 +0200 Received: from raul@pleyades.net by DervishD.pleyades.net with local (Exim MTA 2.05) id <1A9qwF-0000N7-00>; Wed, 15 Oct 2003 21:04:03 +0200 Date: Wed, 15 Oct 2003 21:04:03 +0200 From: DervishD To: Bart Schaefer Cc: zsh-workers@sunsite.dk Subject: Re: Zstyle persistence Message-ID: <20031015190403.GE1274@DervishD> Mail-Followup-To: Bart Schaefer , zsh-workers@sunsite.dk References: <1031015153105.ZM23757@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1031015153105.ZM23757@candle.brasslantern.com> User-Agent: Mutt/1.4i Organization: Pleyades User-Agent: Mutt/1.4i Hi Bart :) * Bart Schaefer dixit: > It just occurred to me that it might be useful to have zstyles > automatically saved on shell exit, like history. I can't decide if > it'd be a good idea to automatically reload them, though -- an > explicit "zstyle -R" in a startup file might be preferable. If this is done, be sure than then I *will* use zstyle to store state information }:))) Seriously, this is a pretty good idea, although I think that the automatic reload is a good thing. Make persistence optional, but optional in both ends: saving and reloading. If style persistence is active, then both save and reload automatically. If it's disabled, don't save nor reload automatically. This can be controlled by an option (persistent_styles maybe?), like history. Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 http://www.pleyades.net & http://raul.pleyades.net/