GNU bug report logs - #13241
24.2; sh-mode, bash, font-lock; highlight variables in expressions: (( var ))

Previous Next

Package: emacs;

Reported by: quite <at> hack.org

Date: Thu, 20 Dec 2012 16:47:01 UTC

Severity: normal

Merged with 57182

Found in versions 24.2, 28.1

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: quite <at> hack.org
Cc: 13241 <at> debbugs.gnu.org
Subject: bug#13241: 24.2; sh-mode, bash, font-lock; highlight variables in expressions: (( var ))
Date: Tue, 10 May 2022 14:28:29 +0200
quite <at> hack.org writes:

> Feature request: make the sh-mode font-lock mode propertly highlight 
> variables used in expression, such as:  (( var > 42 ))  $(( var++ ))

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I don't quite understand the request -- sh-mode doesn't font-lock
variables in other cases, so I don't quite see why it should font-lock
variables inside (( )) constructs?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 2 years and 303 days ago.

Previous Next


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