[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Electric indentation sub-optimality and resolution

From: Óscar Fuentes
Subject: Re: Electric indentation sub-optimality and resolution
Date: Thu, 18 Dec 2014 20:40:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> 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.
> AFAICT the code that John posted has the same property, more or less.

The author of ws-butler experimented with a post-command-hook approach
and experienced some undesirable side effects. There is a commentary
about this on the posted URL.

> In any case, I'd be happy to integrate something like that in Emacs.

Ok, I'll pass the message to Le Wang.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]