From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#11342: 24.1.50; HOOK variable name in `add-hook' etc. confusing Date: Thu, 26 Apr 2012 23:31:48 +0200 Message-ID: <87haw6qiwr.fsf@web.de> References: <87y5pjjurd.fsf@web.de> <878vhjjifr.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1335475870 14232 80.91.229.3 (26 Apr 2012 21:31:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Apr 2012 21:31:10 +0000 (UTC) To: 11342@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 26 23:31:09 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SNWHL-0007Ky-CG for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Apr 2012 23:31:07 +0200 Original-Received: from localhost ([::1]:43023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNWHK-0006xc-If for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Apr 2012 17:31:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNWHH-0006xX-RX for bug-gnu-emacs@gnu.org; Thu, 26 Apr 2012 17:31:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SNWHG-0002Tp-3r for bug-gnu-emacs@gnu.org; Thu, 26 Apr 2012 17:31:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNWHG-0002Tl-0U for bug-gnu-emacs@gnu.org; Thu, 26 Apr 2012 17:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SNWID-0007CV-RX for bug-gnu-emacs@gnu.org; Thu, 26 Apr 2012 17:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Apr 2012 21:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11342 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.133547587227622 (code B ref -1); Thu, 26 Apr 2012 21:32:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Apr 2012 21:31:12 +0000 Original-Received: from localhost ([127.0.0.1]:54777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SNWHN-0007BQ-6G for submit@debbugs.gnu.org; Thu, 26 Apr 2012 17:31:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59182) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SNWHJ-0007At-LK for submit@debbugs.gnu.org; Thu, 26 Apr 2012 17:31:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SNWGE-0002C8-If for submit@debbugs.gnu.org; Thu, 26 Apr 2012 17:29:59 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:51157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNWGE-0002Bw-FK for submit@debbugs.gnu.org; Thu, 26 Apr 2012 17:29:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNWGC-00068N-Q4 for bug-gnu-emacs@gnu.org; Thu, 26 Apr 2012 17:29:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SNWGA-0002Ag-V4 for bug-gnu-emacs@gnu.org; Thu, 26 Apr 2012 17:29:56 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]:52179) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SNWGA-0002AY-OH for bug-gnu-emacs@gnu.org; Thu, 26 Apr 2012 17:29:54 -0400 Original-Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate02.web.de (Postfix) with ESMTP id 2879A1C3F4E44 for ; Thu, 26 Apr 2012 23:29:53 +0200 (CEST) Original-Received: from snow.dragon ([89.204.154.202]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0LgYi5-1RtM2v0KYf-00nyMo; Thu, 26 Apr 2012 23:29:52 +0200 In-Reply-To: (Andreas Schwab's message of "Thu, 26 Apr 2012 10:03:36 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-Provags-ID: V02:K0:ckDfrbDm0LO/58siP4pRz/ILfuJnhkiJyawe3NFwkwX Dl9jdnDfSuRaVC0UGhXUD/YzpaeMDqmgFT/zSg3b13thIXZNrA 9iNlmvOiLqhs70CsjXpexd2RBgZxKZTEUQHgF4PWr16wJzxSNH k3frmxfS//Oo5FZVnXYOuHrU0Df3J90Q/1GN+LoWIETB7RwPJi VsxxNVEbr2grUh7lo9a7AZcagVEepGJq9BO2noELsA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:59540 Archived-At: Andreas Schwab writes: > > The manual sometimes calls these values being symbols "hook", and > > sometimes "hook variable". > > * (elisp) Hooks:: > > A "hook" is a variable where you can store a function or functions to > be called on a particular occasion by an existing program. File: elisp, Node: Setting Hooks -- Function: add-hook hook function &optional append local This function is the handy way to add function FUNCTION to hook variable HOOK. -- Function: remove-hook hook function &optional local This function removes FUNCTION from the hook variable HOOK. Michael