From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: occur-mode-hook run too early to be useful Date: Wed, 28 Aug 2002 17:30:31 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <20020828172813.A722.LEKTU@terra.es> References: <200208281511.g7SFBbQ04441@rum.cs.yale.edu> <20020828172142.A71F.LEKTU@terra.es> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1030548767 22847 127.0.0.1 (28 Aug 2002 15:32:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 28 Aug 2002 15:32:47 +0000 (UTC) Cc: 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 17k4o9-0005vq-00 for ; Wed, 28 Aug 2002 17:32:37 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17k5K0-0007O4-00 for ; Wed, 28 Aug 2002 18:05:32 +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 17k4pW-0001w4-00; Wed, 28 Aug 2002 11:34:02 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17k4mT-0001gW-00 for emacs-devel@gnu.org; Wed, 28 Aug 2002 11:30:53 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17k4mR-0001fu-00 for emacs-devel@gnu.org; Wed, 28 Aug 2002 11:30:52 -0400 Original-Received: from [62.22.27.141] (helo=mail.peoplecall.com) by monty-python.gnu.org with esmtp (Exim 4.10) id 17k4mQ-0001fA-00 for emacs-devel@gnu.org; Wed, 28 Aug 2002 11:30:50 -0400 Original-Received: from [62.22.27.143] (jbarranquero.ofi.peoplecall.com [62.22.27.143]) by mail.peoplecall.com (8.11.6/8.11.6) with ESMTP id g7SFUVB00442; Wed, 28 Aug 2002 17:30:31 +0200 Original-To: "Stefan Monnier" In-Reply-To: <20020828172142.A71F.LEKTU@terra.es> X-Mailer: Becky! ver. 2.05.04 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:7066 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7066 On Wed, 28 Aug 2002 17:25:56 +0200, I wrote: > Not only is not very compelling, it doesn't work right now with > occur-mode :) > > (After adding an interactive declaration to occur-mode:) > > M-x occur "whatever" > C-x o > M-x text-mode > M-x occur-mode > > and the font-locking isn't right. Oops, stupid me. That's not true. It's *me* who just broke that, by taking 'turn-on-font-lock from the now-nonexistant `occur-mode-hook' and putting it into `occur-hook'. So: Is that use worth putting back occur-mode-hook and having two hooks? /L/e/k/t/u