From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: org-mode and mode hooks. Date: Mon, 6 Jun 2005 20:19:47 -0500 (CDT) Message-ID: <200506070119.j571JlP18343@raven.dms.auburn.edu> References: <87y8a3mnz8.fsf@xs4all.nl> <87ll63weye.fsf-monnier+emacs@gnu.org> <200505252135.j4PLZvt26969@raven.dms.auburn.edu> <87hdgrufcl.fsf-monnier+emacs@gnu.org> <200505260359.j4Q3xbj28809@raven.dms.auburn.edu> <87is16rsid.fsf-monnier+emacs@gnu.org> <200505261501.j4QF17h00246@raven.dms.auburn.edu> <200505271943.j4RJhj007341@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1118107374 25324 80.91.229.2 (7 Jun 2005 01:22:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Jun 2005 01:22:54 +0000 (UTC) Cc: Miles Bader , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 07 03:22:52 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DfSni-0006gJ-MH for ged-emacs-devel@m.gmane.org; Tue, 07 Jun 2005 03:22:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DfSu8-00032h-JZ for ged-emacs-devel@m.gmane.org; Mon, 06 Jun 2005 21:29:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DfStT-0002vH-93 for emacs-devel@gnu.org; Mon, 06 Jun 2005 21:28:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DfStR-0002to-EK for emacs-devel@gnu.org; Mon, 06 Jun 2005 21:28:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DfStP-0002sS-Ls for emacs-devel@gnu.org; Mon, 06 Jun 2005 21:28:35 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DfSoy-00071Y-35; Mon, 06 Jun 2005 21:24:00 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j571KcCK026638; Mon, 6 Jun 2005 20:20:38 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j571JlP18343; Mon, 6 Jun 2005 20:19:47 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Sat, 28 May 2005 07:53:01 -0400) 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:38212 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38212 Richard Stallman wrote: To clarify, this is how comint enables Font Lock: (defcustom comint-mode-hook '(turn-on-font-lock) Shouldn't we remove that? Is it a desirable thing, nowadays, for some modes to enable Font Lock on their own, instead of letting the user do so if he wants? Unless Miles objects, I will install the following mini-patch to comint.el: ===File ~/comint-diff======================================= *** comint.el 26 May 2005 09:05:21 -0500 1.319 --- comint.el 06 Jun 2005 20:01:06 -0500 *************** *** 423,429 **** (make-obsolete-variable 'comint-use-prompt-regexp-instead-of-fields 'comint-use-prompt-regexp "22.1") ! (defcustom comint-mode-hook '(turn-on-font-lock) "Hook run upon entry to `comint-mode'. This is run before the process is cranked up." :type 'hook --- 423,429 ---- (make-obsolete-variable 'comint-use-prompt-regexp-instead-of-fields 'comint-use-prompt-regexp "22.1") ! (defcustom comint-mode-hook nil "Hook run upon entry to `comint-mode'. This is run before the process is cranked up." :type 'hook ============================================================