lua-users home
lua-l archive

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

* Miles Bader:

> Florian Weimer <> writes:
>>>>> Get it from
>>>> 1. Does this incorporate the new lua2-mode?
>>> Is "lua2-mode" also an Emacs lua mode, or is it something else?
>> The basic functionality comes from lua-mode, it just changes faces
>> using overlays.
> Does it really use overlays?

Yes, it does.

> They can be _much_ less efficient than text properties when used in
> large numbers... (so it's not recommended to use them for typical
> syntax-highlighting type uses)

They are not very efficient, true.  I should have written down why I
preferred them over text properties, but I think it had to do with the
fact that changing overlays does not count as a buffer modification,
but changing text properties does.

> I'm kind of confused what to do about lua-mode...

If the python-mode situation is any guide, GNU Emacs integration is a
bad idea because it will eventually lead to fragmentation.