From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dmul.paulhaahr.com ([63.203.198.9]) by hawkwind.utcs.toronto.edu with SMTP id <9638>; Wed, 3 Apr 2002 15:00:51 -0500 Received: (qmail 28706 invoked by uid 500); 3 Apr 2002 15:06:47 -0000 Message-Id: Date: Wed, 3 Apr 2002 10:06:47 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Paul Haahr To: Tim Goodwin Cc: rc@hawkwind.utcs.toronto.edu Subject: Re: rc 1.6 $version In-Reply-To: <20020403143130.22327.qmail@happy.star.le.ac.uk> References: <20020314223715.003CB3F40B@quanstro.net> <20020327132716.23114.qmail@happy.star.le.ac.uk> <20020327221226.A25153@strozzi.it> <8ZFwtjf51i@dmul.paulhaahr.com> <20020403143130.22327.qmail@happy.star.le.ac.uk> X-Mailer: VM 6.30 under Emacs 20.7.1 Tim wrote > > I'd prefer $rc-version, but either should be fine. > > (As it turns out, this is all irrelevant, but I have would two > objections to this. First, `-' turns on free careting, [...] Yeah, I forgot about that. (We had fixed that in es.) > Secondly, rc is meant to be C-ish, not Lisp-ish.) That, too, we fixed in es. > Mea culpa. I failed to realise that there are two types of special > variable in rc: 1) those that merely have a default initial value, and > 2) those that invoke special code when substituted. Till now, > $version was in category 2. I've just moved it to category 1. This seems quite sensible. > As a separate matter, several variables are not exportable. These > are: $apid, $apids, $cdpath, $home, $ifs, $path, $pid, and $*. > (Remember that $cdpath, $home, and $path are all aliased to upper case > versions, which *are* exportable. Also, the default assignment to > $path happens before $PATH is examined: so if $PATH is set, $path will > acquire its value instead of the default.) > > I think $bqstatus and $status ought to be non-exportable too. I've > just made them so; you can all see what this breaks in the next > release candidate :-). Seems good to me. Three questions: - Is $version exportable? - Is $version exported if the user doesn't assign to it? - Is $version inherited from the environment? --p