From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17439 invoked from network); 19 Dec 2007 21:48:09 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 19 Dec 2007 21:48:09 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 99148 invoked from network); 19 Dec 2007 21:48:03 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Dec 2007 21:48:03 -0000 Received: (qmail 24902 invoked by alias); 19 Dec 2007 21:48:00 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24301 Received: (qmail 24880 invoked from network); 19 Dec 2007 21:47:59 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 19 Dec 2007 21:47:59 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id 66A268058F59 for ; Wed, 19 Dec 2007 22:44:45 +0100 (CET) Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Wed, 19 Dec 2007 22:44:44 +0100 (CET) Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20071219214837.BUZA6054.mtaout02-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com>; Wed, 19 Dec 2007 21:48:37 +0000 Received: from pws-pc ([82.6.96.116]) by aamtaout01-winn.ispmail.ntl.com with SMTP id <20071219214849.JFGN219.aamtaout01-winn.ispmail.ntl.com@pws-pc>; Wed, 19 Dec 2007 21:48:49 +0000 Date: Wed, 19 Dec 2007 21:46:04 +0000 From: Peter Stephenson To: Tonguc Yumruk , 457076@bugs.debian.org, zsh-workers@sunsite.dk Subject: Re: Bug#457076: zsh: is-at-least does not work properly Message-Id: <20071219214604.db454282.p.w.stephenson@ntlworld.com> In-Reply-To: <20071219204107.GA3860@terra.galaxy> References: <20071219151458.GA4123@terra.galaxy> <20071219191934.GB12859@scowler.net> <20071219200145.c8e68def.p.w.stephenson@ntlworld.com> <20071219204107.GA3860@terra.galaxy> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP On Wed, 19 Dec 2007 22:41:07 +0200 Tonguc Yumruk wrote: > tonguc@terra:~% setopt LOCAL_OPTIONS > setopt: no such option: LOCAL_OPTIONS > > On the other hand this works fine: > > tonguc@terra:~% setopt localoptions I wonder if that's a function of your locale ($LANG setting)? It's possible it's not translating upper case characters to lower case properly. Ah, in fact it probably is... 2007-03-15 Peter Stephenson * 23219: Src/options.c: Ismail Dönmez reported that lower casing of I to dotless i in tr_TR.UTF-8 broke option handling. I would guess you'll find that any option with an upper case I in it won't work properly. Now I look, I've found I've missed a place that needs this fix (although it doesn't apply here). Index: Src/options.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/options.c,v retrieving revision 1.37 diff -u -r1.37 options.c --- Src/options.c 18 Jun 2007 13:25:05 -0000 1.37 +++ Src/options.c 19 Dec 2007 21:46:08 -0000 @@ -571,7 +571,9 @@ if (*t == '_') chuck(t); else { - *t = tulower(*t); + /* See comment in optlookup() */ + if (*t >= 'A' && *t <= 'Z') + *t = (*t - 'A') + 'a'; t++; } -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/