GNU bug report logs - #41492
GNUMakefile-mode: highlight the $ of $&

Previous Next

Package: emacs;

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

Date: Sat, 23 May 2020 19:11:01 UTC

Severity: minor

Full log


View this message in rfc822 format

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: 41492 <at> debbugs.gnu.org
Subject: bug#41492: GNUMakefile-mode: highlight the $ of $&
Date: Sat, 23 May 2020 17:48:46 +0800
In a makefile,

/tmp/phony2.xml:/tmp/phony1.xml
	perl -pwle 's/<ZeroBlockHttpCodes>/$&0,/;' $? > $@

the $ should still be highlighted, even though maybe make doesn't have a
$& variable, but still the user needs to know he forgot to double it.

In fact all single $ should be in a highlighted font face.

emacs-version "26.3".




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

Previous Next


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