|
From: | Óscar Fuentes |
Subject: | Re: Electric indentation sub-optimality and resolution |
Date: | Thu, 18 Dec 2014 19:34:48 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
John Yates <address@hidden> writes: > Emacs-24's cc-mode has added electric indentation. I am sympathetic to the > basic motivation. The current implementation leaves me frustrated. This > is because electric indentation introduces lines with trailing whitespace > when one adds no actual text to an indented new line. Annoying indeed. For me this was fixed by ws-butler: https://github.com/lewang/ws-butler It has the advantage of cleaning up whitespace no matter how it was created, but only on the lines you changed or added. [snip]
[Prev in Thread] | Current Thread | [Next in Thread] |