zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: Tonguc Yumruk <tongucyumruk@fazlamesai.net>,
	457076@bugs.debian.org, zsh-workers@sunsite.dk
Subject: Re: Bug#457076: zsh: is-at-least does not work properly
Date: Wed, 19 Dec 2007 20:01:45 +0000	[thread overview]
Message-ID: <20071219200145.c8e68def.p.w.stephenson@ntlworld.com> (raw)
In-Reply-To: <20071219191934.GB12859@scowler.net>

On Wed, 19 Dec 2007 14:19:34 -0500
Clint Adams <schizo@debian.org> 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 functions)
> > uses setopt LOCAL_OPTIONS which is only available in ksh emulation mode.
> > Instead it should use emulate -L zsh to use LOCAL_OPTIONS in zsh mode.
> > Patch is attached.

"setopt LOCAL_OPTIONS" should work fine in all modes.  If there are places
where it doesn't that's a bug.

It would be more consistent to use "emulate -L zsh" here but it's
exactly equivalent to what's there already.

-- 
Peter Stephenson <p.w.stephenson@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/


  reply	other threads:[~2007-12-19 20:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20071219151458.GA4123@terra.galaxy>
2007-12-19 19:19 ` Clint Adams
2007-12-19 20:01   ` Peter Stephenson [this message]
2007-12-19 20:41     ` Tonguc Yumruk
2007-12-19 21:46       ` Peter Stephenson
2007-12-19 22:13         ` Ismail Dönmez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071219200145.c8e68def.p.w.stephenson@ntlworld.com \
    --to=p.w.stephenson@ntlworld.com \
    --cc=457076@bugs.debian.org \
    --cc=tongucyumruk@fazlamesai.net \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).