Malabarba / aggressive-indent-mode

Emacs minor mode that keeps your code always indented. More reliable than electric-indent-mode.
853 stars 35 forks source link

Agressive-indent-mode does not correctly unindent #89

Closed kahrkunne closed 8 years ago

kahrkunne commented 8 years ago

See attached gif. Tested on Linux and Windows, by two different people, using the same code (this code: https://gist.github.com/reasv/b3c5794d1070b77eea7126921a0b0c2f)

agg_ind_bug

mattiasb commented 8 years ago

It /might/ have to do with the syntax error on line 19.

This is what I get fwiw: screencast

Malabarba commented 8 years ago

@kahrkunne I can't reproduce that here. Are you on a stable release? If so Could you try updating to the latest snapshot?

Malabarba commented 8 years ago

I've just pushed some logic that improves the decision of when to unindent. Since this has gone without answer, I'll close it for now and people can report new bugs if they run into anything.