Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
	autolearn=ham autolearn_force=no version=3.4.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=brasslantern-com.20150623.gappssmtp.com; s=20150623;
        h=from:message-id:date:in-reply-to:comments:references:to:subject
         :mime-version:content-type;
        bh=t/t9ZpJSgAxiL5uWcRRnb0ZI3hATWHOC9nnlIx1D78Y=;
        b=KUtDEsIkbJyN4SvAD11xCgJGPu2/6jcefIgUcH+2m7PtMKa0QMrHsCAvUZcS0PzMVi
         AmMWPULakHBYBcv4ZPTBQjp3G8kzX/9CpJrhzFKQuGoo43r/8P5ENHGxAY/mWNkdxSRu
         w+hb/30Kp/fvkQuLms1e/wh+oEZZo2Q/1t4QRY7FohBLmj6YvNippPWhntNESiEa55sj
         cwBktxYjRGnRC8bUseAdkJxAbqxHRJDjcSkUi/evL1LOUU8u67tLoEXzL1Lmqb3z+lCQ
         TgBe2mrXqsPC1xer6UX+X66h4Ck1q0fdoPQI/rOIWcqcaPn2S+VooQZXFwugvieg77/k
         PU/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:message-id:date:in-reply-to:comments
         :references:to:subject:mime-version:content-type;
        bh=t/t9ZpJSgAxiL5uWcRRnb0ZI3hATWHOC9nnlIx1D78Y=;
        b=KlNwsVIpD8qa4UNwc1QfYIswWWYcEoaEwUDoX2iDKFiR4vabmHPwF4gGiMglXNV/VW
         c3BLnICXacjfXlXB8g4LD/uxMRvdMin1L4hi+vl5ECmcy+D/Qx78RST1yvwAXevttqAX
         /4pm312D/hfDmLgdh2yueXd9IsyPKBUc4duwyW44hx8pvyzvpda5PSXLq1EL2FPIRQu+
         DoaDcBkS0DVbG9FwO0sJW+EBdAQpr3VdN/GtHZg2+MBsN/eiBvlzrvm5XItPJOam4Tak
         twhy+SGXbZtn7x31VVI6uirL3XZB3umSCIlWmHxTt0PSJSG1s23jTTXTQ/c9pplXkGmh
         D4hg==
X-Gm-Message-State: ALoCoQkdVG51Vx4wK8TIM0hStM2pvms/uBFWBHrLfDWMzmeLMjyvREu8W6aCBtkIwHmEdr5Y5GzxGepW+YW6sNMYF7nU+0ytQg==
X-Received: by 10.66.161.70 with SMTP id xq6mr17197318pab.73.1452885226117;
        Fri, 15 Jan 2016 11:13:46 -0800 (PST)
From: Bart Schaefer <schaefer@brasslantern.com>
Message-Id: <160115111406.ZM21055@torch.brasslantern.com>
Date: Fri, 15 Jan 2016 11:14:06 -0800
In-Reply-To: <20160115062647.GA28411@tarsus.local2>
Comments: In reply to Daniel Shahaf <d.s@daniel.shahaf.name>
        "zle-line-pre-redraw_hooks" (Jan 15,  6:26am)
References: <20160115062647.GA28411@tarsus.local2>
X-Mailer: OpenZMail Classic (0.9.2 24April2005)
To: zsh-workers@zsh.org
Subject: Re: zle-line-pre-redraw_hooks
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Seq: zsh-workers 37647

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.

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

