This is an ebuild for an emacs lua mode. Like the folding-mode ebuild, this ebuild only includes a mirror://gentoo/${P}.tar.gz SRC_URI, assuming that a tarball with a ${P} directory containing lua-mode.el is added to the mirrors. The emacs lisp file is currently available only on a lua users group wiki, at the following URL: http://lua-users.org/files/wiki_insecure/editors/testing/lua-mode.el There is a slightly older, less functional, better tested lua-mode.el file also available on the wiki, but unfortunately both files have the same version. I haven't had any problems with this testing version though, and since it will be ~x86 anyway, it doesn't seem like a problem. Both this testing version and the more stable version have the interesting problem that without modification, they won't byte compile, although they do work. (They give errors when byte compiling.) The errors are caused by the extensive use of eval-when-compile. The simple solution employed by this ebuild is to use a simple sed expression to replace all the eval-when-compile expressions with progn. This seems better than a patch because it will work on future versions as well, although actually testing it on future versions would be necessary in any case.
Created attachment 18378 [details] lua-mode-1.26.ebuild
Created attachment 18379 [details] 70lua-mode-gentoo.el
hi Jeremy. added to portage.