From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: define-derived-mode Date: Mon, 09 May 2005 04:57:47 -0400 Message-ID: References: <200505080101.j48117N24298@raven.dms.auburn.edu> <200505080315.j483F2l24405@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1115630955 26319 80.91.229.2 (9 May 2005 09:29:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 May 2005 09:29:15 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 09 11:29:14 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DV4Z7-000307-Vn for ged-emacs-devel@m.gmane.org; Mon, 09 May 2005 11:28:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DV4hP-0003Uk-1v for ged-emacs-devel@m.gmane.org; Mon, 09 May 2005 05:37:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DV4LL-0001c5-NC for emacs-devel@gnu.org; Mon, 09 May 2005 05:14:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DV4LE-0001bS-VO for emacs-devel@gnu.org; Mon, 09 May 2005 05:14:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DV4Jf-0001N8-7R for emacs-devel@gnu.org; Mon, 09 May 2005 05:12:44 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DV4C0-0007y9-80 for emacs-devel@gnu.org; Mon, 09 May 2005 05:04:48 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DV45D-0006gY-8A; Mon, 09 May 2005 04:57:47 -0400 Original-To: Juanma Barranquero In-reply-to: (message from Juanma Barranquero on Sun, 8 May 2005 19:00:05 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36899 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36899 > However, I am not sure we want defcustoms for *any* mode hooks. How > often would a user want to customize one with defcustom? C:\...\lisp> grep -E "defcustom.*-mode-hook" *.el add-log.el:(defcustom change-log-mode-hook nil autorevert.el:(defcustom auto-revert-mode-hook nil So what? The question is whether these are useful, not whether they exist. We have just been reminded of the reasons why customizing these hooks is likely not to work right--in addition to the fact that the motive to do so is probably rare. We wrote those defcustoms because a feeling developed that it was the right thing to use defcustom for every variable that someone might perhaps want to customize. But that doesn't mean we have to stick with them.