From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: org-mode and mode hooks. Date: Tue, 7 Jun 2005 10:49:13 +0900 Message-ID: References: <87y8a3mnz8.fsf@xs4all.nl> <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> <200506070119.j571JlP18343@raven.dms.auburn.edu> Reply-To: snogglethorpe@gmail.com, miles@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1118108979 28509 80.91.229.2 (7 Jun 2005 01:49:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Jun 2005 01:49:39 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 07 03:49:35 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DfTC7-0000MY-DX for ged-emacs-devel@m.gmane.org; Tue, 07 Jun 2005 03:47:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DfTIX-0006Hg-E7 for ged-emacs-devel@m.gmane.org; Mon, 06 Jun 2005 21:54:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DfTI6-000698-Ll for emacs-devel@gnu.org; Mon, 06 Jun 2005 21:54:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DfTI3-00067o-VC for emacs-devel@gnu.org; Mon, 06 Jun 2005 21:54:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DfTI3-00067L-QA for emacs-devel@gnu.org; Mon, 06 Jun 2005 21:54:03 -0400 Original-Received: from [64.233.184.206] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DfTGd-0008Ee-WD for emacs-devel@gnu.org; Mon, 06 Jun 2005 21:52:36 -0400 Original-Received: by wproxy.gmail.com with SMTP id 40so508276wri for ; Mon, 06 Jun 2005 18:49:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Sx3Ksh/qmd4TAZaLgO9m+TyHGTHNb7+cF0WaCDdHRN/GQW1oYoTd1lrDnvbp3RA+ILJUThFqpvIyLeDoPTlpP0ySTo1t5BASxEVZ9PWj+jpFkPkX0jzWOyJQ5eWx/E9rc6/AQsJWReuIJghxS2BnDuSjDeh7iejgVyOJ1b+aov0= Original-Received: by 10.54.20.40 with SMTP id 40mr173636wrt; Mon, 06 Jun 2005 18:49:14 -0700 (PDT) Original-Received: by 10.54.19.31 with HTTP; Mon, 6 Jun 2005 18:49:13 -0700 (PDT) Original-To: Luc Teirlinck In-Reply-To: <200506070119.j571JlP18343@raven.dms.auburn.edu> Content-Disposition: inline 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:38214 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38214 On 6/7/05, Luc Teirlinck wrote: > (defcustom comint-mode-hook '(turn-on-font-lock) >=20 > 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? >=20 > Unless Miles objects, I will install the following mini-patch to comint.e= l: I have no idea. If I recall correctly, the reason I added that is because I replaced some previous ad-hoc highlighting code -- which was always turned on -- with font-lock. In Emacs 21, the behavior was that comint prompts were _always_ highlighted, but font-lock could be turned on to add other faces (e.g., colorization of error messages). When I changed the prompt-highlighting code I turned on font-lock by default because highlighted prompts were the previous default behavior, and I figured the prompts were the most "important" part of comint highlighting. So this patch would change the default appearance of comint prompts in Emacs 22. I don't know if the average user would be annoyed/confused ("my prompts disappeared!") or happy ("ah those evil colorized prompts are gone!") by such a change. -Miles --=20 Do not taunt Happy Fun Ball.