Update: Specifically, (indent-region (point-min) (point-max)) is improperly indenting my code, verified by manually applying M-: (indent-region (point-min) (point-max)).


On Tue, Mar 5, 2013 at 12:10 PM, Andrew Pennebaker <andrew.pennebaker@gmail.com> wrote:

I've a before-save hook for autoindenting files. Emacs is inserting TONS of extra indentation, how can I fix this? This problem is particularly offensive for filetypes with significant whitespace (Python, Mardown, Stylus).


https://github.com/mcandre/dotfiles/blob/master/emacs


--
Cheers,

Andrew Pennebaker



--
Cheers,

Andrew Pennebaker
www.yellosoft.us