From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: occur-mode-hook run too early to be useful Date: Thu, 29 Aug 2002 13:50:13 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: References: <20020828103157.9D0E.LEKTU@terra.es> <200208281430.g7SEU5Z04025@rum.cs.yale.edu> <20020828164804.A71C.LEKTU@terra.es> <200208281511.g7SFBbQ04441@rum.cs.yale.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1030643453 2483 127.0.0.1 (29 Aug 2002 17:50:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 29 Aug 2002 17:50:53 +0000 (UTC) Cc: lektu@terra.es, monnier+gnu/emacs@rum.cs.yale.edu, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17kTRO-0000dT-00 for ; Thu, 29 Aug 2002 19:50:46 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17kTxm-0002fp-00 for ; Thu, 29 Aug 2002 20:24:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17kTSl-0001vR-00; Thu, 29 Aug 2002 13:52:11 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17kTQw-0001pa-00 for emacs-devel@gnu.org; Thu, 29 Aug 2002 13:50:18 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17kTQs-0001p5-00 for emacs-devel@gnu.org; Thu, 29 Aug 2002 13:50:17 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17kTQr-0001p0-00 for emacs-devel@gnu.org; Thu, 29 Aug 2002 13:50:13 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 17kTQr-00073v-00; Thu, 29 Aug 2002 13:50:13 -0400 Original-To: monnier+gnu/emacs@rum.cs.yale.edu In-Reply-To: <200208281511.g7SFBbQ04441@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:7123 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7123 > So I think that's what I'm going to do: changing occur-mode-hook to just > occur-hook and executing it at the end of occur-1. That sounds good to me. It is ok to have an occur-hook which is run at that point. However, occur-mode-hook should not be deleted. Every major mode should run a mode hook.