From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.cc-mode.general,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: Wed, 15 Feb 2006 21:59:54 +0000 (GMT) Message-ID: References: <87lkwce3qc.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 1140040894 25104 80.91.229.2 (15 Feb 2006 22:01:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Feb 2006 22:01:34 +0000 (UTC) Cc: Ralf Angeli , bug-cc-mode@gnu.org, rms@gnu.org, emacs-devel@gnu.org Original-X-From: cc-mode-help-admin@lists.sourceforge.net Wed Feb 15 23:01:25 2006 Return-path: Envelope-to: sf-cc-mode-help@m.gmane.org Original-Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F9Uhv-0003fC-Ba for sf-cc-mode-help@m.gmane.org; Wed, 15 Feb 2006 23:01:07 +0100 Original-Received: from sc8-sf-list1-b.sourceforge.net (sc8-sf-list1-b.sourceforge.net [10.3.1.7]) by sc8-sf-spam1.sourceforge.net (Postfix) with ESMTP id 7DB0489989; Wed, 15 Feb 2006 14:01:06 -0800 (PST) Original-Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1F9Uh6-0004Cf-9X for cc-mode-help@lists.sourceforge.net; Wed, 15 Feb 2006 14:00:16 -0800 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by mail.sourceforge.net with esmtps (TLSv1:RC4-SHA:128) (Exim 4.44) id 1F9Uh2-0008UW-6j for cc-mode-help@lists.sourceforge.net; Wed, 15 Feb 2006 14:00:13 -0800 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.34) id 1F9Ugt-0000T2-FI for bug-cc-mode@gnu.org; Wed, 15 Feb 2006 17:00:09 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.52) id 1F9Ulp-0001pc-Eu for bug-cc-mode@gnu.org; Wed, 15 Feb 2006 17:05:12 -0500 Original-Received: from [193.149.49.134] (helo=acm.acm) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F9Ulc-0001og-LI; Wed, 15 Feb 2006 17:04:57 -0500 Original-Received: from localhost (root@localhost) by acm.acm (8.8.8/8.8.8) with SMTP id VAA01130; Wed, 15 Feb 2006 21:59:55 GMT X-Sender: root@acm.acm Original-To: Stefan Monnier In-Reply-To: <87lkwce3qc.fsf-monnier+emacs@gnu.org> X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by sourceforge.net. See http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001 1.0 FORGED_RCVD_HELO Received: contains a forged HELO Original-Sender: cc-mode-help-admin@lists.sourceforge.net Errors-To: cc-mode-help-admin@lists.sourceforge.net X-BeenThere: cc-mode-help@lists.sourceforge.net X-Mailman-Version: 2.0.9-sf.net Precedence: bulk List-Unsubscribe: , List-Id: Bug reports, feature requests, and general talk about CC Mode. List-Post: List-Help: List-Subscribe: , List-Archive: X-Original-Date: Wed, 15 Feb 2006 21:59:54 +0000 (GMT) Xref: news.gmane.org gmane.emacs.cc-mode.general:3013 gmane.emacs.devel:50585 Archived-At: On Wed, 15 Feb 2006, Stefan Monnier wrote: >>> I.e. equivalent to "<<\\(.\\|\n\\)*?\\(>>\\)?". >> Small point: It might be a good idea here to write [\n\r] rather than >> just \n, in case something has changed \n's to \r's for selective >> display (Node of that name in the Elisp manual). >Last time I checked a "." in a regexp does match \r even if >selective-display is activated, so always \\(.\\|\n\\) matches *any* char. Ah! OK, thanks! > Stefan >PS: Furthermore, selective-display is on its way out. The only code >left that uses it (in Emacs-CVS) is in dired-aux.el, gnus-sum.el, and >locate.el, none of which interact with other major modes. But for people writing modes which have to work with older (X)Emacsen, it's worth bearing in mind. -- Alan. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642