[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] Re: 2005-11-30; incorrect token highlighting after «
From: |
Ralf Angeli |
Subject: |
Re: [Bug-AUCTeX] Re: 2005-11-30; incorrect token highlighting after « |
Date: |
Tue, 06 Dec 2005 11:53:04 +0100 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
* Werner LEMBERG (2005-12-05) writes:
> Meanwhile I've found the documentation w.r.t. » and « :-)
>
> I suggest to disable this functionality until the user explicitly
> activates it.
That would be nearly equivalent with removing the feature altogether.
> Fontification is too painful IMHO if the user tries the
> German style while the default is for French.
Maybe some kind of autodetection would help. But it would not be
completely reliable and depending on its implementation it might be
resource intensive.
What I am thinking of is that when one of the quotation marks which
can be used in French or German style is found the first time during
fontification, the buffer will be searched from beginning to end for
the first occurence of the quotation mark type and that will determine
the style to be used. I think there has to be an extra search
starting from the top of the buffer because with jit-lock
fontification does not necessarily start at the top of a buffer. So
the decision which quote style to use cannot be based on the first
quotation mark found by fontification.
--
Ralf