From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] support a few of the new features of C++11 in syntax highlighting Date: Sat, 25 Jan 2014 14:34:37 -0800 Message-ID: <52E43BFD.3020209@dancol.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1390689296 4568 80.91.229.3 (25 Jan 2014 22:34:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Jan 2014 22:34:56 +0000 (UTC) Cc: Paul Pogonyshev , emacs-devel@gnu.org To: Stefan Monnier , Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 25 23:35:05 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W7Bof-000323-CT for ged-emacs-devel@m.gmane.org; Sat, 25 Jan 2014 23:35:05 +0100 Original-Received: from localhost ([::1]:52746 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7Bof-00015g-1T for ged-emacs-devel@m.gmane.org; Sat, 25 Jan 2014 17:35:05 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7BoY-00013c-1B for emacs-devel@gnu.org; Sat, 25 Jan 2014 17:35:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7BoT-00066f-CE for emacs-devel@gnu.org; Sat, 25 Jan 2014 17:34:57 -0500 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:49017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7BoN-00065S-Qf; Sat, 25 Jan 2014 17:34:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=5OGJkF7monYz2AjzBglUDKUhDQ5HctN8ZV/2ElqX7I8=; b=gkQwSrtbWh8zH9gZ9teNNTOabM3DyZhzrmZo3r9+TQoXSrMYaXAm/sIrW8Pn74ldNklsAjzyN7auKOBrbaUjTWNh6zznb9KtcAmaPGAiJn84CswpxxqCRme8++dn//LEUnJbA1IAazXGW1n5HKBVM4L+ALq5I5iLtfHytenrkIhiHNXPHODkjS9/+Bv+wByleGRqz2YdS0EJTqTy6D6A2H5dcLtlT3Lms4Dh2kubdTg31h0JxpvHFhgI4KXM63dJ1vSPYmpDvj9HDK9gVhpwQ/JZviJBwsevRha5HO8WmVbBl4jaw/QA0r6dxraLkl9XCPfofT8NR/W9KJQlmolRNg==; Original-Received: from [2601:8:b240:b7::2b1] by dancol.org with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1W7BoF-0002XW-UH; Sat, 25 Jan 2014 14:34:39 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:169091 Archived-At: On 01/25/2014 01:56 PM, Stefan Monnier wrote: >> I would advise you to send this to the bug list. >> Although a similar (?) patch has been there for a year. >> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13871 >> So maybe send it as followup to that if it seems appropriate to you. > > Agreed. Of course, we can't install this right now since we're in > feature freeze, but if someone could deal with this soon after we re-open > the trunk, that would be helpful, I have a much older C++11 (from back when it was called C++0x) patch (it should be in the archives somewhere) that supports "auto", attributes, the ">>" template-closing syntax, and a few of C++'s contextual keywords, like "override". I should update it after the feature freeze. A big challenge is making uniform initialization work properly; I'd love Alan's thoughts on the best way to approach that subject. I think we also need a new indentation type for lambdas.