From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27456 invoked by alias); 28 Aug 2010 20:47:24 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 15338 Received: (qmail 20179 invoked from network); 28 Aug 2010 20:47:19 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.160.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=CfVt8z6LCISoXK4+KDe6va+YWPvOvxMwrl0JWgvlb50=; b=ieQgH21IFx6LAG6j6alY+Ri1RXh0LO+B482ajNxxcoiiju817qn/CMHNLQ5zGF+xbt PzEhW8BcZWm7OCqvfazmieHrYiJXSePvBCYL0uNgzFB0m7zJMjcQTAdx4cP8RT3od5Kn hz42tX8ZyFIEu4Wxqi+iMXDGlGReJSgL4/qLc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=kzQKxgGN8Mja5qUoZknELiWxGDMzROteuohPREOgzgqkqYRLEgzebdPSB4fHK86o8f izPOilE7wOgH0zUhb5GUfp4EjVEAqxTRHz/HqOxBC2iSVxB46m1fyc4oe//5O1DgSMJP 1l3yuZ/OfA4sbjYP1tfjsw7dOqR5WAQymkVWs= MIME-Version: 1.0 Date: Sat, 28 Aug 2010 21:54:37 +0300 Message-ID: Subject: Please fix history-search-backward/forward From: Felipe Contreras To: zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 Hi, zle says: Search backward in the history for a line beginning with the first word in the buffer. GNU readline says: Search backward through the history for the string of characters between the start of the current line and the point. I don't see why anybody would want zle's behavior. When I type "git check"; I expect the whole text to be searched; if I wanted only the first word, I would type only the first word "git ". There's absolutely no advantage of zle's way. Now, it possible to workaround that behavior through history-search-end[1]. However, I would expect such basic functionality to be a one-liner configuration, or even better, just make zle's history-search-backward work like that by default. Moreover, it seems nobody has found necessary to workaround readline's behavior to mimic zle's behavior, and with good reason I think. This is a small issue, but it would improve the initial experience of people trying zsh. [1] http://zsh.sourceforge.net/Doc/Release/User-Contributions.html -- Felipe Contreras