From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: Font lock bug in sh-script.el Date: Mon, 16 Dec 2002 11:56:26 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200212161656.gBGGuQl31471@rum.cs.yale.edu> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1040059973 21331 80.91.224.249 (16 Dec 2002 17:32:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 16 Dec 2002 17:32:53 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Nz6J-0005Wf-00 for ; Mon, 16 Dec 2002 18:32:19 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18NzJt-0004WD-00 for ; Mon, 16 Dec 2002 18:46:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Nz56-0004KF-0A for emacs-devel@quimby.gnus.org; Mon, 16 Dec 2002 12:31:04 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18NyZ7-0004Qr-00 for emacs-devel@gnu.org; Mon, 16 Dec 2002 11:58:01 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18NyYx-0004JP-00 for emacs-devel@gnu.org; Mon, 16 Dec 2002 11:57:52 -0500 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18NyXb-0003aq-00; Mon, 16 Dec 2002 11:56:27 -0500 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id gBGGuQl31471; Mon, 16 Dec 2002 11:56:26 -0500 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Richard Stallman Original-cc: occitan@esperanto.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10173 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10173 > This shell script > > svrmgrl << EOF > CONNECT INTERNAL > STARTUP > EXIT > EOF > > while > # foo > > seems to confuse sh-script.el's font lock support. > All the text following the first line is treated as a here-document. As mentioned earlier, this is indeed correct. He should use either svrmgrl << ' EOF' CONNECT INTERNAL STARTUP EXIT EOF while # foo or svrmgrl <<- EOF CONNECT INTERNAL STARTUP EXIT EOF while # foo - Stefan