From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Konstantin Kharlamov Newsgroups: gmane.emacs.bugs Subject: bug#46400: [BISECTED] Sporadically breaking newline-indentation in c-mode Date: Tue, 23 Feb 2021 14:32:19 +0300 Message-ID: References: <3aafe9efbe83797da7628d62401224bc3f18cfdd.camel@yandex.ru> 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="21689"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.38.4 Cc: 46400@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 23 12:33:21 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 1lEVwP-0005VX-0X for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Feb 2021 12:33:21 +0100 Original-Received: from localhost ([::1]:37902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEVwN-0002V2-Tk for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Feb 2021 06:33:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEVw6-0002UR-0k for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2021 06:33:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46891) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEVw5-0007bH-PV; Tue, 23 Feb 2021 06:33:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lEVw5-0006y3-MA; Tue, 23 Feb 2021 06:33:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Konstantin Kharlamov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Tue, 23 Feb 2021 11:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46400 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: confirmed Original-Received: via spool by 46400-submit@debbugs.gnu.org id=B46400.161407995226732 (code B ref 46400); Tue, 23 Feb 2021 11:33:01 +0000 Original-Received: (at 46400) by debbugs.gnu.org; 23 Feb 2021 11:32:32 +0000 Original-Received: from localhost ([127.0.0.1]:58437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEVvb-0006x6-Jy for submit@debbugs.gnu.org; Tue, 23 Feb 2021 06:32:31 -0500 Original-Received: from forward103p.mail.yandex.net ([77.88.28.106]:40830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEVvY-0006wq-Bq for 46400@debbugs.gnu.org; Tue, 23 Feb 2021 06:32:29 -0500 Original-Received: from forward103q.mail.yandex.net (forward103q.mail.yandex.net [IPv6:2a02:6b8:c0e:50:0:640:b21c:d009]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 450F018C2473; Tue, 23 Feb 2021 14:32:20 +0300 (MSK) Original-Received: from vla1-44b6f6c37fa0.qloud-c.yandex.net (vla1-44b6f6c37fa0.qloud-c.yandex.net [IPv6:2a02:6b8:c0d:4c85:0:640:44b6:f6c3]) by forward103q.mail.yandex.net (Yandex) with ESMTP id 3BCFC61E0002; Tue, 23 Feb 2021 14:32:20 +0300 (MSK) Original-Received: from vla4-d1b041059520.qloud-c.yandex.net (vla4-d1b041059520.qloud-c.yandex.net [2a02:6b8:c17:914:0:640:d1b0:4105]) by vla1-44b6f6c37fa0.qloud-c.yandex.net (mxback/Yandex) with ESMTP id 2vCtH5BQfg-WJI4M3hL; Tue, 23 Feb 2021 14:32:20 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1614079940; bh=CkYWJ1CXPtlWHkN9M4Jq1M3NwO7ehfUCxAzpUrMx5Vg=; h=In-Reply-To:Cc:To:From:Subject:Message-ID:References:Date; b=RGOOEw7f1ti9d+dMzb1Z5NVed19SibvwPh9YFvx+WTJ4l8yfTSFy2anuoRz2loUnu HMdUdXcANegogV4/MCUsk0pqbz7cVCB5myYRcfPoFrJvw0ZYm4UlRUehD+byu4GurV ohVGveBTw/0l634P12146Jw1dHVDsVQzSwy6tbjc= Authentication-Results: vla1-44b6f6c37fa0.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Original-Received: by vla4-d1b041059520.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id LNM7Jss9b8-WJoG5Vi4; Tue, 23 Feb 2021 14:32:19 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) In-Reply-To: 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:200650 Archived-At: On Tue, 2021-02-23 at 11:26 +0000, Alan Mackenzie wrote: > Hello again, Konstantin. Hello! > Apologies: I got your email address confused with another one beginning > with 'k'.  Your address works just fine, and I never deliberately > omitted it from a Cc:. > > > It might well be I messed something up when I merged this bug with the > > other one.  I've not done merging of bugs very often. > > > Sorry you didn't get the posts from debbugs.gnu.org. No worries! > > > Alan Mackenzie wrote: > > > > > A pleasure!  I intend to commit the patch below in a few days time, > > > > if I don't hear back from anybody that it's giving trouble.  This > > > > patch fixes the bug when applied to that commit from December > > > > (9022df70270243f211c54ccd66800320148b8434).  It should apply cleanly > > > > to master. > > > > Oh, this is amazing! I'll give the patch a try as well. I assume though > > > there will be nothing to report (well, other than "Thank you for fixing > > > the bug" 😉), but if I happen to find some other problem, I'll make > > > sure to drop an email either here or to a new report :) > > > Thank you, indeed!  I haven't committed the patch, yet, and I'll leave > > off a few days yet.  It's surprising just how often asking people to > > check patches for their bugs gets a reply that things aren't properly > > fixed. > > I have now committed the patch to all relevant places, and I'm going to > close bug #45375 (which has been merged with bug #46400) next. Thank you! FTR, I have used your patch since my previous email, and haven't noticed any problems. In fact, I even found one thing fixed (but I don't know if it's relevant to the patch or was it some other change on master), which is that if I remove a " symbol around a string, code gets re-highlighted immediately (I seem to remember it was rehighlighted with a delay previously). So, all in all, my experience is great so far!