Primenet vs. Gmail again. ---------- Forwarded message ---------- From: "Bart Schaefer" Date: Jan 8, 2017 5:48 PM Subject: Re: [PATCH] isearch: do not use PAT_STATIC since we call zle hooks To: "zsh-workers@zsh.org" Cc: On Sun, Jan 8, 2017 at 5:35 PM, Daniel Shahaf wrote: > > Is there a way to probe for this bug at runtime? I.e., a way for > a script to determine whether the zsh binary that interprets it has or > hasn't this bug? You'd need something similar to the zpty-based Test/ scripts for completion and vicmd, because you need to invoke interactive search with a hook function. For this specific bug, that is. One could probably devise by examination of all uses of PAT_STATIC in the code base a test for the more general case with trap handlers that I mentioned elsewhere in the thread.