unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* temp stop syntax coloring on region of mismatched quotes
@ 2008-12-04  2:58 Xah Lee
  2008-12-04 11:00 ` Paul R
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Xah Lee @ 2008-12-04  2:58 UTC (permalink / raw)
  To: help-gnu-emacs

sometimes in some source code, the double quote doesn't match and
makes the rest of the code from that point on syntax colored wrong.
Very annoying.

Is there anyway to make it not syntax color the region of text where
the quote becomes odd?

For example, i have this text in the middle of a html file:

<pre class="code">
&lt;img src="\([^"]+\)" alt="math surface" width="\([0-9]+\)" height="\
([0-9]+\)"&gt;
</pre>

and from this poitn on all syntax coloring gets wrong.
My usual workaround is to add a html comment

<!-- " -->

right after the line, but that's kinda a pain. I wish to temporarily
tell emacs to not do syntax coloring on the problematic region. Is
there a way?

Thanks.

  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-12-04 16:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-04  2:58 temp stop syntax coloring on region of mismatched quotes Xah Lee
2008-12-04 11:00 ` Paul R
     [not found] ` <mailman.1910.1228388432.26697.help-gnu-emacs@gnu.org>
2008-12-04 11:09   ` Andreas Politz
2008-12-04 16:43   ` Xah Lee
2008-12-04 16:45 ` Drew Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).