emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About color syntax in bash script


From: Tino Calancha
Subject: Re: About color syntax in bash script
Date: Sat, 10 Sep 2016 12:42:04 +0900 (JST)
User-agent: Alpine 2.20 (DEB 67 2015-01-07)


On Fri, 9 Sep 2016, Angelo Graziosi wrote:

Run Emacs without any init file and visit this Bash script:

$ cat foo.sh
#!/bin/bash

VAR_A=`uname -s`
VAR_B=$(uname -s)

the RHS in VAR_A is in magenta while in VAR_B is black. Is this right? I
seem
to remember that some time ago (year?) also RHS in VAR_B was in
magenta.. but
I am not sure.

I have tested with emacs-24, emacs-25.1-rc2,
and emacs-25 (banch: master, latest commit: 367f8568)
and i see same fontification in all cases:

*) The RHS in VAR_A: everything in magenta
*) The RHS in VAR_B: "uname" in magenta, "$(-s)" black.

I see this with a recent build from master.
Maybe it has being already fixed.

Tino



reply via email to

[Prev in Thread] Current Thread [Next in Thread]