all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Cai Qian" <caiqian@gmail.com>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: sh-script-mode
Date: Thu, 1 Jun 2006 00:46:32 +0100	[thread overview]
Message-ID: <a96350810605311646xa78c23aq18130b3e72adad61@mail.gmail.com> (raw)
In-Reply-To: <E1FkpID-0004Pz-On@fencepost.gnu.org>

Hi,

On 5/29/06, Richard Stallman <rms@gnu.org> 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

  parent reply	other threads:[~2006-05-31 23:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-29 15:44 sh-script-mode Cai Qian
2006-05-30 16:32 ` sh-script-mode Kevin Rodgers
     [not found] ` <E1FkpID-0004Pz-On@fencepost.gnu.org>
2006-05-31 23:46   ` Cai Qian [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-05-29 15:41 sh-script-mode Cai Qian
2006-05-29 18:06 ` sh-script-mode David Hansen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a96350810605311646xa78c23aq18130b3e72adad61@mail.gmail.com \
    --to=caiqian@gmail.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.