The current version of app-emacs/lua-mode in portage seems to be 20100617-r1, but the upstream repository was last updated 20130528 (just a few days ago at the time of writing). It would be nice to get this up-to-date as typing a right parenthesis causes an error, on account of some changes in emacs lisp in the intervening time. For reference, the error message was "value as variable is void: last-command-char" If nobody is maintaining this ebuild I wouldn't mind doing it: however I haven't done such work before so I could do with some pointers! Reproducible: Always Steps to Reproduce: 1. Open a lua script in emacs 2. Attempt to type: print("hello world") Actual Results: You will get an error while attempting to type the ')': value as variable is void: last-command-char This prevents you from typing that character, so essentially lua-mode is unusable unless you have a very peculiar programming style. Expected Results: Inserted the right-paren, of course ;-)
Sorry for the delay. I've bumped the package to lua-mode-20130419, which is the latest release tagged in the upstream repository. I don't get the paren error with the new version any more. Thank you for reporting!