From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8158 invoked from network); 27 Jun 2020 03:03:34 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTPUTF8; 27 Jun 2020 03:03:34 -0000 Received: (qmail 1834 invoked by alias); 27 Jun 2020 03:03:29 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: Sender: zsh-workers@zsh.org X-Seq: 46137 Received: (qmail 17471 invoked by uid 1010); 27 Jun 2020 03:03:29 -0000 X-Qmail-Scanner-Diagnostics: from out5-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.3/25850. spamassassin: 3.4.4. Clear:RC:0(66.111.4.29):SA:0(-2.6/5.0):. Processed in 0.712899 secs); 27 Jun 2020 03:03:29 -0000 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudelvddgieekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkjghfofggtgfgsehtje dttdertddvnecuhfhrohhmpeffrghnihgvlhcuufhhrghhrghfuceougdrshesuggrnhhi vghlrdhshhgrhhgrfhdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeefudetgeevhedvhf etveetvdduleduieejueduueejjedtteeutdejhfdtgfeiteenucfkphepjeelrddujeei rdefledrieelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepugdrshesuggrnhhivghlrdhshhgrhhgrfhdrnhgrmhgv X-ME-Proxy: Date: Sat, 27 Jun 2020 03:02:52 +0000 From: Daniel Shahaf To: zsh-workers@zsh.org Subject: Re: add-zle-hook-widget and multiple hooks Message-ID: <20200627030252.4478388b@tarpaulin.shahaf.local2> In-Reply-To: <20200627025408.2727d3c1@tarpaulin.shahaf.local2> References: <20200606084054.GA31628@tarpaulin.shahaf.local2> <20200608061425.034f9d90@tarpaulin.shahaf.local2> <20200610133452.025cfc54@tarpaulin.shahaf.local2> <20200618114219.7973f8c7@tarpaulin.shahaf.local2> <20200627025408.2727d3c1@tarpaulin.shahaf.local2> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit One more thing about the choice of syntax: I don't think it'd be a good API for -w to mean "Set $WIDGET" and for -l to mean "Don't set $LASTWIDGET". Nobody will remember which of the two is the "Do" and which is the "Don't". With -f we can have longer, descriptive names. Cheers, Daniel