From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: regexp font-lock highlighting Date: Wed, 08 Jun 2005 18:42:23 -0400 Message-ID: <87u0k8eaov.fsf-monnier+emacs@gnu.org> References: <429AD1B5.1020408@gmx.at> <87ll5npre2.fsf@jurta.org> <42A70B1E.4080507@gmx.at> <87wtp461xu.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1118270683 19932 80.91.229.2 (8 Jun 2005 22:44:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Jun 2005 22:44:43 +0000 (UTC) Cc: martin rudalics , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 09 00:44:39 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dg9Ff-0006fp-4T for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2005 00:42:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dg9MS-0001x8-Jr for ged-emacs-devel@m.gmane.org; Wed, 08 Jun 2005 18:49:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dg9Lx-0001pm-5x for emacs-devel@gnu.org; Wed, 08 Jun 2005 18:48:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dg9Lp-0001kM-L2 for emacs-devel@gnu.org; Wed, 08 Jun 2005 18:48:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dg9Lo-0001iY-2x for emacs-devel@gnu.org; Wed, 08 Jun 2005 18:48:44 -0400 Original-Received: from [209.226.175.188] (helo=tomts25-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dg9Fi-0000Sp-OO for emacs-devel@gnu.org; Wed, 08 Jun 2005 18:42:26 -0400 Original-Received: from alfajor ([70.48.82.205]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050608224222.EHMH27245.tomts25-srv.bellnexxia.net@alfajor>; Wed, 8 Jun 2005 18:42:22 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id 7235CD73A3; Wed, 8 Jun 2005 18:42:23 -0400 (EDT) Original-To: Juri Linkov In-Reply-To: <87wtp461xu.fsf@jurta.org> (Juri Linkov's message of "Wed, 08 Jun 2005 23:34:38 +0300") 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:38383 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38383 >> I tried to implement variants of that but it did not turn out well. >> Highlighting backslashes only is more distracting than useful. Having >> `<' or `w' stand out with bold face makes groupings much less readable. > A different face could be used for `<', `w' and other constructs. I can't help wondering what would be the benefit of highlighting things like \< and \w. Highlighting \( and \| and \) can make sense since it helps doing visual paren matching (tho I find blink-matching-open to work fairly well in most cases, I can see that it sometimes gets confused and also it currently doesn't understand the concept of the "matching open of an infix operator"). Please leave \< and \w alone, thank you. Stefan