Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Fwd: Re: [PATCH] isearch: do not use PAT_STATIC since we call zle hooks
- X-seq: zsh-workers 40328
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Fwd: Re: [PATCH] isearch: do not use PAT_STATIC since we call zle hooks
- Date: Tue, 10 Jan 2017 18:01:44 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=qFKQxgrRyosPVz8ogt85dAlMAYo+Qivhgz+vHOzpWdA=; b=RD+KLnyawiQmvpXxAKDyRv0q2SlVuUplxLOlhq9ME90iibsvkE3DlA67ZMzMOtQdTi cHtvPdxDiLR8Xgjs/qHt8cQX7dPaLvtFu/xxqrsYxvPa/Sih7tj01TRxEsZO/Q43/iWR NRD65/mlRwTM1e/OYH58nGN8+kHWVURYUoHQq3NHRAJal1GYK64vcoyW4ccJJRFl6tYJ qzxSrzQmi5wMHYPyDghPDvIEcQYSscp5/X2qZtYBpuLvf375imgSs1+Q7GGeojNIvjc3 FHlR15zjodIYy2gZy4RYtDd3OMUf1CHcsnKGhjpvX79xD+3iHbn6SmtEtObJ8ASTnASZ 3dAw==
- In-reply-to: <CAH+w=7bXzCrfbnqx8g3a6zRrtJmTuoXn97NYOD67AkACRjziuA@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20170106172541.GA14113@fujitsu.shahaf.local2> <20170109013526.GA25236@fujitsu.shahaf.local2> <CAH+w=7bXzCrfbnqx8g3a6zRrtJmTuoXn97NYOD67AkACRjziuA@mail.gmail.com>
Primenet vs. Gmail again.
---------- Forwarded message ----------
From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
Date: Jan 8, 2017 5:48 PM
Subject: Re: [PATCH] isearch: do not use PAT_STATIC since we call zle hooks
To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
Cc:
On Sun, Jan 8, 2017 at 5:35 PM, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author