From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Joe Corneli Newsgroups: gmane.emacs.help Subject: how to override bad coloring in shell-script-mode? Date: Wed, 4 Jun 2003 04:06:53 -0500 (CDT) Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1054718230 10871 80.91.224.249 (4 Jun 2003 09:17:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 4 Jun 2003 09:17:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 04 11:17:08 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19NUOK-0002p9-00 for ; Wed, 04 Jun 2003 11:17:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19NUFY-00084K-4j for gnu-help-gnu-emacs@m.gmane.org; Wed, 04 Jun 2003 05:08:04 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19NUFI-00080n-Gi for help-gnu-emacs@gnu.org; Wed, 04 Jun 2003 05:07:48 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19NUFF-0007yz-51 for help-gnu-emacs@gnu.org; Wed, 04 Jun 2003 05:07:46 -0400 Original-Received: from dell3.ma.utexas.edu ([146.6.139.124]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19NUEP-0007bL-Qj for help-gnu-emacs@gnu.org; Wed, 04 Jun 2003 05:06:53 -0400 Original-Received: from linux53.ma.utexas.edu (jcorneli@linux53.ma.utexas.edu [146.6.139.18]) by dell3.ma.utexas.edu (8.11.3/8.10.2) with ESMTP id h5496rN00334 for ; Wed, 4 Jun 2003 04:06:53 -0500 X-Sender: jcorneli@linux53.ma.utexas.edu Original-To: help-gnu-emacs@gnu.org In-Reply-To: X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10579 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10579 The following is a sample from a bash script I've been working on. grep "<<$SF>>" $HOME/.todo/$TODOLIST > $HOME/p ade=$? rm $HOME/p Now that I have color in my rxvt, I'm noticing something bad: everything after the line containing the "<<" is in sh-heredoc-face until the code comes to another line containing "<<" and ">>". Note, however, that it is not the _next_ line containing those strings that stops the yellow tide, but one rather far along in the code. Then things are normal for a while, then back to sh-heredoc-face. This bad behaviour is not present in XEmacs, interestingly enough. I'll submit a bug report on this shortly, but in the mean time I'd like to know how to get Emacs to ignore everything having to do with "here docs". Thanks, Joe