jckarter/clay — Issue #17: Indentation bug in emacs clay-mode
Author: tiresdonexits
Created: 2011-10-16 16:05:21+00:00
State: open

If you do the following in emac's clay-mode, it won't indent correctly.

// happens with any braces
void main() {
}

After you put this in, if you go to the center and press tab, it will not indent. It only happens when you close the brace before typing. If you tab and type a line of code into the middle area then it will work. It only doesn't work if the closing brace is there before indenting.

It's annoying when your coding style is "function, braces, close braces, then type body".