[erlang-patches] Print column numbers when compiling

Magnus Henoch magnus.henoch@REDACTED
Wed Jun 6 11:37:18 CEST 2012


> Thanks for the feedback! For Emacs support erlang.el should be
> patched but I have no clue how to make the column optional in the
> regexp describing the excepted compiler output. The help of someone
> more Emacs-savvy would be gladly accepted.

Some brief testing suggests that Emacs handles the column number if
you remove the variable erlang-error-regexp-alist, the function
erlang-add-compilation-alist, and the two calls to the latter.  (That
function adds an entry to compilation-error-regexp-alist; remove it
manually or restart Emacs to try it out.)  I guess that function was
compensating for something that was missing in Emacs 19, but whatever
it was, it seems like my Emacs 24 doesn't need it...

Regards,
-- 
Magnus Henoch
Erlang Solutions Ltd
http://www.erlang-solutions.com/




More information about the erlang-patches mailing list