GNU bug report logs - #23266
25.0.92; GNUmakefile mode incorrect syntax highlighting

Previous Next

Package: emacs;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Sun, 10 Apr 2016 23:04:02 UTC

Severity: minor

Found in version 25.0.92

Fixed in version 28.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: Dima Kogan <dima <at> secretsauce.net>
To: 23266 <at> debbugs.gnu.org
Subject: bug#23266: 25.0.92; GNUmakefile mode incorrect syntax highlighting
Date: Sun, 10 Apr 2016 16:02:46 -0700
[Message part 1 (text/plain, inline)]
Hi. I'm running an emacs built from the emacs-25 branch on 2016/04/05
(a05fb21). I'm seeing Makefiles incorrectly rendered at times. Example.
I load the following Makefile:

===================================
XXX :=						\
$(DIR)/aaa/bbb					\
$(DIR)/aaa/bbb					\
$(DIR)/aaa/bbb					\
$(DIR)/aaa/bbb					\
$(DIR)/aaa/bbb					\
$(DIR)/aaa/bbb					\
$(DIR)/aaa/bbb					\
$(DIR)/aaa/bbb					\
$(DIR)/aaa/bbb
===================================

Things look correct here. In particular all the DIR are rendered with
font-lock-variable-name-face

I then kill (with C-k) any of the DIR lines. Two of the DIR around the
line being killed then lose the font-lock-variable-name-face. The buffer
needs to be reverted to get proper highlighting back. I'm attaching
screenshots (emacs -Q -nw) before and after the kill.

Thanks


[before.png (image/png, attachment)]
[after.png (image/png, attachment)]

This bug report was last modified 4 years and 11 days ago.

Previous Next


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