From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20646 invoked from network); 5 Jul 2006 16:31:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 5 Jul 2006 16:31:52 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 67341 invoked from network); 5 Jul 2006 16:31:46 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 5 Jul 2006 16:31:45 -0000 Received: (qmail 19990 invoked by alias); 5 Jul 2006 16:31:43 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22540 Received: (qmail 19980 invoked from network); 5 Jul 2006 16:31:43 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 5 Jul 2006 16:31:43 -0000 Received: (qmail 67003 invoked from network); 5 Jul 2006 16:31:42 -0000 Received: from vms046pub.verizon.net (206.46.252.46) by a.mx.sunsite.dk with SMTP; 5 Jul 2006 16:31:41 -0000 Received: from torch.brasslantern.com ([71.116.74.94]) by vms046.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J1X00LUOV8CHSA0@vms046.mailsrvcs.net> for zsh-workers@sunsite.dk; Wed, 05 Jul 2006 11:31:25 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id k65GVNAW001167 for ; Wed, 05 Jul 2006 09:31:23 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id k65GVMJA001166 for zsh-workers@sunsite.dk; Wed, 05 Jul 2006 09:31:22 -0700 Date: Wed, 05 Jul 2006 09:31:22 -0700 From: Bart Schaefer Subject: Re: Questions about character types In-reply-to: <200607051214.k65CEHQ2011360@news01.csr.com> To: zsh-workers@sunsite.dk (Zsh hackers list) Message-id: <060705093122.ZM1165@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <200607051214.k65CEHQ2011360@news01.csr.com> Comments: In reply to Peter Stephenson "Questions about character types" (Jul 5, 1:14pm) On Jul 5, 1:14pm, Peter Stephenson wrote: } } according to POSIX, only characters from the "portable character set", } which in our case means the ASCII subset, are allowed. The only way } round this I can see is to add an option POSIX_IDENTIFIERS Seems OK to me. } The test for module names currently approximates that for identifiers, } only allowing / as well, so I think using the same logic as above would } be the obvious thing to do. Agreed. } Another question is what to do with user names. Currently these are } just the ASCII identifier characters plus "-". Is it useful to extend } these to include alphanumeric characters from the local character set? My impression is that it would be, but some non-English-speakers should weigh in. } Finally, I failed to interpret this code from math.c: } } if (*ptr == '+' && (unary || !ialnum(*ptr))) { } ptr++; I suspect that's a bug. It probably originally said if (*ptr++ == '+' && (unary || !ialnum(*ptr))) { but someone realized it was wrong to increment the pointer if it was NOT equal to plus, and made an incomplete fix.