From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ian Dunn Newsgroups: gmane.emacs.devel Subject: [ELPA] New package: Hook Helpers Date: Sat, 15 Apr 2017 17:26:26 -0400 Message-ID: <87h91ptla5.fsf@escafil> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1492291647 30737 195.159.176.226 (15 Apr 2017 21:27:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 15 Apr 2017 21:27:27 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 15 23:27:19 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1czVDx-0007k8-M3 for ged-emacs-devel@m.gmane.org; Sat, 15 Apr 2017 23:27:17 +0200 Original-Received: from localhost ([::1]:58116 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czVE3-0003XM-94 for ged-emacs-devel@m.gmane.org; Sat, 15 Apr 2017 17:27:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czVDx-0003XF-83 for emacs-devel@gnu.org; Sat, 15 Apr 2017 17:27:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czVDw-0006m3-8z for emacs-devel@gnu.org; Sat, 15 Apr 2017 17:27:17 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50019) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czVDw-0006lv-4y for emacs-devel@gnu.org; Sat, 15 Apr 2017 17:27:16 -0400 Original-Received: from [2604:6000:1010:176:da4d:3352:bae5:f50e] (port=56290 helo=escafil) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1czVDv-0004AY-OT for emacs-devel@gnu.org; Sat, 15 Apr 2017 17:27:15 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:213982 Archived-At: I submitted this a while back, but it never went anywhere, likely due to my inability to explain it well. Summary: Hook Helpers provides useful macros for specifying functions created solely to be added to one or more hooks. It is not intended as a replacement for add-hook, but as a complement to it, similar to the relationship between add-function and define-advice. Further documentation: http://nongnu.org/hook-helpers-el/ Source file: http://git.savannah.nongnu.org/cgit/hook-helpers-el.git/tree/hook-helpers.el Checkout: git clone https://git.savannah.nongnu.org/git/hook-helpers-el.git If no one has any problems this time around, I can push it to ELPA myself. -- Ian Dunn