From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24543 invoked by alias); 17 Jun 2015 09:11:23 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35502 Received: (qmail 2026 invoked from network); 17 Jun 2015 09:11:20 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) 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,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.0 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== X-Yahoo-Newman-Id: 634382.43190.bm@smtp109.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 5BT7NsQVM1nUcqHGPEwwPtLI9.gphBsDD0m8xuqLFRdmGVz PT0Uytvm1KLE6h624.FM07B2_VNDripxntG48T1nEQu4TWpOJWGXbkXX8ekj GV.0.spgguM2fO8bElC83bKcrLD1ptSGNn7vBVJZIXARGawvQiCk_AeWT7C6 rRnxcbVkh4i2CbXkWqqCjpbSzVIf65Shm9OlrFjWNd_awwZF8T60m9GujFpk DH9Ya9JsQ67qNk81V95TgCqlG08Bje8ah1uHkvNlfDk4d2qzaIo4vYwOIiwe sD9soo_jgfxYyc5al_Ar6m.FbUdP9VuV3emOGKWtTQTFiBy7G6FZdqIpkLr. wwDLcakwJIm1feIRj_hN7YBiBP9Zd2pJGFkOtI8vHgiBV_31x63SIrdDjUN9 MmcSqyFXDW486idFoxHwa7I27KtAHv5Gmc5yxWEeA4QNdrjX3jORHj7Vvy5P CtpFhaH4uMkDb4p_hnbYZ4x7P8xB3DX9qkjpDaXU3BELKF3holXds8d5yRWV Nn2f61TxL7C0uuGvJXvmcJBQBGwV6_ICv X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- In-reply-to: <150616171549.ZM28192@torch.brasslantern.com> From: Oliver Kiddle References: <23493.1434450587@thecus.kiddle.eu> <26384.1434494110@thecus.kiddle.eu> <150616171549.ZM28192@torch.brasslantern.com> To: Zsh workers Subject: Re: PATCH: muddled completion search status MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28044.1434531901.1@thecus.kiddle.eu> Date: Wed, 17 Jun 2015 11:05:01 +0200 Message-ID: <28045.1434531901@thecus.kiddle.eu> 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