From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: shell mode syntax higlighting problem with here documents Date: Thu, 20 Oct 2005 23:14:17 -0400 Message-ID: <87u0fbmujy.fsf-monnier+emacs@gnu.org> References: <200510201712.39665.nsushkin@openfinance.com> <17240.2686.866044.208347@kahikatea.snap.net.nz> <200510201756.15052.nsushkin@openfinance.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129864494 14144 80.91.229.2 (21 Oct 2005 03:14:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Oct 2005 03:14:54 +0000 (UTC) Cc: Nick Roberts , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 21 05:14:44 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ESnMT-0000lK-Ao for ged-emacs-devel@m.gmane.org; Fri, 21 Oct 2005 05:14:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESnMS-0005Gt-NE for ged-emacs-devel@m.gmane.org; Thu, 20 Oct 2005 23:14:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ESnMK-0005Gd-Rl for emacs-devel@gnu.org; Thu, 20 Oct 2005 23:14:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ESnMJ-0005GR-AH for emacs-devel@gnu.org; Thu, 20 Oct 2005 23:14:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESnMJ-0005GO-6x for emacs-devel@gnu.org; Thu, 20 Oct 2005 23:14:19 -0400 Original-Received: from [209.226.175.97] (helo=tomts40-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ESnMJ-0001KY-3C for emacs-devel@gnu.org; Thu, 20 Oct 2005 23:14:19 -0400 Original-Received: from alfajor ([70.48.83.21]) by tomts40-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20051021031418.QWBT1799.tomts40-srv.bellnexxia.net@alfajor>; Thu, 20 Oct 2005 23:14:18 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id D0679D72C1; Thu, 20 Oct 2005 23:14:17 -0400 (EDT) Original-To: Nicholas Sushkin In-Reply-To: <200510201756.15052.nsushkin@openfinance.com> (Nicholas Sushkin's message of "Thu, 20 Oct 2005 17:56:14 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:44472 Archived-At: > Ok, I tried the CVS version as of half an hour ago. > It seems that on the initial load, it highlights correctly. However, if I > insert a couple of spaces at the beginning of the line that contains << > EOF, the highlighting after the final EOF breaks. Kill and reload the file > fixes it again. I've installed a slightly fixed variant of the patch I sent. Can you try with the latest CVS code? It seemed to work on all my tests. Stefan