From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#45160: 27.1; [C] wrong indent for knr-style arguments declaration Date: Sat, 12 Dec 2020 14:48:52 +0000 Message-ID: References: <87h7otr9g5.fsf@lorien.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3842"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45160-done@debbugs.gnu.org, acm@muc.de To: Bruno Raoult Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 12 20:49:54 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1koAtu-0000tV-41 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Dec 2020 20:49:54 +0100 Original-Received: from localhost ([::1]:36694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koAtt-0000ph-6l for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Dec 2020 14:49:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ko9ks-00062V-Fb for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2020 13:36:30 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34911) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ko9ks-0008Iy-26; Sat, 12 Dec 2020 13:36:30 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ko6Ck-0003Pm-Ev; Sat, 12 Dec 2020 09:49:02 -0500 Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sat, 12 Dec 2020 14:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 45160 X-GNU-PR-Package: emacs,cc-mode Mail-Followup-To: 45160@debbugs.gnu.org, acm@muc.de, braoult@gmail.com Original-Received: via spool by 45160-done@debbugs.gnu.org id=D45160.160778454013115 (code D ref 45160); Sat, 12 Dec 2020 14:49:02 +0000 Original-Received: (at 45160-done) by debbugs.gnu.org; 12 Dec 2020 14:49:00 +0000 Original-Received: from localhost ([127.0.0.1]:44222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ko6Ci-0003PT-C2 for submit@debbugs.gnu.org; Sat, 12 Dec 2020 09:49:00 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:21876 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1ko6Ch-0003Ov-DF for 45160-done@debbugs.gnu.org; Sat, 12 Dec 2020 09:48:59 -0500 Original-Received: (qmail 11430 invoked by uid 3782); 12 Dec 2020 14:48:53 -0000 Original-Received: from acm.muc.de (p2e5d526c.dip0.t-ipconnect.de [46.93.82.108]) by localhost.muc.de (tmda-ofmipd) with ESMTP; Sat, 12 Dec 2020 15:48:52 +0100 Original-Received: (qmail 29727 invoked by uid 1000); 12 Dec 2020 14:48:52 -0000 Content-Disposition: inline In-Reply-To: X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:195875 Archived-At: Hello again, Bruno. On Fri, Dec 11, 2020 at 20:22:19 +0100, Bruno Raoult wrote: > Thanks Alan, [ .... ] > > The following patch should fix the problem. Would you please apply > > it to your Emacs (cc-engine.el is in .../emacs/lisp/progmodes) and > > byte compile cc-engine.el. Then please try it out on your real > > source code, and either confirm the bug has indeed been fixed, or say > > what's still wrong. (If you would like any help with the patching or > > byte compiling, feel free to send me private email.) > That fix was really fast ! It was a high quality bug report, and easy to diagnose. > I applied the patch, and it appears to work in a few source files I did > try. I did not notice any side effect so far : I will keep your > version, and let you know (in this bug thread) if I notice any issue > that is not present in original version. Thank you for such a fast test. I am closing the bug with this post. > Thanks again, > Bruno. > -- > 2 + 2 = 5, for very large values of 2. -- Alan Mackenzie (Nuremberg, Germany).