bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#18379: 24.3.93; Bash font lock: pretty inconsistent treatment of ``


From: Andreas Schwab
Subject: bug#18379: 24.3.93; Bash font lock: pretty inconsistent treatment of `` and $()
Date: Mon, 01 Sep 2014 17:03:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Carlos Pita <carlosjosepita@gmail.com> writes:

> The syntax table treats ` as an string quote character, so
>
> `if [[ $x == x ]]; then echo x; else echo y fi`
>
> $(if [[ $x == x ]]; then echo x; else echo y fi)
>
> are highlighted in a very different way although they are semantically
> equivalent.

They have different quoting rules, with `...` using rules similar to
double quotes, whereas $(...) is a fully nesting construct.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."





reply via email to

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