Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: history-incremental-pattern-search-backward matches all lines ending with ]
- X-seq: zsh-workers 27438
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: history-incremental-pattern-search-backward matches all lines ending with ]
- Date: Sun, 29 Nov 2009 12:20:57 +0100
- 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=
- In-reply-to: <237967ef0911280210n378eb8d5u4e803f05eb2d8548@xxxxxxxxxxxxxx>
- 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: <237967ef0911280210n378eb8d5u4e803f05eb2d8548@xxxxxxxxxxxxxx>
2009/11/28 Mikael Magnusson <mikachu@xxxxxxxxx>:
> 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
> % <ctrl-r>
> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author