GNU bug report logs - #33900
GNUmakefile mode colors fooled by colons in shell commands

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sat, 29 Dec 2018 05:45:01 UTC

Severity: normal

Tags: confirmed, patch

Merged with 17400, 33681, 35299, 36245, 37934, 45037, 46052, 46221, 48052, 76759

Found in version 26.1

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: 33900 <at> debbugs.gnu.org
Subject: bug#33900: GNUmakefile mode colors fooled by colons in shell commands
Date: Sat, 29 Dec 2018 08:36:22 +0800
$ cat Makefile
U=https://www.example.com//forum.php?mod=forumdisplay
all:new
	if ! test -f old; then touch old; fi
	diff old new > $T || :
	if test -s $T; then cat $T; echo https://www.example.com/; fi
	mv new old
$ emacs -q Makefile
See the weird colors caused by colons etc. on these lines?

     1  U=https://www.example.com//forum.php?mod=forumdisplay
     4          diff old new > $T || :
     5          if test -s $T; then cat $T; echo https://www.example.com/; fi

emacs-version "26.1"




This bug report was last modified 69 days ago.

Previous Next


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