Subject: Re: buggy CSH_NULL_GLOB when a pattern is at the command position
From: Bart Schaefer <[email-masked]>
To: [email-masked]
Date: Fri, 1 Jan 2016 13:10:59 -0800
List-Id: Zsh Workers List <zsh-workers.zsh.org>

On Jan 1, 12:39pm, Bart Schaefer wrote:
}
} The patch below fixes the case where all command-position globs fail

Hmm, there's something not quite right with that patch, perhaps.  Here
is zsh-5.2:

schaefer<501> [] *[c]*(e?'reply=(echo)'?)
echo echo echo echo echo echo echo echo echo

Here is current HEAD with my patch:

schaefer<501> [] *[c]*(e?'reply=(echo)'?)
zsh: no match
zsh: no match
zsh: no match
zsh: no match
zsh: no match
zsh: no match
zsh: no match
zsh: no match
zsh: no match
zsh: no match

I suspect badcshglob needs to be cleared (or saved/restored) somewhere.

-- 
Barton E. Schaefer