problems with the emacs mode and the binary syntax

matthias <>
Wed Nov 22 20:43:13 CET 2000


Hi,

I'd be eternally grateful (well...) if someone who actually
understands how to write emacs modes told me how to fix the erlang
mode so that it indents binaries correctly.

Here are a couple of examples where it doesn't do what I expect:

   a() ->
       <<>>,
	   bla.

IMO, the 'bla' should be in the same column as the binary. Also, if I
type
   
   b() ->
       <<>>

and then hit ';', the electric stuff puts up '->' instead of 'b() ->'.

Matthias



More information about the erlang-questions mailing list