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

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

Re: sh-script-mode


From: Cai Qian
Subject: Re: sh-script-mode
Date: Thu, 1 Jun 2006 00:46:32 +0100

Hi,

On 5/29/06, Richard Stallman <address@hidden> wrote:
    3) Highlight for quote string
    Highlight for quota string is a mess, when embed double or single
    quota inside quota, such as,

    echo "$(echo "hello 'world'")"

I think the syntax mechanism is not powerful enough to understand that.
Sorry.


I think it is necessary here to change the behaviour of syntax
highlight of quote string. For example,

echo "$(ls "Hello World"*)"

Two quote strings are valid and necessary here to protect spaces as
well as newlines. In addition, I don't think it is too hard to support
it. When the first " char looking for the end of " char, it needs to
skip " char inside $(...)

Qian




reply via email to

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