From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16199 invoked from network); 19 Dec 2007 21:09:48 -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=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:09:48 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 67789 invoked from network); 19 Dec 2007 21:09:41 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Dec 2007 21:09:41 -0000 Received: (qmail 24020 invoked by alias); 19 Dec 2007 21:09:38 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24300 Received: (qmail 2512 invoked from network); 19 Dec 2007 20:42:57 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 19 Dec 2007 20:42:57 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id 3DC258058F59 for ; Wed, 19 Dec 2007 21:39:42 +0100 (CET) Received: from cs.bilgi.edu.tr (cs.bilgi.edu.tr [212.175.10.2]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Wed, 19 Dec 2007 21:39:42 +0100 (CET) Received: from wilkes.cs.bilgi.edu.tr ([10.15.2.5] helo=cs.bilgi.edu.tr) by cs.bilgi.edu.tr with esmtpa (Exim 4.50) id 1J55kX-0000ef-8i; Wed, 19 Dec 2007 22:42:41 +0200 Date: Wed, 19 Dec 2007 22:41:07 +0200 From: Tonguc Yumruk To: Peter Stephenson Cc: 457076@bugs.debian.org, zsh-workers@sunsite.dk Subject: Re: Bug#457076: zsh: is-at-least does not work properly Message-ID: <20071219204107.GA3860@terra.galaxy> References: <20071219151458.GA4123@terra.galaxy> <20071219191934.GB12859@scowler.net> <20071219200145.c8e68def.p.w.stephenson@ntlworld.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline In-Reply-To: <20071219200145.c8e68def.p.w.stephenson@ntlworld.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: ClamAV using ClamSMTP --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable tonguc@terra:~% setopt LOCAL_OPTIONS setopt: no such option: LOCAL_OPTIONS On the other hand this works fine: tonguc@terra:~% setopt localoptions The ksh mode was my mistake. I misinterpreted the man page. Thus saith Peter Stephenson : > On Wed, 19 Dec 2007 14:19:34 -0500 > Clint Adams wrote: > > On Wed, Dec 19, 2007 at 05:15:09PM +0200, Tonguc Yumruk wrote: > > > The is-at-least function in zsh (which is used in some other function= s) > > > uses setopt LOCAL_OPTIONS which is only available in ksh emulation mo= de. > > > Instead it should use emulate -L zsh to use LOCAL_OPTIONS in zsh mode. > > > Patch is attached. >=20 > "setopt LOCAL_OPTIONS" should work fine in all modes. If there are places > where it doesn't that's a bug. >=20 > It would be more consistent to use "emulate -L zsh" here but it's > exactly equivalent to what's there already. >=20 > --=20 > Peter Stephenson > Web page now at http://homepage.ntlworld.com/p.w.stephenson/ --=20 Sevgi Sayg=C4=B1 GNU/Linux ######################################################################## All seems condemned in the long run to approximate a state akin to Gaussian noise. -- James Martin ######################################################################## Tongu=C3=A7 Yumruk --4Ckj6UjgE2iN1+kY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHaYHj1xWu4MLSyoYRAvjPAJ9Kvzb97zrRJ1cz0r1JkJsWGS8DSgCeLEKY F7h1ebTIH/3CU6N5jNDnuTg= =yera -----END PGP SIGNATURE----- --4Ckj6UjgE2iN1+kY--