From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14582 invoked by alias); 11 Jan 2017 03:37:57 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 40328 Received: (qmail 24883 invoked from network); 11 Jan 2017 03:37:57 -0000 X-Qmail-Scanner-Diagnostics: from mail-qk0-f180.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.220.180):SA:0(-0.7/5.0):. Processed in 3.29531 secs); 11 Jan 2017 03:37:57 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=HTML_MESSAGE, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.220.180 as permitted sender) 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== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=qFKQxgrRyosPVz8ogt85dAlMAYo+Qivhgz+vHOzpWdA=; b=LyeqsAvO4EDL9f4ILjrjed7099apXK+LULnC1iE6cU3TMNl38jpYBkJy74iUzuD+nF zWxpsXMzCo5sRvuekitB09HebwQ2VcdEwdZaa2dbE9BIho/l7Oa7y4UZ/G7TEId50/Fe aRpRbg+eC3v+Z3Xqq7p8BCJTJ37GYa1LZj4/qOFcQMV0+7UFpP6FpCtCQ0IDbCfMKpCZ hD+EZeMoVFJ4bXRzUbZQAJXN59ujR90l8dcvkuh02NzskRDgefsI7tUrzRBzUrhNVTjL 5FsYyajkttBaLCoAkJp1b4OAq9+KgweTsztrRsktkrTrqBY5vI8p8Lwo6iT5UJCf+wGQ 1sJw== X-Gm-Message-State: AIkVDXLgTQvlbygVt24eLXA9ORU7ukbjXKRleRADYwNOxxkw9cNd5pYjc6I4YO2qdPM+/k9lJxmqLjFQ12b07A== X-Received: by 10.55.79.23 with SMTP id d23mr6591152qkb.180.1484100104614; Tue, 10 Jan 2017 18:01:44 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <20170106172541.GA14113@fujitsu.shahaf.local2> <20170109013526.GA25236@fujitsu.shahaf.local2> From: Bart Schaefer Date: Tue, 10 Jan 2017 18:01:44 -0800 Message-ID: Subject: Fwd: Re: [PATCH] isearch: do not use PAT_STATIC since we call zle hooks To: Zsh hackers list Content-Type: multipart/alternative; boundary=001a114a766e8c0b1e0545c7fb09 --001a114a766e8c0b1e0545c7fb09 Content-Type: text/plain; charset=UTF-8 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. --001a114a766e8c0b1e0545c7fb09--