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#48992: cc-mode initialize list indentation bug Date: Sun, 29 Aug 2021 14:56:17 +0000 Message-ID: References: <56c9cab5.165.17a028f7978.Coremail.binbowang1987@163.com> <4d11d4d6.791.17b8a6a3216.Coremail.binbowang1987@163.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9873"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "48992-done@debbugs.gnu.org" <48992@debbugs.gnu.org> To: =?UTF-8?Q?=E7=8E=8B=E6=96=8C=E6=B3=A2?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 29 16:57:18 2021 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 1mKMFK-0002JH-2N for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Aug 2021 16:57:18 +0200 Original-Received: from localhost ([::1]:37632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKMFI-0004n4-3z for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Aug 2021 10:57:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKMF6-0004mS-20 for bug-gnu-emacs@gnu.org; Sun, 29 Aug 2021 10:57:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45641) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKMF4-0004ti-AO; Sun, 29 Aug 2021 10:57:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKMF4-0006q4-6K; Sun, 29 Aug 2021 10:57:02 -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: Sun, 29 Aug 2021 14:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48992 X-GNU-PR-Package: emacs,cc-mode Original-Received: via spool by 48992-submit@debbugs.gnu.org id=B48992.163024898726246 (code B ref 48992); Sun, 29 Aug 2021 14:57:02 +0000 Original-Received: (at 48992) by debbugs.gnu.org; 29 Aug 2021 14:56:27 +0000 Original-Received: from localhost ([127.0.0.1]:57187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKMEV-0006pF-Lv for submit@debbugs.gnu.org; Sun, 29 Aug 2021 10:56:27 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:15171 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1mKMES-0006p0-Pu for 48992@debbugs.gnu.org; Sun, 29 Aug 2021 10:56:26 -0400 Original-Received: (qmail 16740 invoked by uid 3782); 29 Aug 2021 14:56:18 -0000 Original-Received: from acm.muc.de (p2e5d58a0.dip0.t-ipconnect.de [46.93.88.160]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 29 Aug 2021 16:56:17 +0200 Original-Received: (qmail 15854 invoked by uid 1000); 29 Aug 2021 14:56:17 -0000 Content-Disposition: inline In-Reply-To: <4d11d4d6.791.17b8a6a3216.Coremail.binbowang1987@163.com> X-Submission-Agent: TMDA/1.3.x (Ph3nix) 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:212936 Archived-At: Hello, Binbo. On Sat, Aug 28, 2021 at 09:40:20 +0800, 王斌波 wrote: > Hello, Alan. > Thank you for your great work. I applyed the path, and the problem fixed. What i did is like this: > 1. apply the patch > 2. recompile the cc-engine.el > 3. restart emacs, edit a real cpp file. The indentation was correct now. Thank you indeed for carrying out these tests. I have merged the patch into the Emacs master branch, and I am thus closing the bug with this post. > Binbo Wang (ChongQing, China). > On 8/22/2021 01:57,Alan Mackenzie wrote: > Hello, Binbowang. -- Alan Mackenzie (Nuremberg, Germany).