From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: run-hooks vs. run-mode-hooks. Date: Tue, 31 May 2005 00:17:46 -0400 Message-ID: References: <874qcro5gv.fsf@xs4all.nl> <87br6w8zzo.fsf@xs4all.nl> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1117513220 11972 80.91.229.2 (31 May 2005 04:20:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 May 2005 04:20:20 +0000 (UTC) Cc: Lute.Kamstra.lists@xs4all.nl, ding@gnus.org, emacs-devel@gnu.org Original-X-From: ding-owner+M8905@lists.math.uh.edu Tue May 31 06:20:17 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DcyDy-000205-MP for ding-account@gmane.org; Tue, 31 May 2005 06:19:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1DcyDE-00016p-00; Mon, 30 May 2005 23:18:44 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1DcyDA-00016k-00 for ding@lists.math.uh.edu; Mon, 30 May 2005 23:18:40 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1DcyD9-0000U4-GJ for ding@lists.math.uh.edu; Mon, 30 May 2005 23:18:39 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1DcyD7-0008Oa-00 for ; Tue, 31 May 2005 06:18:37 +0200 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DcyCI-0005v9-Of; Tue, 31 May 2005 00:17:46 -0400 Original-To: Katsumi Yamaoka In-reply-to: (message from Katsumi Yamaoka on Mon, 30 May 2005 15:45:54 +0900) X-Spam-Score: -4.8 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60378 gmane.emacs.devel:37918 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37918 > Gnus should define a function called gnus-run-mode-hooks, which calls > run-mode-hooks if that is defined, otherwise run-hooks. Then all the > modes in Gnus could use gnus-run-mode-hooks. I've done it in the Gnus trunk and the v5-10 branch. Thank you.