[erlang-questions] A style question
Fri Feb 12 05:57:38 CET 2010
On Feb 12, 2010, at 5:46 PM, Dale Harvey wrote:
> by default the emacs erlang mode will indent the anon function from
> the end of the fun() -> line
> mnesia:transaction(fun() ->
> ... some code here ...
> this takes up 27 of your 80 characters, whereas F = fun() -> is only
> 12, thats the main reason I stopped doing it.
That sounds like an excellent reason not to use Emacs.
I have always found Emacs' indentation to be horrible,
for every language I've tried.
Emacs with automatic indentation turned off is a better-than-decent
The indentation style I would use here just takes 4 columns, not 12.
More information about the erlang-questions