Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: muddled completion search status
- X-seq: zsh-workers 35502
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: PATCH: muddled completion search status
- Date: Wed, 17 Jun 2015 11:05:01 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1434531902; bh=hadKD3GaOjSYtTLCrMhmY7bzohl9qd4/HLO0sJvBQbA=; h=In-reply-to:From:References:To:Subject:Date:From:Subject; b=D0V7U2+43aZ5nvZAa/10LnBA+Jb9I2rRQ4eThUEljQGmkjjyqujr5GhGqhX6VjgHoRNAiqpnrhlh66W5tBGYYujlrt4poTW+S9sfIrejVCTok9f0XqOXbs2NTaFQIAlcy8FY+QjtHBRTxjyNf3FUikpHDltUpStIW2AAk1I4PH/9eX1zkgMgS78ant2tOorP+SJ2F2KDsk0V4Vcv16hOXkVCg5t3/+yf+t+kbxYVYaM6tLTR1Obm9A//pm/Z+G+mORHrU2gZWvfg/6f/tC2tBBaufX5IdmRzb4y+8EtoszBUokjiHCg2Hm4CTwKcjW3b4e2Og9bXCK74rr+iKbS08w==
- In-reply-to: <150616171549.ZM28192@torch.brasslantern.com>
- 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: <23493.1434450587@thecus.kiddle.eu> <26384.1434494110@thecus.kiddle.eu> <150616171549.ZM28192@torch.brasslantern.com>
Bart wrote:
> Unless I misunderstand you, repeating a search in emacs searches again
> for the last-searched-for string no matter which direction the new
> search is going. The same is true for vi's "n" or "N" command for
> searching again up/downward. Why do you think it's wrong to restore
> the last search string? I would prefer not to break similarity (I won't
> go so far as to say "compatibility") with emacs in this regard.
>
> So maybe I'm just not following what you mean.
This is not the reuse of the current search string which is what you
describe but a feature where an older, previous search string from a
past search gets reinstated:
% echo one
% echo two
% ^Recho^J
% echo three
% ^R^R
bck-i-search: echo_
When the current search string is empty, invoking either of
history-incremental-search-for/back-ward will reinstate an older search.
With my change, a direction change suppresses this.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author