From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Shields Newsgroups: gmane.emacs.bugs Subject: bug#13871: Add new C++11 keywords to c++-mode Date: Mon, 4 Mar 2013 17:26:00 -0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=f46d043d676d2cb7cf04d7235b90 X-Trace: ger.gmane.org 1362446812 6093 80.91.229.3 (5 Mar 2013 01:26:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Mar 2013 01:26:52 +0000 (UTC) To: 13871@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 05 02:27:15 2013 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 1UCgew-0000iv-0y for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Mar 2013 02:27:14 +0100 Original-Received: from localhost ([::1]:53504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCgea-0003mx-IA for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Mar 2013 20:26:52 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCgeV-0003mq-7F for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2013 20:26:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCgeS-0001Nz-Vu for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2013 20:26:47 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCgeS-0001Nt-Si for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2013 20:26:44 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UCgek-00067H-5X for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2013 20:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Shields Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Mar 2013 01:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13871 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.136244679923474 (code B ref -1); Tue, 05 Mar 2013 01:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Mar 2013 01:26:39 +0000 Original-Received: from localhost ([127.0.0.1]:59429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UCgeN-00066Y-2V for submit@debbugs.gnu.org; Mon, 04 Mar 2013 20:26:39 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42812) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UCgeL-00066N-40 for submit@debbugs.gnu.org; Mon, 04 Mar 2013 20:26:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCgdt-0001Ks-LE for submit@debbugs.gnu.org; Mon, 04 Mar 2013 20:26:14 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:34828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCgdt-0001Ko-IS for submit@debbugs.gnu.org; Mon, 04 Mar 2013 20:26:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCgdp-0003lF-2R for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2013 20:26:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCgdl-0001K6-B8 for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2013 20:26:05 -0500 Original-Received: from mail-vc0-f181.google.com ([209.85.220.181]:38776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCgdl-0001Jw-6L for bug-gnu-emacs@gnu.org; Mon, 04 Mar 2013 20:26:01 -0500 Original-Received: by mail-vc0-f181.google.com with SMTP id f13so3766593vcb.40 for ; Mon, 04 Mar 2013 17:26:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type; bh=CFqbzbl+9UbEWUrQDSlmYtmCtShGRndTb1R2uAHuyDM=; b=oa4d3CqwrtZukgvjhJKse7cBQ0rLYetH4KaJSzw+9Vca6qW1Jy+UD1sMWIWz1hL99q XwOruWicml38/lmkWQYAO20aTu3fQdJv6PgzfaFrLGuecr+3Ob9VHZyRftXdMopLKKXE Iihi18zBOGRbylYtm2craqiTz7kECVDcKOloDKEoM4jXfSmkS/GtzrgX7vPdKpPU+sue OEGec/bvdB1zXfukt+fpFpBdGBrykPMOXCNWX+bgyYwQGyWkpc1agL35r8eRKoBd6hbL TSSoz2l1G59a77N/xb1SiHE5hOkkJzoLFLDo5AiUK8V41R2xPP9mKFqbq6Ja8ILY5T6n S8fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type:x-gm-message-state; bh=CFqbzbl+9UbEWUrQDSlmYtmCtShGRndTb1R2uAHuyDM=; b=PV6M4VHlxC9Um2TAdT2H2hfedyncT0hId0nVreUklRv6XRvfT8OLUZ3LgOUXZAGEnu lfGctveX0p490WV8gR4Q+ZoUWUyaqEELIOg++vujR69L5dexohhKkSF42c8YFRNr3Ge7 0/lxXlALV0Gc0yIcXLr2+9o93VsqAjjCcgc2ie5plafyOut5yumRl1kwkqnfwS1GuAZO xG5sCiZubNM0Ucb8xW4pwoNK+NtQfLutO0nXOc/w6LliQ6+7Hf+4hu7Fxkf99H63k9R3 VJPD+dlj2uOhbheuO65IS3EA50c+Crh2Fq8rKFZqtiSdAlsNR8tj83tDmJO83KE7+euH nxbQ== X-Received: by 10.220.150.208 with SMTP id z16mr8599951vcv.67.1362446760317; Mon, 04 Mar 2013 17:26:00 -0800 (PST) Original-Received: by 10.58.238.202 with HTTP; Mon, 4 Mar 2013 17:26:00 -0800 (PST) X-Google-Sender-Auth: ekzbRIdIYMipWuj41RKhpQb9CN0 X-Gm-Message-State: ALoCoQnDmdZw8zcrvhz5zPFMWRkenW8M2Kw3NNSqnhbJvXEXKu+g/aK0NmQ32iwBDsP/CvsVFuhzKB8r4dEQv6Yn3mljgqOBDjyWjHTMbyim72NmfNP7FNmUc8QkuZkcS4lj19oa+4151aM6bh+8KB4+JsIgEgKpNNDIP62XpzIBTmhqJrLJ/mite5Jqj3jLVnvoIonOKV3R X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72098 Archived-At: --f46d043d676d2cb7cf04d7235b90 Content-Type: text/plain; charset=UTF-8 This small patch adds c++-mode support for new C++11 keywords. My employer, Google, has a copyright assignment on file. 2013-03-04 Michael Shields * lisp/progmodes/cc-langs.el: Add support for new C++11 keywords "alignas", "alignof", "constexpr", "decltype", "nullptr", and "thread_local". --f46d043d676d2cb7cf04d7235b90 Content-Type: application/octet-stream; name="c++11.diff" Content-Disposition: attachment; filename="c++11.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hdwdifge0 ZGlmZiAtLWdpdCBhL2xpc3AvcHJvZ21vZGVzL2NjLWxhbmdzLmVsIGIvbGlzcC9wcm9nbW9kZXMv Y2MtbGFuZ3MuZWwKaW5kZXggMGQ1NTQ5ZS4uYTUwMTUyZiAxMDA2NDQKLS0tIGEvbGlzcC9wcm9n bW9kZXMvY2MtbGFuZ3MuZWwKKysrIGIvbGlzcC9wcm9nbW9kZXMvY2MtbGFuZ3MuZWwKQEAgLTk3 Myw3ICs5NzMsOCBAQCBzaW5jZSBDQyBNb2RlIHRyZWF0cyBldmVyeSBpZGVudGlmaWVyIGFzIGFu IGV4cHJlc3Npb24uIgogCiAgICAgICA7OyBVbmFyeS4KICAgICAgIChwcmVmaXggIisrIiAiLS0i ICIrIiAiLSIgIiEiICJ+IgotCSAgICAgICxAKHdoZW4gKGMtbWFqb3ItbW9kZS1pcyAnYysrLW1v ZGUpICcoIm5vdCIgImNvbXBsIikpCisJICAgICAgLEAod2hlbiAoYy1tYWpvci1tb2RlLWlzICdj KystbW9kZSkKKyAgICAgICAgICAgICAgICAgICcoIm5vdCIgImNvbXBsIiAiYWxpZ25hcyIgImFs aWdub2YiICJkZWNsdHlwZSIpKQogCSAgICAgICxAKHdoZW4gKGMtbWFqb3ItbW9kZS1pcyAnKGMt bW9kZSBjKystbW9kZSkpCiAJCSAgJygiKiIgIiYiICJzaXplb2YiICI/Py0iKSkKIAkgICAgICAs QCh3aGVuIChjLW1ham9yLW1vZGUtaXMgJ29iamMtbW9kZSkKQEAgLTE2NzYsNyArMTY3Nyw3IEBA IGJ1dCB0aGV5IGRvbid0IGJ1aWxkIGEgdHlwZSBvZiB0aGVtc2VsdmVzLiAgVW5saWtlIHRoZSBr ZXl3b3JkcyBvbgogbm90IHRoZSB0eXBlIGZhY2UuIgogICB0ICAgIG5pbAogICBjICAgICcoImNv bnN0IiAicmVzdHJpY3QiICJ2b2xhdGlsZSIpCi0gIGMrKyAgJygiY29uc3QiICJ2b2xhdGlsZSIg InRocm93IikKKyAgYysrICAnKCJjb25zdCIgImNvbnN0ZXhwciIgInRocm93IiAidm9sYXRpbGUi KQogICBvYmpjICcoImNvbnN0IiAidm9sYXRpbGUiKSkKIAogKGMtbGFuZy1kZWZjb25zdCBjLW9w dC10eXBlLW1vZGlmaWVyLWtleQpAQCAtMTg1Nyw3ICsxODU4LDggQEAgSWYgYW55IG9mIHRoZXNl IGFsc28gYXJlIG9uIGBjLXR5cGUtbGlzdC1rd2RzJywgYGMtcmVmLWxpc3Qta3dkcycsCiB3aWxs IGJlIGhhbmRsZWQuIgogICB0ICAgIG5pbAogICAoYyBjKyspICcoImF1dG8iICJleHRlcm4iICJp bmxpbmUiICJyZWdpc3RlciIgInN0YXRpYyIpCi0gIGMrKyAgKGFwcGVuZCAnKCJleHBsaWNpdCIg ImZyaWVuZCIgIm11dGFibGUiICJ0ZW1wbGF0ZSIgInVzaW5nIiAidmlydHVhbCIpCisgIGMrKyAg KGFwcGVuZCAnKCJleHBsaWNpdCIgImZyaWVuZCIgIm11dGFibGUiICJ0ZW1wbGF0ZSIgInRocmVh ZF9sb2NhbCIgInVzaW5nIgorICAgICAgICAgICAgICAgICAidmlydHVhbCIpCiAJICAgICAgIChj LWxhbmctY29uc3QgYy1tb2RpZmllci1rd2RzKSkKICAgb2JqYyAnKCJhdXRvIiAiYnljb3B5IiAi YnlyZWYiICJleHRlcm4iICJpbiIgImlub3V0IiAib25ld2F5IiAib3V0IiAic3RhdGljIikKICAg OzsgRklYTUU6IFNvbWUgb2YgdGhvc2UgYmVsb3cgb3VnaHQgdG8gYmUgb24gYGMtb3RoZXItZGVj bC1rd2RzJyBpbnN0ZWFkLgpAQCAtMjI5Myw2ICsyMjk1LDcgQEAgVGhpcyBjb25zdHJ1Y3QgaXMg XCI8a2V5d29yZD4gPGV4cHJlc3Npb24+IDpcIi4iCiAgIHQgICAgICAgbmlsCiAgIChjIGMrKykg JygiTlVMTCIgOzsgTm90IGEga2V5d29yZCwgYnV0IHByYWN0aWNhbGx5IHdvcmtzIGFzIG9uZS4K IAkgICAgImZhbHNlIiAidHJ1ZSIpCQk7IERlZmluZWQgaW4gQzk5LgorICBjKysgICAgICcoIk5V TEwiICJudWxscHRyIiAiZmFsc2UiICJ0cnVlIikKICAgb2JqYyAgICAnKCJuaWwiICJOaWwiICJZ RVMiICJOTyIgIk5TX0RVUklORyIgIk5TX0hBTkRMRVIiICJOU19FTkRIQU5ETEVSIikKICAgaWRs ICAgICAnKCJUUlVFIiAiRkFMU0UiKQogICBqYXZhICAgICcoInRydWUiICJmYWxzZSIgIm51bGwi KSA7IHRlY2huaWNhbGx5ICJsaXRlcmFscyIsIG5vdCBrZXl3b3Jkcwo= --f46d043d676d2cb7cf04d7235b90--