[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] ConTeXt Font Lock
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX] ConTeXt Font Lock |
Date: |
Sun, 05 Apr 2015 08:33:43 +0200 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Alexander Shukaev <address@hidden> writes:
> > 2. Can `font-latex.el' be fully reused?
>
> What do you mean by "reused"?
>
> I mean by renaming it to `font-context.el', refactoring all `*latex*'
> symbols to `*context*', and setting `font-context-setup' as a ConTeXt
> mode hook appropriately.
I don't see why we should copy it. font-latex.el isn't really so
LaTeX-specific except for its name and the default values of its
variables. So basically it should suffice to define new variables such
as
`font-context-built-in-keyword-classes'
analogous to
`font-latex-built-in-keyword-classes'
and then do
(set (make-local-variable 'font-latex-built-in-keyword-classes)
font-context-built-in-keyword-classes)
in ConTeXt files.
Bye,
Tassilo