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: Angelo Graziosi
Subject: Re: About color syntax in bash script
Date: Sat, 10 Sep 2016 11:05:49 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0



Il 10/09/2016 05:42, Tino Calancha ha scritto:

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.

Hmm... This is strange. Now I can't reproduce it with my build.. Maybe a false alarm..

Thanks,
  Angelo.




reply via email to

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