GNU bug report logs -
#56818
28.1; c-mode font-lock issues in Emacs 28
Previous Next
Reported by: Bill Sacks <sacks <at> ucar.edu>
Date: Thu, 28 Jul 2022 20:33:01 UTC
Severity: normal
Found in version 28.1
Done: Alan Mackenzie <acm <at> muc.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Fri, 29 Jul 2022 17:44:58 +0000
> Cc: 56818 <at> debbugs.gnu.org
> From: Alan Mackenzie <acm <at> muc.de>
>
> diff -r 9c649274b259 cc-engine.el
> --- a/cc-engine.el Tue Jul 26 20:08:39 2022 +0000
> +++ b/cc-engine.el Fri Jul 29 17:25:16 2022 +0000
> @@ -1679,9 +1679,13 @@
> Return the result of `forward-comment' if it gets called, nil otherwise."
> `(if (not comment-end-can-be-escaped)
> (forward-comment -1)
> - (when (and (< (skip-syntax-backward " >") 0)
> - (eq (char-after) ?\n))
> - (forward-char))
> + (let ((dist (skip-syntax-backward " >")))
> + (when (and
> + (< dist 0)
> + (progn
> + (skip-syntax-forward " " (- (point) dist 1))
> + (eq (char-after) ?\n)))
> + (forward-char)))
> (cond
> ((and (eq (char-before) ?\n)
> (eq (char-before (1- (point))) ?\\))
>
>
>
>
> > Alan, this seems to be a regression in Emacs 28, so could you please
> > look into it?
>
> Eli, Do I understand you want the fix in the release branch?
Yes, please.
This bug report was last modified 2 years and 298 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.