Hi,

I am responsible for the lua-mode package in Debian. In response to Debian bug #350277, I have created the following patch:

--- lua-mode-1.74~/lua-mode.el  2006-02-10 10:28:10.452603760 +0100
+++ lua-mode-1.74/lua-mode.el   2006-02-10 10:29:17.783367928 +0100
@@ -144,8 +144,8 @@
      ; try (setq font-lock-support-mode 'lazy-lock-mode) in your ~/.emacs

      ;; Multi-line comment blocks.
-     `("--.*\\(\\[\\[\\(\\]?[^]]\\)*\\]\\]\\)"
-       (1 font-lock-comment-face t))
+ `("\\(^\\|[^-]\\)\\(--\\[\\[\\([^-]\\|-\\([^-]\\|-\\([^]]\\|][^]]\\)\\)\\)*--]]\\)"
+       (2 font-lock-comment-face t))

      ;;
      ;; Keywords.

By the way, lua-mode.el has a header containing the number "174" as the version number, which I have interpreted as 1.74 because the last version I had was 1.26. Should I use "174" instead? Or do you have a completely different scheme?

Cheers,
Jens Peter


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to