[erlang-patches] Print column numbers when compiling

Anthony Ramine <>
Wed Jun 6 11:43:13 CEST 2012

Le 6 juin 2012 à 11:37, Magnus Henoch a écrit :

>> 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,

From what I see, Vimerl suffers from the same thing, overriding the
default errorformat value with its own; thus breaking the handling of
column numbers.

Should I remove the erlang-error-regexp-alist definition or should it
rather be extended?

More information about the erlang-patches mailing list