Ralf Angeli <[EMAIL PROTECTED]> writes:

> * David Kastrup (2005-11-29) writes:
>
>> Ralf Angeli <[EMAIL PROTECTED]> writes:
>>
>>>     (texmathp-match-switch): Make aware of comments.
>>
>> I am not sure this sounds like a good idea at least for code
>> comments.  Stuff like
>>
>> \def\woozle{$%$
>>
>> is often used to keep indentation and syntax highlighting in check
>> when the code is too complicated for the editor to understand.  If
>> AUCTeX blocks all roads to giving such cues, the user will get more
>> rather than less frustrated.
>>
>> We should really keep some simple syntax functional for this kind of
>> thing.
>
> Sorry, I don't follow you.  Where do you see a problem with stuff like
> "$%$"?
>
> The bug (reported to the Debian bug tracking system) I fixed was
> `texmathp' getting confused if you had
> %\(
> in your file and wanted to insert a $ below such a line.

Why should you not be allowed to put that into a file?

\def\myendofmath{%\(
  \)}

would be a typical foil-the-paren-matcher construct.


-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to