From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: regexp font-lock highlighting Date: Thu, 09 Jun 2005 02:32:19 +0300 Organization: JURTA Message-ID: <87br6gtowk.fsf@jurta.org> References: <429AD1B5.1020408@gmx.at> <87ll5npre2.fsf@jurta.org> <42A70B1E.4080507@gmx.at> <87wtp461xu.fsf@jurta.org> <87u0k8eaov.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 1118274312 28957 80.91.229.2 (8 Jun 2005 23:45:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Jun 2005 23:45:12 +0000 (UTC) Cc: rudalics@gmx.at, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 09 01:45:10 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DgADM-0006aH-AF for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2005 01:44:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DgAKA-0006uN-HC for ged-emacs-devel@m.gmane.org; Wed, 08 Jun 2005 19:51:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DgAHi-0005k2-Ug for emacs-devel@gnu.org; Wed, 08 Jun 2005 19:48:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DgAHh-0005j7-7l for emacs-devel@gnu.org; Wed, 08 Jun 2005 19:48:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DgAHc-0005cu-Tj for emacs-devel@gnu.org; Wed, 08 Jun 2005 19:48:30 -0400 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DgA8M-0004W0-ML for emacs-devel@gnu.org; Wed, 08 Jun 2005 19:38:54 -0400 Original-Received: from mail.neti.ee (80-235-42-209-dsl.mus.estpak.ee [80.235.42.209]) by Relayhost2.neti.ee (Postfix) with ESMTP id E5D0531AA; Thu, 9 Jun 2005 02:38:48 +0300 (EEST) Original-To: Stefan Monnier In-Reply-To: <87u0k8eaov.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 08 Jun 2005 18:42:23 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee 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:38393 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38393 > 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 \< and \w are keywords of the language of regular expressions. Like keywords of other programming languages highlighted in Emacs it makes sense to highlight keywords of regular expressions as well. > Please leave \< and \w alone, thank you. Highlighting of \< and \w should by no means be the default. Anyone willing to implement highlighting of all regexp constructs could add it as an option for those users who like fruit salad (I'm not speaking for myself, I like moderate highlighting). -- Juri Linkov http://www.jurta.org/emacs/