[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to override bad coloring in shell-script-mode?

From: Joe Corneli
Subject: how to override bad coloring in shell-script-mode?
Date: Wed, 4 Jun 2003 04:06:53 -0500 (CDT)

The following is a sample from a bash script I've been working on.

  grep "<<$SF>>" $HOME/.todo/$TODOLIST > $HOME/p                                
  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".



reply via email to

[Prev in Thread] Current Thread [Next in Thread]