Subject: Re: _history-complete-older problems with $(
From: Bart Schaefer <[email-masked]>
To: Zsh hackers list <[email-masked]>
Date: Tue, 12 Jan 2016 17:59:42 -0800
List-Id: Zsh Workers List <zsh-workers.zsh.org>

On Jan 13,  1:01am, Daniel Shahaf wrote:
}
} Strictly speaking, ${(z)} should always be applied to $PREBUFFER$LBUFFER
} or $PREBUFFER$BUFFER, not merely to $BUFFER, otherwise things like
} string literals with embedded newlines can confuse the result.

Hmm, that's a difficult call.  That also means setting the $words array
to the full parse of $PREBUFFER$BUFFER, which I don't think matches what
the completion internals do.

OTOH the whole reason for this is to subvert the internals, so ...