--- Begin Message ---
Subject: |
Highlight non-closed quote |
Date: |
Sat, 07 Jul 2007 02:43:20 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
Hello,
I created a mode (asy-mode), derived from objc-mode and I use
two-mode-mode to switch between latex-mode and asy-mode in a file .tex.
By editing this code
8<------8<------8<------8<------8<------8<------8<------8<------8<------
\documentclass{article}
\begin{document}
I'm a quote.
\begin{asy}
draw(scale(5cm)*unitcircle);
\end{asy}
\end{document}
8<------8<------8<------8<------8<------8<------8<------8<------8<------
with the cursor between '\begin{asy}' and '\end{asy}' the buffer
rocks to asy-mode, and so, all the text after the quote is highlighted
as a string would.
It is strange to highlight a string which does not exist and here it is
particularly awkward.
how to say to 'font-lock' to color only the strings between double
quote ?
--
Thanks for your help,
Philippe Ivaldi.
http://piprim.tuxfamily.org/
PS: french discuss about this problem in fr.comp.applications.emacs
without convincing solution.
http://tinyurl.com/2crelu
--- End Message ---
--- Begin Message ---
Subject: |
confirm 3753b04bb00ad9a7ab306755d8ee5d7a2067d659 |
If you reply to this message, keeping the Subject: header intact,
Mailman will discard the held message. Do this if the message is
spam. If you reply to this message and include an Approved: header
with the list password in it, the message will be approved for posting
to the list. The Approved: header can also appear in the first line
of the body of the reply.
--- End Message ---