From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22972 invoked by alias); 29 Nov 2009 11:21:14 -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: 27438 Received: (qmail 25266 invoked from network); 29 Nov 2009 11:21:02 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.219.222 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=98X27ekj5OBMskM19J8o146gCZZCFB4icBuCsmR8j/0=; b=U3I4kVob2FLD9mf3zGwTQsnmugPrdo6IrWGMD28Lnb94Bu/hNOjwrsRSp5sC/77DqB sSnctOJ4xiwvz01WNQHUS94ow35Q3KT4vA1zx+1ThkhoAVMDrtPfGR0GsMWwIJKvBdo5 K8ueH0TiZXsLwzBqcxscSApM30ZofRnlfwiv0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=hpX+WHt0rUwEnEHJGFJN6gKM0mIM9dyVW8j29QzZWIwSYYzSxymxSC7BYgE/6z3snL Wsxf8kjAycrIWm6Bb9xVr+SHqxipweDY/8RVj84zRhpaZEqZmSmxYNmy737Jmh0oR3Td rNU5SLiFtO85IhyNQ9cD97LDTl7GqymEcF+yc= MIME-Version: 1.0 In-Reply-To: <237967ef0911280210n378eb8d5u4e803f05eb2d8548@mail.gmail.com> References: <237967ef0911280210n378eb8d5u4e803f05eb2d8548@mail.gmail.com> Date: Sun, 29 Nov 2009 12:20:57 +0100 Message-ID: <237967ef0911290320k5a0c0406if81584778d4cc3b2@mail.gmail.com> Subject: Re: history-incremental-pattern-search-backward matches all lines ending with ] From: Mikael Magnusson To: zsh workers Content-Type: text/plain; charset=UTF-8 2009/11/28 Mikael Magnusson : > I can't reproduce this with zsh -f (yes, I did bindkey '^r' > history-incremental-pattern-search-backward first) but I have a > feeling I'll forget about this if I don't send the mail :). > > % echo bar\] > bar] > % echo foo > % > bck-i-search: foo > > This now shows the 'echo foo' line, but pressing ctrl-r again goes to > the 'echo bar\]' line. Oops, this was due to an experiment I was doing with brace highlighting, sorry for the noise. I added a shell hook in zrefresh which is probably quite crazy, which ended up overwriting the static variables used in the isearch pattern matching. -- Mikael Magnusson