GNU bug report logs - #36492
c-mode fails with errors during fontification

Previous Next

Packages: emacs, cc-mode;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Wed, 3 Jul 2019 20:58:02 UTC

Severity: normal

Tags: fixed

Found in version 27.0.50

Fixed in versions 27.0.50, 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alan Mackenzie <acm <at> muc.de>
To: Juri Linkov <juri <at> linkov.net>
Cc: 36492 <at> debbugs.gnu.org
Subject: bug#36492: c-mode fails with errors during fontification
Date: 4 Jul 2019 21:19:28 -0000
Hello, Juri.

In article <mailman.154.1562272763.2688.bug-gnu-emacs <at> gnu.org> you wrote:
> [-- text/plain, encoding 7bit, charset: US-ASCII, 6 lines --]

>> Opening this message in Gnus fails with the following backtrace
>> because c-mode fails to fontify the attachment.

> Actually, with the attachment in this message the bug in c-mode
> font-lock is much easier to reproduce.

Yes, I can reproduce the bug in that buffer with
(font-lock-fontify-region (point-min) (point-max).  I suspect it will be
fairly easy to diagnose and fix.

> [-- text/x-csrc, encoding 7bit, charset: US-ASCII, 3 lines, name: test.c --]

-- 
Alan Mackezie (Nuremberg, Germany).





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

Previous Next


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