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: run-mode-hooks Date: Wed, 16 Jul 2003 06:31:36 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200307141341.h6EDfxEd006523@rum.cs.yale.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1058353896 13179 80.91.224.249 (16 Jul 2003 11:11:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 16 Jul 2003 11:11:36 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Jul 16 13:11:35 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19ckC7-0003QR-00 for ; Wed, 16 Jul 2003 13:11:35 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19ckQJ-0000ar-00 for ; Wed, 16 Jul 2003 13:26:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19ck64-0000Gw-4r for emacs-devel@quimby.gnus.org; Wed, 16 Jul 2003 07:05:20 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19cjqb-000641-6P for emacs-devel@gnu.org; Wed, 16 Jul 2003 06:49:21 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19cjbX-0003Pu-9v for emacs-devel@gnu.org; Wed, 16 Jul 2003 06:33:47 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19cjZR-0002pf-FG for emacs-devel@gnu.org; Wed, 16 Jul 2003 06:31:37 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.20) id 19cjZQ-00029D-OK; Wed, 16 Jul 2003 06:31:36 -0400 Original-To: "Stefan Monnier" In-reply-to: <200307141341.h6EDfxEd006523@rum.cs.yale.edu> (monnier+gnu/emacs@cs.yale.edu) 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:15629 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15629 Yes, but as we talked about a while ago, I think the way to do that is to use a `define-major-mode' macro. That macro would look very much like `define-derived-mode'. I don't think we should insist that people use any particular construct for all major modes. It would be useful to write a define-major-mode macro, but we should not decide to make all major modes use it now. So I think this means it is a good idea to change major modes to use run-mode-hook now.