From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13253 invoked from network); 14 Oct 2003 16:12:22 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 14 Oct 2003 16:12:22 -0000 Received: (qmail 22820 invoked by alias); 14 Oct 2003 16:08:47 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6699 Received: (qmail 22799 invoked from network); 14 Oct 2003 16:08:46 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 14 Oct 2003 16:08:46 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.193.203.32] by sunsite.dk (MessageWall 1.0.8) with SMTP; 14 Oct 2003 16:8:46 -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 h9EG8b908954 for ; Tue, 14 Oct 2003 18:08:40 +0200 Received: from raul@pleyades.net by DervishD.pleyades.net with local (Exim MTA 2.05) id <1A9RbF-00005j-00>; Tue, 14 Oct 2003 18:00:41 +0200 Date: Tue, 14 Oct 2003 18:00:41 +0200 From: DervishD To: Zsh Users Subject: Is this an orthodox use of zstyle? Message-ID: <20031014160041.GA343@DervishD> Mail-Followup-To: Zsh Users Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4i Organization: Pleyades User-Agent: Mutt/1.4i Hi all :) I think I can use styles to carry state information from one widget execution to another, so the widget will behave differently depending on the result of past executions, but: is this an orthodox use of styles or is it more like using mozilla for opening my /etc/hostname just because I can do it? I know that I can do this with an environment variable, but since the state information can be a bit complex I will need an array, or maybe a couple for separating information, or even an associative one, and I think that the contexts and styles are very useful here. Just guessing if I'm trying to kill flies using a bazooka... (sorry, can't find a better translation of this spanish expression...) Thanks a lot in advance :) Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 http://www.pleyades.net & http://raul.pleyades.net/