I get the following error
File mode specification error: (error "Unknown rx form `group-n'")
when I try to edit a .lua file in emacs. I use GNU Emacs 23.3.1, and I have the following in my .emacs
file:
(autoload 'lua-mode "lua-mode" "Lua editing mode." t)
(add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
(add-to-list 'interpreter-mode-alist '("lua" . lua-mode))
I installed lua-mode
from http://immerrr.github.com/lua-mode/.
I have tried to run emacs with the --debug-init
option, but it did not enter the debugger, instead the .lua file opens in text-mode
and not lua-mode
..
(See also Emacs lua-mode issue: (void-function interactively-called-p))
lua-mode.el
is on your load-path. – hjpotter92.emacs
file:(add-to-list 'load-path "~/.emacs.d/el-get/lua-mode/")
. In that directory I havelua-mode.el
installed.. – Håkon Hægland