From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1814 invoked from network); 14 Oct 1999 10:55:33 -0000 Received: from mail2.primenet.com.au (HELO primenet.com.au) (203.24.36.6) by ns1.primenet.com.au with SMTP; 14 Oct 1999 10:55:33 -0000 Received: (qmail 19890 invoked from network); 14 Oct 1999 10:55:26 -0000 Received: from sunsite.auc.dk (130.225.51.30) by mail2.primenet.com.au with SMTP; 14 Oct 1999 10:55:26 -0000 Received: (qmail 20230 invoked by alias); 14 Oct 1999 10:52:43 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8248 Received: (qmail 20222 invoked from network); 14 Oct 1999 10:52:42 -0000 Message-ID: <3805B5F1.E70D351A@u.genie.co.uk> Date: Thu, 14 Oct 1999 11:52:33 +0100 From: Oliver Kiddle X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: zsh-workers@sunsite.auc.dk Subject: Re: Module idea to help developers References: <991013162014.ZM14485@candle.brasslantern.com> <19991013144233.A23715@dman.com> <991014034839.ZM15300@candle.brasslantern.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Bart Schaefer wrote: > We could make a little module that implements a special array > parameter `patches', and stick a line in that module to identify > each patch I'm not sure that it would be best implemented as a module - an increasing amount of zsh seems to be written in shell code and you wouldn't want to have to recompile the binary just to account for those patches. It would be just as convenient if you used a simple text file in the source area to list the patches. > We'd need a convention of some kind -- either it could be up to the patch- > applier to insert the article number by hand, or (better) the patch-maker > should supply a hunk for that module that adds a string he's made up. Such > a hunk would be likely to fail if some prerequisite patch was not present I think it would be rather awkward if the patch-maker had to include a suitable hunk. Also, the patch-maker wouldn't know the message number so the patch numbers couldn't correspond to message numbers. How do you extract patches from e-mails - I'd be inclined to write a filter which takes the message header to grab the message number and puts it in a file. It can then also cut out the patch. It'd work quite conveniently if you used z-mail or mush and their scripting. > and PWS is apparently offline for an indeterminate time. I was hoping > for something quick but effective in the meantime. If PWS is going to be away for a while then it might help a lot if someone else releases an intermediate release. I rarely apply c-code patches because it's not normally a long wait to the next pws release but I had wanted to apply a couple of Sven's recent patches. I had little success with this so I'll either have to get all the patches from the archive or wait. Oliver Kiddle