[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] Re: [AUCTeX-commit] auctex texmathp.el
From: |
David Kastrup |
Subject: |
Re: [AUCTeX-devel] Re: [AUCTeX-commit] auctex texmathp.el |
Date: |
Tue, 29 Nov 2005 23:19:48 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Ralf Angeli <address@hidden> writes:
> * David Kastrup (2005-11-29) writes:
>
>> Ralf Angeli <address@hidden> 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