Subject: Re: zle-line-pre-redraw_hooks
From: Daniel Shahaf <[email-masked]>
To: [email-masked]
Date: Mon, 18 Jan 2016 02:25:56 +0000
List-Id: Zsh Workers List <zsh-workers.zsh.org>

Bart Schaefer wrote on Fri, Jan 15, 2016 at 11:14:06 -0800:
> On Jan 15,  6:26am, Daniel Shahaf wrote:
> }
> } Would it make sense to provide a way to register multiple
> } zle-line-pre-redraw hooks?  Similar to $chpwd_functions?
> 
> We discussed this a while back in the context of other hook widgets
> such as zle-line-init and ended up rejecting the idea ... or, IIRC
> more specifically we rejected the idea of having add-zsh-hook know
> about both functions and widgets.
> 

Agreed about not doing that in add-zsh-hook.

> Whatever we might do has to work generically for hook widgets, not
> just for some specific one.
> 

Okay.  I'll revisit this when there's a specific need to it (not merely
a speculative need).

Cheers,

Daniel