[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Emacs and lua-mode
- From: Maxime Petazzoni <maxime.petazzoni@...>
- Date: Wed, 28 Apr 2004 17:38:12 +0200
Hi everybody,
As I start programming in Lua, i found the lua-mode for Emacs. But I
does not support a very usefull behavior that other modes such as C-mode
supports : comments. Let me explain : I want my code lines not to be
more that 72 caracters long. For that, I use the fill-paragraph command
(via the M-q shortcut). In Lua, you must prefix a line by '--' to make
it a comment, but after M-q-ing, the other lines are not prefixed.
After looking a little deeper in the fill-paragraph help in Emacs, it
seems that it can call fill-paragraph-function if the one provided is
not nil. But the lua-mode does not have one.
Do you know where I can find a lua-mode that supports this feature ?
Thanks in advance,
- Sam
--
[ identity: maxime petazzoni aka sam -+- maxime.petazzoni@nova-mag.org ]
[ jabber : sam@jabber.dk | icq: 100551837 | aim : maximepetazzoni ]
[ msn: nova_mag@hotmail.com | web: www.nova-mag.org and www.bulix.org ]
[ fingerprint: D694 DAB9 8F4E 68A8 4C17 F011 ECAB 0E7B 83E6 AE0D ]