GNU bug report logs - #40421
26.2; (And 27.0.90) Inconsistent fontifying in c-mode

Previous Next

Package: emacs;

Reported by: Rolf Ade <rolf <at> pointsman.de>

Date: Sat, 4 Apr 2020 01:09:01 UTC

Severity: normal

Tags: notabug

Found in version 26.2

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Rolf Ade <rolf <at> pointsman.de>
To: 40421 <at> debbugs.gnu.org
Subject: bug#40421: 26.2; (And 27.0.90) Inconsistent fontifying in c-mode
Date: Sat, 04 Apr 2020 03:08:30 +0200
Recipt:

emacs -Q

Insert:

/* 11 */
EXTERN int		XML_GetCurrentByteCount(XML_Parser parser);
/* 12 */
EXTERN enum XML_Status	XML_SetBase(XML_Parser parser, const XML_Char *base);
/* 13 */
EXTERN const XML_Char *	 XML_GetBase(XML_Parser parser);
/* 14 */
EXTERN int		XML_GetSpecifiedAttributeCount(XML_Parser parser);
/* 15 */

and M-x c-mode. The font-look seems randomly. Some EXTERN colered, some
not, some function names black, some blue.

The whole (small) file is here
http://tdom.org/index.html/raw/generic/tdomDecls.h?name=cccb9227. With
this syntactically correct file (at least gcc and clang consume it
without complain) there is similiar font-lock flicker around the lines
commented with 12, 13, 14.

I report this (and see it) on my working-place emacs-26.2 but have
verified, that a freshly build emacs-27.0.90 shows the same behaviour.




This bug report was last modified 5 years and 94 days ago.

Previous Next


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