On Fri, Apr 28, 2017 at 10:19 PM <npostavs@users.sourceforge.net> wrote:

I think I got it this time.

The indentation is still not working right.\

(Again, below screenshots show the indentation how it used to be; the light grey boxes show where the indentation moved back to after applying that last patch.)

Below code that you can use as test: https://github.com/kaushalmodi/.emacs.d/blob/master/init.el

image.png
Indentation lost in forms like eval-when-compile and when
image.png

This is the worst.
https://github.com/kaushalmodi/.emacs.d/blob/master/setup-files/setup-editing.el

image.png
I see this same issue on emacs -Q with your final patch applied too:
image.png

This indentation issue is very difficult to miss.


--

Kaushal Modi