auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] disable \% and \$ fontification


From: Tassilo Horn
Subject: Re: [AUCTeX] disable \% and \$ fontification
Date: Tue, 10 Jan 2012 10:27:27 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux)

Jean <address@hidden> writes:

Hi Jean,

> Is there a way to disable the fontification of \$ and \% but keep %
> and $

\$ and \% are not fontified specially here, they are just a literal $
and %.

> something like elisp when \; is typed emacs does not fontify but when
> ; is typed it will fontify.

I have the same behavior in AUCTeX for tex files.

Fontified as normal text:

  \% bla bla

Fontified as a comment:

  % bla bla

Fontified as normal text up to the second % (excluding), the rest as a
comment:

  foo bar \% more text % bla bla

> I am using GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.4) 

What version of AUCTeX are you using?

Bye,
Tassilo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]