From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: Re: mention other ways than add-hook also Date: Sun, 05 Sep 2004 09:52:16 +0800 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87vfetwkhb.fsf@jidanni.org> References: <411D3CF7.2050407@yahoo.com> <87sm9zqc29.fsf_-_@jidanni.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1094358780 32050 80.91.224.253 (5 Sep 2004 04:33:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Sep 2004 04:33:00 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 05 06:32:52 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C3ohw-0000ey-00 for ; Sun, 05 Sep 2004 06:32:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C3on2-0006c3-PV for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Sep 2004 00:38:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C3omz-0006aq-6U for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2004 00:38:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C3omx-0006aS-DC for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2004 00:38:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C3omx-0006aI-Bt for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2004 00:38:03 -0400 Original-Received: from [203.79.224.62] (helo=smtp1.apol.com.tw) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C3ohl-0000hn-CU for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2004 00:32:41 -0400 Original-Received: from jidanni1 (tc218-187-83-138.2-7.dynamic.apol.com.tw [218.187.83.138]) by smtp1.apol.com.tw (8.9.3/8.9.3) with ESMTP id MAA129612 for ; Sun, 5 Sep 2004 12:32:37 +0800 (CST) Original-Received: from jidanni by jidanni1 with local (Exim 4.34) id 1C3mCW-0002Ml-Fn for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2004 09:52:16 +0800 Original-To: bug-gnu-emacs@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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 Xref: main.gmane.org gmane.emacs.bugs:8934 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:8934 rms> In the manual, after all the setq hook examples were changed to rms> add-hook examples, users end up with miles long hooks as they adjust rms> their hooks without starting a new emacs. rms> I don't quite understand. Are you saying that people add various rms> versions of the same hook without removing old versions? I mean in the course of adjusting their .emacs, they might use a lot of eval-last-sexp, eval-region, etc., upon which their hooks just grow and grow, with results perhaps OK, but not necessarily the same as what will be when they start a fresh emacs the next day. So mention that problem, and mention that somebody else might be tampering with their hooks beyond the bounds of their .emacs file[?!] so that is why they should still use add-hook... or maybe if they only adjust the hook in one spot in their .emacs, they can use setq hook.