zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: Re: Assorted questions
Date: Wed, 9 Jun 2010 23:41:17 -0700	[thread overview]
Message-ID: <AANLkTimH14ZAGnn1KhJmurDKIz4awfU1vPwZvQBTB35v@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimeIv_xV6qHnFUpHqjD3LmVJqY_r5IQJQGtaKjo@mail.gmail.com>

(Oops, accidentally sent this to Wayne instead of to the list.)

On Wed, Jun 9, 2010 at 12:50 PM, Wayne Davison
<wayned@users.sourceforge.net> wrote:
> On Tue, Jun 8, 2010 at 2:12 AM, Simon Friedberger
> <simon+zsh@a-oben.org<simon%2Bzsh@a-oben.org>
>> 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.

This is what zle-line-init is for ...

zle-line-init() { zle set-local-history 1 }
zle -N zle-line-init

(Why is there no doc for set-local-history other than a passing
mention under options?)


  parent reply	other threads:[~2010-06-10  6:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-05 19:23 Simon Friedberger
2010-06-07 16:44 ` Richard Hartmann
2010-06-07 16:50   ` Simon Friedberger
2010-06-07 17:11 ` Mikael Magnusson
2010-06-07 23:23 ` Wayne Davison
2010-06-08  9:12   ` Simon Friedberger
2010-06-09 19:50     ` Wayne Davison
     [not found]       ` <AANLkTimeIv_xV6qHnFUpHqjD3LmVJqY_r5IQJQGtaKjo@mail.gmail.com>
2010-06-10  6:41         ` Bart Schaefer [this message]
2010-06-09 11:40   ` zle set-local-history binding Was: " Simon Friedberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimH14ZAGnn1KhJmurDKIz4awfU1vPwZvQBTB35v@mail.gmail.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).