GNU bug report logs - #62951
29.0.90; c-ts-mode: Incorrect fontification due to FOR_EACH_TAIL_SAFE

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Wed, 19 Apr 2023 16:41:01 UTC

Severity: normal

Found in version 29.0.90

Fixed in version 29.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Yuan Fu <casouri <at> gmail.com>
Cc: dmitry <at> gutov.dev, 62951 <at> debbugs.gnu.org
Subject: bug#62951: 29.0.90; c-ts-mode: Incorrect fontification due to FOR_EACH_TAIL_SAFE
Date: Sun, 30 Apr 2023 08:24:16 +0300
> From: Yuan Fu <casouri <at> gmail.com>
> Date: Sat, 29 Apr 2023 15:55:26 -0700
> Cc: Dmitry Gutov <dmitry <at> gutov.dev>,
>  62951 <at> debbugs.gnu.org
> 
> > I mean the macro itself, FOR_EACH_TAIL.  If it isn't supposed to be
> > fontified, then why is it fontified at line 856 of comp.c?  It's
> > inconsistent.  (However, this is a very minor problem, so if fixing
> > it is difficult, we can leave this alone for now.)
> 
> Ah, I see. FOR_EACH_TAIL’s that has a bracketed body are not skipped and still have fontification on them. I pushed a change so that no one has fontification now.

Thanks, looks good now.




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

Previous Next


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