GNU bug report logs - #38049
C mode fontification broken with reposition-window

Previous Next

Packages: emacs, cc-mode;

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

Date: Sun, 3 Nov 2019 20:32:02 UTC

Severity: normal

Found in version 27.0.50

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: 38049 <at> debbugs.gnu.org
Subject: bug#38049: C mode fontification broken with reposition-window
Date: Sun, 03 Nov 2019 22:28:05 +0200
Version: 27.0.50

This is a reproducible test case:

0. emacs -Q
1. C-x C-f emacs/lib-src/emacsclient.c
2. M-: (progn (search-forward "create-frame" nil t) (reposition-window))

Then half screen displays unfontified lines.

Fontification doesn't fail in other modes, only in C mode.

This has something to do with interaction between c-font-lock
and buffer navigation in reposition-window.




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

Previous Next


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