Thomas <[email protected]> writes:

> Hi,
>
> maybe this is a naive question, but is it somehow possible to have
> lua snippets within TeX code highlighted as lua code? This snippets
> are delimited with 
>
> \startluacode
>
> \stopluacode
>
> tags. Could I convince aucTeX to use lua-mode.el 
> highlighting for these snippets? 

Changing modes in mid-buffer is not something supported by Emacs in
general.  There is something called mmm-mode (multiple major mode) for
this problem space available somewhere, but I don't think somebody
adapted it for AUCTeX yet.

-- 
David Kastrup


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

Reply via email to