From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.bugs Subject: bug#6959: [PATCH] Add Microsoft support to cc-mode Date: Thu, 25 Feb 2016 22:44:45 -0800 Message-ID: <56CFF45D.2020407__265.396424993192$1456469123$gmane$org@dancol.org> References: <87r3g0t1jx.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="a3STDRPlW1Pddlk47WDDJqaPNRggFRP0H" X-Trace: ger.gmane.org 1456469123 29152 80.91.229.3 (26 Feb 2016 06:45:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Feb 2016 06:45:23 +0000 (UTC) Cc: 6959@debbugs.gnu.org, emacs-devel@gnu.org To: Lars Ingebrigtsen , Daniel Colascione Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 26 07:45:12 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 1aZC9G-0008HE-VX for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2016 07:45:11 +0100 Original-Received: from localhost ([::1]:47696 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZC9G-00074n-99 for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Feb 2016 01:45:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZC9B-00070o-Uj for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 01:45:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZC98-00016x-PP for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2016 01:45:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZC98-00016m-M0; Fri, 26 Feb 2016 01:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aZC98-0002A7-Hk; Fri, 26 Feb 2016 01:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Colascione Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Fri, 26 Feb 2016 06:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6959 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: patch Original-Received: via spool by 6959-submit@debbugs.gnu.org id=B6959.14564690928238 (code B ref 6959); Fri, 26 Feb 2016 06:45:02 +0000 Original-Received: (at 6959) by debbugs.gnu.org; 26 Feb 2016 06:44:52 +0000 Original-Received: from localhost ([127.0.0.1]:46700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZC8y-00028n-5M for submit@debbugs.gnu.org; Fri, 26 Feb 2016 01:44:52 -0500 Original-Received: from dancol.org ([96.126.100.184]:45910) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aZC8w-00028f-9m for 6959@debbugs.gnu.org; Fri, 26 Feb 2016 01:44:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject; bh=N419I5cWSsgrvFpLETxt2zi7V/mu1y6Hh601fUvSneE=; b=IVY/8D04vxoxFoGgWZGslugpExQucWTkPBlTLK6gGOvnhLKdTertNyzNdvPrz/xqApRuBp6fuWnI7NrNDMavQzPfrWScqswRWqfi/dmithCUHOUsMC4uwF30dYjJW1sbxWevwZSa3tyZACOoB8Ws4iOSkkqETSjxCW+1iAY4jY7LCZsiwex5aOzVxFE6aWu7R6hR0xXEkMjJplAQ3scjWz/bXC2eXi/1TLT9r0MZX2WqzxuU6qvL9GpBI5tUE0eWJo2scH1feQwN8LfdpG4P7oHajtWr8i+5yfDGZEA1KJVSuqYbjnWzitnWcAO8LQKDS9bFHI7jgtt3iKru+S3cJQ==; Original-Received: from c-67-161-115-4.hsd1.wa.comcast.net ([67.161.115.4] helo=[192.168.1.210]) by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1aZC8v-0005ew-Ca; Thu, 25 Feb 2016 22:44:49 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: <87r3g0t1jx.fsf@gnus.org> 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113849 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --a3STDRPlW1Pddlk47WDDJqaPNRggFRP0H Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 02/25/2016 10:42 PM, Lars Ingebrigtsen wrote: > Daniel Colascione writes: >=20 >> Microsoft uses a... unique programming style (erm, typedef void >> VOID?!) that tends to trip up cc-mode. Particularly problematic are >> certain code annotations, as described in >> http://msdn.microsoft.com/en-us/library/aa383701(VS.85).aspx. This >> patch adds support for this bizarre programming style and allows one >> to work on idiomatic Windows sources comfortably. >> >> You can get the diff at >> >> http://bazaar.launchpad.net/~dan-colascione/emacs/c++0x/revision/10103= 9 >=20 > Could you resend the patch (if this is still an issue)? It's not worth thinking about anymore. These days, I'd just define a derived mode and be done with it. Besides, as I recall, performance wasn't great with that patch. --a3STDRPlW1Pddlk47WDDJqaPNRggFRP0H Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWz/RdAAoJEN4WImmbpWBlwH8P/AmbMoIX/dcpMH8xoW4NE1Lz 4i0sTokKRZGF9iyu3Q5e6BoZoxOsFPqfxhjlzO7/XH1qKceR6Y3fVkHdCQrd3XzW X1AquKl5FkoSlU7WwTRtnOfZ1MV7dKYWfigrlZwDvJ/71OOsOuZVP+cUtk593v6U KZbZDxrl0xqk2UgmCcNbnckLyiJDM6WW2k3h8bPSvxK21CgyXIIEFh4ahUl/n6eb 6k7S6wkoe8Y0TUtUMW7jV9rjXmzyvzCeYg9nIyHfkrqgdOf/O+aQ7WdS+YvMF7QB gQr5rSsLizooKkCedGRA73PKNGpZF+lI9p/7ypmY2R5keWNa0S13b4y4WUrFHLox Z5iBXBcZWg0il/9gs9bPEcWFLhhXn1Vwg+qLHysWng7bT1pM+i0O6cMWjvtvV1BU WsrJ4WfPiMhTte1bY/TWYbNUHyj3PvNPWfdd66u6PBnZAGOwe2aN14pOB+Bkuub/ tpbL+wtlMnnkpcNxpfB/RMaQdsn9WXUBhO7MMPkOWPz0LbtcY8rUVXvndCdmmx+U RMp8UT7nPXJ0j/L1bsvt4EQBRfDnma0HGp1YuuT0EMbeRnYtgL6drGIEuR+hsV/B /wA1p/uBUrFebM2PfYSgVpSF3C7gIhczL7CBEwZVOEE1n3g44A3piYpyBgv3dBld SjeVvVx8NZ53Ftr3SoHb =Q3Pz -----END PGP SIGNATURE----- --a3STDRPlW1Pddlk47WDDJqaPNRggFRP0H--