Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: even better history-search-{for,back}ward for 3.1.4
- X-seq: zsh-workers 4080
- From: Wayne Davison <wayne@xxxxxxxxx>
- To: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: PATCH: even better history-search-{for,back}ward for 3.1.4
- Date: Wed, 10 Jun 1998 02:33:44 -0700
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: schaefer's message of Wed, 10 Jun 1998 02:23:38 -0700. <980610022339.ZM10143@xxxxxxxxxxxxxxxxxxxxxxx>
"Bart Schaefer" writes:
> I hope not ... the new code ought to search for "fc" (without the
> space),
No, the only time history-search-backward omits the space is if you
start the search without a space on the line:
% ech<M-p>
As opposed to these:
% ech <M-p>
% ech command<M-p>
These examples only search for the command "ech", as opposed to
the prefix "ech".
> [note] the !iblank(line[histpos]).
You missed the following increment of histpos if it is less than ll
(i.e., if we found a space). This is identical to how 3.0.5 works.
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author