From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Cai Qian" Newsgroups: gmane.emacs.bugs Subject: Re: sh-script-mode Date: Thu, 1 Jun 2006 00:46:32 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1149142670 11231 80.91.229.2 (1 Jun 2006 06:17:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Jun 2006 06:17:50 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 01 08:17:47 2006 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FlgV0-0003iT-6c for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Jun 2006 08:17:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FlgUz-0005Bt-Ef for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Jun 2006 02:17:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FlaOa-0003HY-Fo for bug-gnu-emacs@gnu.org; Wed, 31 May 2006 19:46:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FlaOZ-0003HK-1L for bug-gnu-emacs@gnu.org; Wed, 31 May 2006 19:46:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FlaOY-0003HH-UN for bug-gnu-emacs@gnu.org; Wed, 31 May 2006 19:46:34 -0400 Original-Received: from [64.233.184.237] (helo=wr-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FlaUg-00088O-F2 for bug-gnu-emacs@gnu.org; Wed, 31 May 2006 19:52:54 -0400 Original-Received: by wr-out-0506.google.com with SMTP id 67so152714wri for ; Wed, 31 May 2006 16:46:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kxQxDKCMAFoRaem+LX42O9cZfQjloiZRIrEGb9hLbZ6NAhOzHrDNyTgs6YGjG0XX3u5oYgNpKIUgbyjQDJuH+jbqgzsxMn3asOD+wBn2reR3MiNdi59c+H7v8rioxpUiR0n7LX9DF7tau6/YL3jOrt7FPYTlSyUdOrR4ss9Cg0c= Original-Received: by 10.54.132.8 with SMTP id f8mr63321wrd; Wed, 31 May 2006 16:46:32 -0700 (PDT) Original-Received: by 10.54.115.14 with HTTP; Wed, 31 May 2006 16:46:32 -0700 (PDT) Original-To: rms@gnu.org In-Reply-To: Content-Disposition: inline X-Mailman-Approved-At: Thu, 01 Jun 2006 02:17:34 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15117 Archived-At: Hi, On 5/29/06, Richard Stallman 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