[erlang-bugs] Emacs-mode does not recognize functions with binary matching in the header.

Steve Vinoski <>
Thu Jan 2 18:32:23 CET 2014


On Thu, Dec 19, 2013 at 5:19 AM, Daniel Mauritzson <
> wrote:

> I recently noticed that the emacs-mode does not recognize functions that
> have binary matching in the header, like this:
>
> function1(<<Bin/binary>>) ->
>
> Bin.
>
>
> I would guess that it is a problem with the regex that is used for
> functions but my knowlage about regex in lisp is lacking.
>
> Version of emacs-mode: 2.7
>

I've created a pull request to fix this problem:

https://github.com/erlang/otp/pull/185

Daniel was kind enough to test the patch for me, and he emailed me to
report that it fixes the problem.

--steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20140102/8f32693a/attachment.html>


More information about the erlang-bugs mailing list