zsh-users
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: Ivan Brkanac <ibrkanac@gmail.com>, zsh-users@zsh.org
Subject: Re: $terminfo for up and down arow
Date: Fri, 10 Jan 2014 12:48:41 +0000	[thread overview]
Message-ID: <20140110124841.2feaa7e3@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <CALRKU=GMswJjURDEtx7_jSAdnZ89vVWuFSRLeVAKxkK4=q010w@mail.gmail.com>

On Fri, 10 Jan 2014 13:38:40 +0100
Ivan Brkanac <ibrkanac@gmail.com> wrote:
> I have found the problem. It's an upstream bug, as I have suspected,
> but I have also found the way to get around it.
> 
> I am defining three functions with the same function body to not
> repeat myself. Even though I have verified that the functions have
> been defined properly, they exist, my zle-line-init and
> zle-line-finish are not being called. Something must have changed in
> recent Zsh versions that affects this.
> 
> When I split that code into three distinct function definitions, it works.

Please could you supply the code you're using to set this up?  It's not
clear whether you're using


zle-line-init zle-line-finish() { ... }
zle -N zle-line-init
zle -N zle-line-finish


or


zle-line-base-function() { ... }
zle -N zle-line-init zle-line-base-function
zle -N zle-line-end zle-line-base-function


both of which would have the effect you say.

Thanks
pws


      reply	other threads:[~2014-01-10 12:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-08  8:33 Ivan Brkanac
2014-01-08  8:55 ` Frank Terbeck
2014-01-08  9:38   ` Frank Terbeck
2014-01-10 12:38     ` Ivan Brkanac
2014-01-10 12:48       ` Peter Stephenson [this message]

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=20140110124841.2feaa7e3@pwslap01u.europe.root.pri \
    --to=p.stephenson@samsung.com \
    --cc=ibrkanac@gmail.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).