Hi Tassilo,

I added also "," to the characters to be ignored, because with the patch

  foo\,bar

had "\,bar" highlighted.

Bye,
Mosè


2017-04-17 9:30 GMT+02:00 Tassilo Horn <[email protected]>:
> François Patte <[email protected]> writes:
>
> Bonjour François,
>
>> I added to my .Xresources file:
>> "Emacs.font-latex-sedate-face.attributeForeground: indianred2" in
>> order to have all LaTeX commands in indianred.
>>
>> But when I use a command like \- for discretionnary hyphen, the whole
>> word after the \- command is turned into indian red, ie. the
>> fontification is not applied only to the command (which is actually in
>> red).
>>
>> For instance: anti\-constitutionnel: \- is in red and constitutionnel
>> in indian red.
>>
>> Is there a way to avoid this?
>
> That's a bug.  I just taught font-latex that \-something is not a
> command and should not be highlighted as such.
>
> I also made a new ELPA release but sadly just *before* I read your mail
> and fixed the bug, so it might take a while until the fix becomes
> available (through ELPA at least).
>
> Merçi,
> Tassilo
>
> _______________________________________________
> auctex mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/auctex
>

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

Reply via email to