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: [sigra@home.se: C++-mode: Syntax highlighting: wrong color for function identifier depending on the kind of whitespace that follows] Date: Thu, 10 Mar 2005 15:53:17 -0500 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110488736 29671 80.91.229.2 (10 Mar 2005 21:05:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2005 21:05:36 +0000 (UTC) Cc: bug-cc-mode@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 10 22:05:35 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D9UqW-0003lo-B9 for ged-emacs-devel@m.gmane.org; Thu, 10 Mar 2005 22:05:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D9V5S-0003av-Vj for ged-emacs-devel@m.gmane.org; Thu, 10 Mar 2005 16:20:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D9V2Z-0002P2-0M for emacs-devel@gnu.org; Thu, 10 Mar 2005 16:17:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D9V2U-0002MT-7o for emacs-devel@gnu.org; Thu, 10 Mar 2005 16:17:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D9V2T-0002KD-PB for emacs-devel@gnu.org; Thu, 10 Mar 2005 16:17:49 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D9Ueo-0005Jj-8A; Thu, 10 Mar 2005 15:53:22 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id A0C21340017; Thu, 10 Mar 2005 15:53:21 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 619164AC285; Thu, 10 Mar 2005 15:53:17 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 4108F4BD56; Thu, 10 Mar 2005 15:53:17 -0500 (EST) Original-To: Alan Mackenzie In-Reply-To: (Alan Mackenzie's message of "Thu, 10 Mar 2005 20:09:44 +0000 (GMT)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.82, requis 5, autolearn=not spam, AWL 0.08, BAYES_00 -4.90) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34433 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34433 >> You may be right, but I'd like to see your code first, to see how easy and >> robust it is to use your hook. > I re-posted my tentative 2002 patch here last night. Read again: I said "use" not "define". I.e. I don't want to see the font-lock side of the code, but the awk-mode or c++-mode side of it. Most importantly, I'd like to see some code that would solve the problem at hand (see subject) using your new hook. > I think this putting of warning-face on unmatched quotes would be a good > idea generally. It would help if you actually explained what you're talking about. Not everyone uses awk-mode. Stefan