[Top][All Lists]

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

Re: [AUCTeX] lua snippets in TeX

From: David Kastrup
Subject: Re: [AUCTeX] lua snippets in TeX
Date: Fri, 02 Oct 2009 07:07:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Thomas <address@hidden> 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

reply via email to

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