From: Wayne Davison <wayne@tenor.clarinet.com>
To: Zsh hacking and development <zsh-workers@math.gatech.edu>
Subject: Minor change for new isearch code
Date: Sun, 12 May 1996 11:48:25 -0700 [thread overview]
Message-ID: <199605121848.LAA03420@tenor.clari.net> (raw)
Here's a minor tweak for the incremental search code based on my last
patch. It just makes the startup case where you begin the search from
somewhere in the history a little more efficient by using the metafied
history entry directly rather than building one from "line".
Index: zle_hist.c
@@ -637,7 +637,7 @@
s = curhistline = metafy(UTOSCP(line), ll, META_DUP);
}
else
- s = metafy(UTOSCP(line), ll, META_USEHEAP);
+ s = qgetevent(histline);
bindtab = mainbindtab;
pos = metalen(s, cs);
for (;;) {
..wayne..
next reply other threads:[~1996-05-12 19:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-12 18:48 Wayne Davison [this message]
1996-05-13 1:12 ` Zoltan Hidvegi
1996-05-13 11:22 ` Wayne Davison
1996-05-14 3:11 ` Zoltan Hidvegi
1996-05-14 17:21 ` Wayne Davison
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=199605121848.LAA03420@tenor.clari.net \
--to=wayne@tenor.clarinet.com \
--cc=zsh-workers@math.gatech.edu \
/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).