Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 473406

Summary: app-emacs/lua-mode-20100617-r1 is out of date (and breaks if you type a right paren)
Product: Gentoo Linux Reporter: tinyplasticgreyknight
Component: Current packagesAssignee: Emacs project <emacs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description tinyplasticgreyknight 2013-06-15 20:35:29 UTC
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 ;-)
Comment 1 Ulrich Müller gentoo-dev 2013-06-25 20:45:33 UTC
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!