From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: font-lock-comment-delimiter-face Date: Thu, 19 May 2005 17:01:04 +0200 Message-ID: References: <87wtq3ydmf.fsf-monnier+emacs@gnu.org> <17029.21411.495779.643570@farnswood.snap.net.nz> <17030.32533.416687.524645@farnswood.snap.net.nz> <85k6m04y6f.fsf@lola.goethe.zz> <857ji0nly2.fsf@lola.goethe.zz> <874qcz8jxd.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116516375 1615 80.91.229.2 (19 May 2005 15:26:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 May 2005 15:26:15 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, Edward O'Connor Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 19 17:26:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DYmt4-0004xS-9T for ged-emacs-devel@m.gmane.org; Thu, 19 May 2005 17:24:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYmvj-0000mM-7c for ged-emacs-devel@m.gmane.org; Thu, 19 May 2005 11:27:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DYmnX-0003ev-Db for emacs-devel@gnu.org; Thu, 19 May 2005 11:18:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DYmnU-0003cr-0z for emacs-devel@gnu.org; Thu, 19 May 2005 11:18:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYmnT-00032u-3K for emacs-devel@gnu.org; Thu, 19 May 2005 11:18:51 -0400 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.34) id 1DYmeN-0000il-Gz for emacs-devel@gnu.org; Thu, 19 May 2005 11:09:27 -0400 Original-Received: (qmail 84797 invoked from network); 19 May 2005 15:00:55 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 19 May 2005 15:00:55 -0000 Original-To: Stefan Monnier In-Reply-To: (Stefan Monnier's message of "Thu, 19 May 2005 10:44:27 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:37358 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37358 Stefan Monnier writes: > BTW, let me try to be constructive instead of just trying to shoot down > the feature. > > How 'bout we change the current buggy code and replace it with something > more general (and thus more useful to those people who aren't among the > rare few who use 8 color ttys and whose red is not readable and who haven't > already changed their font-lock colors): > > Introduce font-lock-comment-keywords which would basically work like > font-lock-keywords, except it's applied only to comments (with the buffer > narrowed to just the comment so that comment-start-skip matches correctly, > without needing font-lock-comment-start-skip). This way we could highlight > all nested comments in SML, or we could highlight the "*" used on some > continuation lines in some multiline C commenting styles, and people could > set it to nil if they don't care about the feature, and major modes could > add stuff to it, e.g. to highlight javadoc directives, ... That would be excellent -- after the release. Since there is such a good way to DTRT, I definitely think the current comment delimiter highlighting should be removed. JM2c. -- Kim F. Storm http://www.cua.dk