From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14407 invoked from network); 1 Dec 2006 10:31:17 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.7 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 1 Dec 2006 10:31:17 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 4718 invoked from network); 1 Dec 2006 10:31:11 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 1 Dec 2006 10:31:11 -0000 Received: (qmail 28705 invoked by alias); 1 Dec 2006 10:31:07 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23024 Received: (qmail 28694 invoked from network); 1 Dec 2006 10:31:06 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 1 Dec 2006 10:31:06 -0000 Received: (qmail 4300 invoked from network); 1 Dec 2006 10:31:06 -0000 Received: from cluster-c.mailcontrol.com (168.143.177.190) by a.mx.sunsite.dk with SMTP; 1 Dec 2006 10:31:02 -0000 Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly20c.srv.mailcontrol.com (MailControl) with ESMTP id kB1AUMrm030320 for ; Fri, 1 Dec 2006 10:30:58 GMT Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.1830); Fri, 1 Dec 2006 10:29:56 +0000 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.13.8/8.13.4) with ESMTP id kB1ATrCT032712 for ; Fri, 1 Dec 2006 10:29:53 GMT Received: from csr.com (pws@localhost) by news01.csr.com (8.13.8/8.13.8/Submit) with ESMTP id kB1ATrNx032709 for ; Fri, 1 Dec 2006 10:29:53 GMT Message-Id: <200612011029.kB1ATrNx032709@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: UNPATCH: calendar system In-reply-to: <200611301933.kAUJXokQ025624@news01.csr.com> References: <200611301933.kAUJXokQ025624@news01.csr.com> Comments: In-reply-to Peter Stephenson message dated "Thu, 30 Nov 2006 19:33:50 +0000." Date: Fri, 01 Dec 2006 10:29:53 +0000 From: Peter Stephenson X-OriginalArrivalTime: 01 Dec 2006 10:29:56.0191 (UTC) FILETIME=[A52ACEF0:01C71533] Content-Type: text/plain MIME-Version: 1.0 X-Scanned-By: MailControl A-07-06-80 (www.mailcontrol.com) on 10.67.0.130 Peter Stephenson wrote: > I'm about (probably tomorrow morning) to commit a calendar function > system I've written based around the strftime builtin, with support for > sched for alerts. There are a number of limitations but it seems now to > be basically working. It's quite large, so I won't post it. Done. Comments welcome. See the Bugs section at the end of zshcalsys.1. By the way, I added one fix outside this module: the file-list style can be made to avoid trampling on an external "stat" programme by preloading the stat builtin and disabling it: zmodload zsh/stat disable stat This is also appropriate for the "age" glob qualifier function, which also uses the stat builtin. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070 To access the latest news from CSR copy this link into a web browser: http://www.csr.com/email_sig.php