How can I achieve a proper highlighting in auctex/emacs?
I use the german guillemets (chevrons), but the highlighting is just revers as I would use the real (french) guillemets.
He says: »Who are you?« I reply: »Just a guy who wants proper highlighting.«
The bold parts are highlighted. For the standard syntax table I have this snippet in my ~/.emacs:
(modify-syntax-entry ?« ")»" (standard-syntax-table)) (modify-syntax-entry ?» "(«" (standard-syntax-table))
My guess was that a hook could help:
(add-hook 'LaTeX-mode-hook (lambda () (modify-syntax-entry ?« ")»") (modify-syntax-entry ?» ")«") ))
But it didn't. The usual answer to this problem is, put
in your preamble, but of course it is there.