From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: About color syntax in bash script Date: Sat, 10 Sep 2016 11:05:49 +0200 Message-ID: <45e415b2-542a-f722-64a5-cafaedb67069@alice.it> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1473498384 12375 195.159.176.226 (10 Sep 2016 09:06:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Sep 2016 09:06:24 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 Cc: Emacs developers To: Tino Calancha Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 10 11:06:20 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bieEu-0002j1-66 for ged-emacs-devel@m.gmane.org; Sat, 10 Sep 2016 11:06:20 +0200 Original-Received: from localhost ([::1]:33692 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bieEs-0007lr-1D for ged-emacs-devel@m.gmane.org; Sat, 10 Sep 2016 05:06:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bieEm-0007lZ-5v for emacs-devel@gnu.org; Sat, 10 Sep 2016 05:06:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bieEh-0002aW-Vw for emacs-devel@gnu.org; Sat, 10 Sep 2016 05:06:11 -0400 Original-Received: from smtp202.alice.it ([82.57.200.98]:9897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bieEh-0002aB-KF for emacs-devel@gnu.org; Sat, 10 Sep 2016 05:06:07 -0400 Original-Received: from [192.168.1.100] (79.45.0.244) by smtp202.alice.it (8.6.060.43) (authenticated as angelo.graziosi@alice.it) id 57CD0F80014A6EB0; Sat, 10 Sep 2016 11:06:04 +0200 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.98 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:207353 Archived-At: 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.