unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* About color syntax in bash script
@ 2016-09-09 17:03 Angelo Graziosi
  2016-09-10  3:42 ` Tino Calancha
  0 siblings, 1 reply; 3+ messages in thread
From: Angelo Graziosi @ 2016-09-09 17:03 UTC (permalink / raw)
  To: emacs-devel

Just out of curiosity..

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 see this with a recent build from master.

Ciao,
  Angelo.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: About color syntax in bash script
  2016-09-09 17:03 About color syntax in bash script Angelo Graziosi
@ 2016-09-10  3:42 ` Tino Calancha
  2016-09-10  9:05   ` Angelo Graziosi
  0 siblings, 1 reply; 3+ messages in thread
From: Tino Calancha @ 2016-09-10  3:42 UTC (permalink / raw)
  To: Angelo Graziosi; +Cc: Emacs developers


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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: About color syntax in bash script
  2016-09-10  3:42 ` Tino Calancha
@ 2016-09-10  9:05   ` Angelo Graziosi
  0 siblings, 0 replies; 3+ messages in thread
From: Angelo Graziosi @ 2016-09-10  9:05 UTC (permalink / raw)
  To: Tino Calancha; +Cc: Emacs developers



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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-10  9:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-09 17:03 About color syntax in bash script Angelo Graziosi
2016-09-10  3:42 ` Tino Calancha
2016-09-10  9:05   ` Angelo Graziosi

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).