From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: remove-hook. Date: Tue, 7 Oct 2003 17:04:36 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200310072204.h97M4aK07748@raven.dms.auburn.edu> References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1065564582 25074 80.91.224.253 (7 Oct 2003 22:09:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Oct 2003 22:09:42 +0000 (UTC) Cc: monnier@IRO.UMontreal.CA, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Oct 08 00:09:40 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A701U-0000Qs-00 for ; Wed, 08 Oct 2003 00:09:40 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A701U-0002lK-00 for ; Wed, 08 Oct 2003 00:09:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A701H-00016m-8W for emacs-devel@quimby.gnus.org; Tue, 07 Oct 2003 18:09:27 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A701C-00015u-JU for emacs-devel@gnu.org; Tue, 07 Oct 2003 18:09:22 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A700g-0000yl-P3 for emacs-devel@gnu.org; Tue, 07 Oct 2003 18:09:21 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A700f-0000yO-Nu for emacs-devel@gnu.org; Tue, 07 Oct 2003 18:08:49 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id h97M8eAJ012796; Tue, 7 Oct 2003 17:08:40 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id h97M4aK07748; Tue, 7 Oct 2003 17:04:36 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: Lute.Kamstra@cwi.nl In-reply-to: (message from Lute Kamstra on Tue, 07 Oct 2003 17:13:02 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16991 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16991 Lute Kamstra wrote: If it doesn't work, the docstring is confusing. I responded too quickly this morning. I now remember the issues involved and I now agree that the documentation string of `remove-hook' is misleading. It clearly suggests that one can use `remove-hook' to buffer-locally remove FUNCTION from the default-value, whereas one can not. (Or at least not in one step, although one could play tricks and remove the added `t' later, but I do not believe one is really "supposed" to do that.) Sincerely, Luc.