From: Mikael Magnusson <mikachu@gmail.com>
To: zsh workers <zsh-workers@zsh.org>
Subject: Re: history-incremental-pattern-search-backward matches all lines ending with ]
Date: Sun, 29 Nov 2009 12:20:57 +0100 [thread overview]
Message-ID: <237967ef0911290320k5a0c0406if81584778d4cc3b2@mail.gmail.com> (raw)
In-Reply-To: <237967ef0911280210n378eb8d5u4e803f05eb2d8548@mail.gmail.com>
2009/11/28 Mikael Magnusson <mikachu@gmail.com>:
> 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
prev parent reply other threads:[~2009-11-29 11:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-28 10:10 Mikael Magnusson
2009-11-29 11:20 ` Mikael Magnusson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=237967ef0911290320k5a0c0406if81584778d4cc3b2@mail.gmail.com \
--to=mikachu@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).