From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17597 invoked from network); 22 Jan 2009 09:57:39 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 22 Jan 2009 09:57:39 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 86449 invoked from network); 22 Jan 2009 09:57:32 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 Jan 2009 09:57:32 -0000 Received: (qmail 5348 invoked by alias); 22 Jan 2009 09:57:25 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26404 Received: (qmail 5330 invoked from network); 22 Jan 2009 09:57:25 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 22 Jan 2009 09:57:25 -0000 Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by bifrost.dotsrc.org (Postfix) with ESMTP id B563D80271F0 for ; Thu, 22 Jan 2009 10:57:20 +0100 (CET) Received: from torch.brasslantern.com ([96.238.220.215]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0KDV00IP5ABIBBY1@vms044.mailsrvcs.net> for zsh-workers@sunsite.dk; Thu, 22 Jan 2009 03:57:19 -0600 (CST) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id n0M9vHNu017109 for ; Thu, 22 Jan 2009 01:57:17 -0800 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id n0M9vGH4017108 for zsh-workers@sunsite.dk; Thu, 22 Jan 2009 01:57:16 -0800 Date: Thu, 22 Jan 2009 01:57:16 -0800 From: Bart Schaefer Subject: Re: changing bindings in isearch mode? In-reply-to: To: zsh-workers@sunsite.dk Message-id: <090122015716.ZM17107@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <18801.32959.693653.15539@gargle.gargle.HOWL> <20090117175659.1a37c70f@pws-pc> <20090119094453.4f66076b@news01> <20090119121204.4697b6a2@news01> <090119091757.ZM5344@torch.brasslantern.com> Comments: In reply to Greg Klanderman "Re: changing bindings in isearch mode?" (Jan 21, 11:01pm) X-Virus-Scanned: ClamAV 0.92.1/8889/Thu Jan 22 09:56:04 2009 on bifrost X-Virus-Status: Clean On Jan 21, 11:01pm, Greg Klanderman wrote: } Subject: Re: changing bindings in isearch mode? } } >>>>> Bart Schaefer writes: } } > accept-search is no different than undefined-key in this context, } } Actually, that's not true. What I wrote was: : the reasons no one's bothered : before include (1) accept-search is no different than undefined-key : in this context Please note the word "before". It's hardly fair to wait until the implementation changes and then call me a liar for describing the previous implementation. } If a key is undefined in the isearch map, it is looked up in the main } map, whereas if a key is bound to accept-search in the isearch map, it } has the desired effect. True for zsh where there is such a thing as the isearch map. Before that existed, the only way to have an undefined key in isearch mode was to *change the main keymap* to one where that key was undefined. Which I believe it would work to do with a wrapper as I explained in workers/26350.