Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] isearch: do not use PAT_STATIC since we call zle hooks
- X-seq: zsh-workers 40330
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH] isearch: do not use PAT_STATIC since we call zle hooks
- Date: Sun, 8 Jan 2017 17:48:15 -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=aHGgDgVG/X9c0qG50/9e1t9Ed9S5a3FESF8OL/Cm+eQ=; b=cu7DO053Z2o0aNHpd0OQ+xO7qUNhhfxy/zubBivy+FNfK0Wtr+bsbdO+dbmNH2iU4R OBnw9VqntSRNK2RpJqossIPZqLx2k+pgUsXfnJH0Z7v92w0ZrJHs6ZrnxOIyONHhE+ep JNPsCCsUgYJM57xMbCyeG+QIc5nsFWSQAxl8DgjppDCLuh0U3zwYxxw9KARZLrEcCPZa +mCKzLwWLzgu70SSkjaJolpcj7M7iyOegYrTH11KBeH4UI5lW5dSrmJ6iX/HlBAfIIIP xXAm+js9jTmHLXusF5PmIJ+2668LWWbpcfTZgqTe1+8VaPWxq/0eTY4IEAuU7gXhWynH 9X5g==
- In-reply-to: <20170109013526.GA25236@fujitsu.shahaf.local2>
- 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>
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