[erlang-questions] Vim freezes when I try to close a *.erl file

Roger Lipscombe roger@REDACTED
Mon May 12 17:58:02 CEST 2014


A data point:

I'm using vimerl with gvim 7.3, with Erlang R16B03-1, on Linux Mint
and OS X, and I don't recall seeing any problems caused by vimerl
hanging.

It's worth noting, however, that I'm using syntastic with syntaxerl,
rather than vimerl's syntax checker (although this would appear to be
unrelated to Magnus's comment about erlang_indent.erl).

My vimrc is on github: https://github.com/rlipscombe/vimrc,
specifically this bit:

" Using syntastic; disable vimerl's syntax checker:
let g:erlang_show_errors = 0
" For erlang (not escript) files, tell syntastic to use syntaxerl (which has
" to be in $PATH to work).
au BufEnter *.erl let b:syntastic_checkers=['syntaxerl']

But, as I say, this is syntax-checking, which might not be your problem...

On 12 May 2014 15:40,  <lloyd@REDACTED> wrote:
> Hey, Magnus,
>
> I'll give that a try. Maybe I can reinstall vimerl after all.
>
> Thank you.
>
> All the best,
>
> Lloyd
>
> -----Original Message-----
> From: "Magnus Mueller" <magnus.mueller@REDACTED>
> Sent: Monday, May 12, 2014 3:32am
> To: "lloyd@REDACTED" <lloyd@REDACTED>
> Cc: "Erlang" <erlang-questions@REDACTED>
> Subject: AW: [erlang-questions] Vim freezes when I try to close a *.erl file
>
> Hey Lloyd,
>
> I ran into similar problems with vimerl before, see [1]. The problem was, if I remember it correctly, related to a bug in R16B02 or R16B03, which should be fixed in newer versions.
>
> The workaround for vimerl was to comment out `-mode(compile)` in `indent/erlang_indent.erl`.
>
> Magnus
>
> [1] https://github.com/jimenezrick/vimerl/pull/45
>
> -----Ursprüngliche Nachricht-----
> Von: erlang-questions-bounces@REDACTED [mailto:erlang-questions-bounces@REDACTED] Im Auftrag von lloyd@REDACTED
> Gesendet: Dienstag, 6. Mai 2014 06:20
> An: Gokhan Boranalp
> Cc: Erlang
> Betreff: Re: [erlang-questions] Vim freezes when I try to close a *.erl file
>
> Hi Gokhan,
>
> Found it!
>
> I deleted .vim and .vimrc and reinstalled vim. I can now edit *.erl files again.
>
> Since I had not changed any of my vim plugins (mainly vimerl), it seems likely that either the ubuntu or Erlang upgrades created incompatibilities.
>
> Gokhan, if you're ever in my neighborhood, or vice versa, I owe you a couple of rounds.
>
> Many thanks,
>
> Lloyd
>
> -----Original Message-----
> From: "Gokhan Boranalp" <kunthar@REDACTED>
> Sent: Monday, May 5, 2014 10:45pm
> To: "Lloyd Prentice" <lloyd@REDACTED>
> Cc: "Erlang" <erlang-questions@REDACTED>
> Subject: Re: [erlang-questions] Vim freezes when I try to close a *.erl file
>
> do you use exuberant-ctags, check twice?
> did you check file system and disk?
> do you use any egzotic vim plugins?
>
> On Tue, May 6, 2014 at 4:37 AM,  <lloyd@REDACTED> wrote:
>> Hello,
>>
>> This is a new one on me. After many moons of faithful service, vim freezes up when it comes to saving *.erl files. No problem with other file extensions.
>>
>> I've rebooted, reinstalled vim--- all to no avail.
>>
>> Suspicious history:
>>
>> 1) Recently updated to Ubuntu 14.04
>> 2) Recently started managing Erlang under kerl
>> 3) Have been playing with Cowboy and websockets
>>
>> I've also had problems compiling n2o--- Throws crash-dump on very last step. May or may not be related problem.
>>
>> Why only *.erl files? Any thoughts on how to diagnose and fix this problem?
>>
>> Many thanks,
>>
>> LRP
>>
>>
>>
>> *********************************************
>> My books:
>>
>> THE GOSPEL OF ASHES
>> http://thegospelofashes.com
>>
>> Strength is not enough. Do they have the courage and the cunning? Can
>> they survive long enough to save the lives of millions?
>>
>> FREEIN' PANCHO
>> http://freeinpancho.com
>>
>> A community of misfits help a troubled boy find his way
>>
>> AYA TAKEO
>> http://ayatakeo.com
>>
>> Star-crossed love, war and power in an alternative universe
>>
>> Available through Amazon or by request from your favorite bookstore
>>
>>
>> **********************************************
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>
>
>
> --
> BR,
> \|/ Kunthar
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list