zsh-workers
 help / color / mirror / code / Atom feed
From: Stephane Chazelas <stephane@chazelas.org>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [PATCH] Fix [:IDENT:] vs posixidentifiers
Date: Mon, 22 Mar 2021 17:17:46 +0000	[thread overview]
Message-ID: <20210322171746.67pb332lvf3a3pkk@chazelas.org> (raw)
In-Reply-To: <20210207155013.ean4tgv57uhn22nu@chazelas.org>

Ping again. Note that it's pretty straighforward, and I don't
expect anyone would object to it.

I also have a (much more involved and arguable) "limit" patch
from last year which might be on someone's review queue.

Maybe it would help to publish review queues on zsh.org (may as
flat list of workers/1234 lines for each reviewer), so patch
submitters can know whether or not the patch is being considered
but reviewer are overwhelmed or it simply fell through the cracks.

(in any case, I'm in no particular hurry for that (minor) bug to
be fixed).

Cheers,
Stephane

2021-02-07 15:50:13 +0000, Stephane Chazelas:
> Ping. Anybody objecting to this?
> 
> 2020-12-17 15:08:44 +0000, Stephane Chazelas:
> > $ zsh -c '[[ é = [[:IDENT:]] ]]' || echo no
> > no
> > $ zsh -o posixidentifiers -c '[[ é = [[:IDENT:]] ]]' && echo yes
> > yes
> > 
> > That should be the other way round.
> > 
> > 
> > From: Stephane Chazelas <stephane@chazelas.org>
> > Date: Thu, 17 Dec 2020 14:49:50 +0000
> > Subject: [PATCH] Fix [:IDENT:] vs posixidentifiers
> > 
> > wcsitype(c, IIDENT) should return false for non-ASCII characters
> > when the POSIX_IDENTIFIERS option is on, not the other way round.
> > ---
> >  Src/utils.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/Src/utils.c b/Src/utils.c
> > index 5151b89a8..2a8d677a7 100644
> > --- a/Src/utils.c
> > +++ b/Src/utils.c
> > @@ -4327,7 +4327,7 @@ wcsitype(wchar_t c, int itype)
> >      } else {
> >  	switch (itype) {
> >  	case IIDENT:
> > -	    if (!isset(POSIXIDENTIFIERS))
> > +	    if (isset(POSIXIDENTIFIERS))
> >  		return 0;
> >  	    return iswalnum(c);
> >  
> > -- 
> > 2.29.2
> > 
> 


  parent reply	other threads:[~2021-03-22 17:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-17 15:08 Stephane Chazelas
2021-02-07 15:50 ` Stephane Chazelas
2021-02-07 20:24   ` Bart Schaefer
2021-02-08  5:53     ` Daniel Shahaf
2021-02-08 20:51       ` Bart Schaefer
2021-02-09  9:11         ` Peter Stephenson
2021-03-22 17:17   ` Stephane Chazelas [this message]
2021-03-22 23:45     ` Lawrence Velázquez
2021-03-25  1:06       ` Daniel Shahaf
2021-03-28  1:48         ` Lawrence Velázquez
2021-03-29  6:30           ` Patch management workflow for threads that peter out (was: Re: [PATCH] Fix [:IDENT:] vs posixidentifiers) Daniel Shahaf
2021-03-29  6:35             ` Bart Schaefer
2021-03-29  7:26               ` Daniel Shahaf
2021-05-16 17:07                 ` Lawrence Velázquez
2021-05-16 18:24                   ` Bart Schaefer
2021-05-18  0:38                     ` Daniel Shahaf
2021-03-23  5:34     ` [PATCH] Fix [:IDENT:] vs posixidentifiers dana

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=20210322171746.67pb332lvf3a3pkk@chazelas.org \
    --to=stephane@chazelas.org \
    --cc=zsh-workers@zsh.org \
    /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).