From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#23610: 25.0.94; c++-mode doesn't fontify typename... like typename Date: 30 May 2016 12:57:17 -0000 Organization: muc.de e.V. Message-ID: <20160530125717.37913.qmail@mail.muc.de> References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1464613116 19376 80.91.229.3 (30 May 2016 12:58:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 May 2016 12:58:36 +0000 (UTC) Cc: 23610@debbugs.gnu.org To: Ivan Andrus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 30 14:58:22 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1b7Mly-00037C-9h for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 May 2016 14:58:22 +0200 Original-Received: from localhost ([::1]:59781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7Mlx-0008LY-B9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 May 2016 08:58:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7Mlo-0008HI-6V for bug-gnu-emacs@gnu.org; Mon, 30 May 2016 08:58:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b7Mlm-0002Wy-Ay for bug-gnu-emacs@gnu.org; Mon, 30 May 2016 08:58:11 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b7Mld-0002W4-RO; Mon, 30 May 2016 08:58:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b7Mld-0004Cb-Ll; Mon, 30 May 2016 08:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Mon, 30 May 2016 12:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23610 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 23610-submit@debbugs.gnu.org id=B23610.146461304116107 (code B ref 23610); Mon, 30 May 2016 12:58:01 +0000 Original-Received: (at 23610) by debbugs.gnu.org; 30 May 2016 12:57:21 +0000 Original-Received: from localhost ([127.0.0.1]:46959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7Mky-0004Bj-T8 for submit@debbugs.gnu.org; Mon, 30 May 2016 08:57:21 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:42061) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7Mkx-0004Ba-6T for 23610@debbugs.gnu.org; Mon, 30 May 2016 08:57:19 -0400 Original-Received: (qmail 37914 invoked by uid 3782); 30 May 2016 12:57:17 -0000 In-Reply-To: X-Newsgroups: gnu.emacs.bug User-Agent: tin/2.3.1-20141224 ("Tallant") (UNIX) (FreeBSD/10.3-RELEASE (amd64)) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:118858 Archived-At: Hello, Ivan. In article you wrote: > Starting with emacs -Q, Y is not fontified in the snippet below, whereas > X is. I'm not all that familiar with variadic templates. In the declaration below, is the "..." token syntactically part of "typename..." or is better regarded as part of "... Y"? I also need to get a feel for what keywords can come before the "...". Obviously "typename", but what about things like "class"? Do you know of a good web page where these things are explained completely and concisely, yet readably? If so, please tell me! > -Ivan > template > class bob { > }; > In GNU Emacs 25.0.94.2 (x86_64-apple-darwin15.4.0, NS appkit-1404.46 > Version 10.11.4 (Build 15E65)) > of 2016-05-22 built on iandrus-osx > Repository revision: ae8352b8219b3d40f70fda8986ae86fbef7322fb > Windowing system distributor 'Apple', version 10.3.1404 > Configured using: > 'configure --with-ns --with-modules > PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig' [ .... ] -- Alan Mackenzie (Nuremberg, Germany).