From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] support a few of the new features of C++11 in syntax highlighting Date: Tue, 18 Nov 2014 03:41:18 +0100 Message-ID: <1657098.nbR8QFH0CZ@descartes> References: <2922484.gNxKJzz3zL@descartes> <87r3x3dnoj.fsf@wanadoo.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1416278533 24335 80.91.229.3 (18 Nov 2014 02:42:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Nov 2014 02:42:13 +0000 (UTC) Cc: =?ISO-8859-1?Q?=D3scar?= Fuentes , Alan Mackenzie , Paul Pogonyshev To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 18 03:42:07 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 1XqYjx-0005ls-TP for ged-emacs-devel@m.gmane.org; Tue, 18 Nov 2014 03:42:02 +0100 Original-Received: from localhost ([::1]:51053 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqYjx-0004Od-Dh for ged-emacs-devel@m.gmane.org; Mon, 17 Nov 2014 21:42:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqYje-0004O9-Gt for emacs-devel@gnu.org; Mon, 17 Nov 2014 21:41:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqYjU-000492-7F for emacs-devel@gnu.org; Mon, 17 Nov 2014 21:41:38 -0500 Original-Received: from ptmx.org ([178.63.28.110]:49104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqYjT-00047Z-QY for emacs-devel@gnu.org; Mon, 17 Nov 2014 21:41:32 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by ptmx.org (Postfix) with ESMTP id BD6932C9DD; Tue, 18 Nov 2014 03:41:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ptmx.org Original-Received: from ptmx.org ([127.0.0.1]) by localhost (ptmx.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kykxi1uZ7mr2; Tue, 18 Nov 2014 03:41:27 +0100 (CET) Original-Received: from descartes.localnet (chello080109100138.16.15.univie.teleweb.at [80.109.100.138]) by ptmx.org (Postfix) with ESMTPSA id 95EF82C9D2; Tue, 18 Nov 2014 03:41:27 +0100 (CET) User-Agent: KMail/4.13.3 (Linux/3.13.0-39-generic; KDE/4.13.3; x86_64; ; ) In-Reply-To: <87r3x3dnoj.fsf@wanadoo.es> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 178.63.28.110 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:177513 Archived-At: On Sunday 16 November 2014 19:07:24 =C3=93scar Fuentes wrote: > What was available in Alan's cc-mode c++11 branch was merged long tim= e > ago (it was mostly about decltype and auto, IIRC.) >=20 > It would be nice to apply the patch that started this thread, plus a = few > other keywords. However, I had no opportunity of testing the adapted > patch because I did no C++ coding lately. No doubt someone which is > fluent on Emacs' syntax highlighting system could be able to assert t= he > validity of the patch without testing. I took the liberty to merge the patch. I've updated and adjusted it a = bit. The "alignof" keyword is the only one still missing. It seems that som= e=20 extensions to cc-mode might be necessary to include it. There is also this patch pending. But it requires some more work:=20 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D5457 Regards, R=C3=BCdiger