GNU bug report logs - #56629
CC Mode 5.35.1 (C++//l); Cache state inconsistency

Previous Next

Package: cc-mode;

Reported by: Michael Welsh Duggan <mwd <at> md5i.com>

Date: Mon, 18 Jul 2022 14:43:01 UTC

Severity: normal

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 56629 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Michael Welsh Duggan <mwd <at> md5i.com>
Cc: 56629 <at> debbugs.gnu.org, acm <at> muc.de
Subject: Re: bug#56629: CC Mode 5.35.1 (C++//l); Cache state inconsistency
Date: Tue, 26 Jul 2022 19:53:02 +0000
Hello again, Michael.

On Sun, Jul 24, 2022 at 15:28:56 +0000, Alan Mackenzie wrote:

[ .... ]

> The cause of this bug is the text properties put on the <s and >s.  These
> are intended to be category properties in Emacs, but syntax-table
> properties in XEmacs.  The mechanism which tests the presence of the
> category property is chaotic in Emacs, though I think it works properly
> in the standalone CC Mode; the detection is (wrongly) done both at
> compile time and load time, and delivers different answers.  :-(

> I will sort this out and let you know when it's done.

I have now committed a patch for this to the savannah master branch,
which I am confident has sorted the problem out.

Could I ask you please to update your Emacs-29 to this branch, and test
it out on your real C++ code, and confirm that the bug is indeed fixed
(or that it's not fixed).  Then we can close the bug.  Thanks!

> > Emacs  : GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0)
> >  of 2022-07-15
> > Package: CC Mode 5.35.1 (C++//l)
> > Buffer Style: Pharos
> > c-emacs-features: (pps-extended-state col-0-paren posix-char-classes gen-string-delim gen-comment-delim syntax-properties 1-bit)

> [ .... ]

-- 
Alan Mackenzie (Nuremberg, Germany).




This bug report was last modified 2 years and 356 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.