From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25901 invoked by alias); 9 Jun 2010 20:19:28 -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: 15114 Received: (qmail 24741 invoked from network); 9 Jun 2010 20:19:15 -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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.214.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:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=nY8kq5dVm7PgTauKfPI3AGfg+CTt+4Pc+rREstaMg+s=; b=AJ53IUw1yRuZ/LIFVuLB9q8ylAkMuM7rjFCT5n0GYTK61ak6wUOmUCJcL0wN4IVKat COSQX7OwtYvT32T0V0i+lPrK3xXwZZ6fdy8gIeci1zflN5PTRfZLQKedquOD0PjF2IwK pHtpZnKFBjnfxUTn4s8pbS2P14JOzTb0TSQ2U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=OG1coDa2EYQmJzHrpL6o0trzzUc1CE/WTJGsCSVJl2e3pAbGie7G9ZPkyKMXKoDXmu LJoNzu0r81dVjmKrteVUqzesl37OmI6pim5wctsNiIFMzmXAJiNTSv33QR8RPzK6FuQk RUMhXY9aCgP2ykfJYsk25mu8AvDENydlEftek= MIME-Version: 1.0 Sender: 4wayned@gmail.com In-Reply-To: <20100608091256.GA21957@a-oben.org> References: <20100605192316.GB26738@a-oben.org> <20100608091256.GA21957@a-oben.org> Date: Wed, 9 Jun 2010 12:50:11 -0700 X-Google-Sender-Auth: 6h1yjq_5KY8uSX2cMYdCC6MYfoM Message-ID: Subject: Re: Assorted questions From: Wayne Davison To: Simon Friedberger Cc: zsh-users@zsh.org Content-Type: multipart/alternative; boundary=0016363101f1c2f22704889e3639 --0016363101f1c2f22704889e3639 Content-Type: text/plain; charset=UTF-8 On Tue, Jun 8, 2010 at 2:12 AM, Simon Friedberger > wrote: > > This has several problems. For starters the first line fails with: > "widgets can only be called when ZLE is active" > Yeah, I don't know how to use set-local-history outside of a zle key binding. I'd imagine that you could use zle -U str to push a keystroke that runs "zle set-local-history 1", if you wanted to go to the trouble of setting that up, though. If there's a better way to do this, I haven't learned it. Then there seems to be a problem when repeatedly pressing ^r. Yeah, so going that route is probably not going to be easy. You'd probably be better off re-binding all the various up-/down-line-or-history bindings to use up-/down-line-or-local-history instead. ..wayne.. --0016363101f1c2f22704889e3639--