From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard M Stallman Newsgroups: gmane.emacs.devel Subject: Re: New paren matching feature request Date: Sun, 01 Feb 2009 01:31:07 -0500 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1233470198 13561 80.91.229.12 (1 Feb 2009 06:36:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Feb 2009 06:36:38 +0000 (UTC) Cc: alinsoar@voila.fr, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 01 07:37:52 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LTVxm-0004D3-Ix for ged-emacs-devel@m.gmane.org; Sun, 01 Feb 2009 07:37:50 +0100 Original-Received: from localhost ([127.0.0.1]:60770 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTVwT-0002B3-RW for ged-emacs-devel@m.gmane.org; Sun, 01 Feb 2009 01:36:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTVt1-0000kH-4c for emacs-devel@gnu.org; Sun, 01 Feb 2009 01:32:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTVsy-0000jD-OU for emacs-devel@gnu.org; Sun, 01 Feb 2009 01:32:53 -0500 Original-Received: from [199.232.76.173] (port=57859 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTVsy-0000j7-EE for emacs-devel@gnu.org; Sun, 01 Feb 2009 01:32:52 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:59126) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LTVsy-0002o7-7f for emacs-devel@gnu.org; Sun, 01 Feb 2009 01:32:52 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LTVrH-0001cY-UX; Sun, 01 Feb 2009 01:31:07 -0500 In-reply-to: (message from Stefan Monnier on Fri, 30 Jan 2009 20:39:35 -0500) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:108501 Archived-At: I agree and I also think that Alin's right in that the best way to do it is via parse-partial-sexp (suitably enhanced if/as needed). Font-lock-mode already uses parse-partial-sexp to do comment&string highlighting. So the idea would be to modify the syntactic highlighting code?