[Top][All Lists]

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

Re: newline-and-indent vs. electric-indent-mode

From: Stefan Monnier
Subject: Re: newline-and-indent vs. electric-indent-mode
Date: Mon, 25 Jan 2021 21:43:20 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Indeed, there are a lot of hooks involved, but it seemed to work last
> time I tried it.

Yes, that's good enough for an optional feature, but I'd like something
that has a fighting chance of being enabled by default

>>> whitespace-cleanup-mode is working out just fine for me, though, because by
>>> default is only cleans files that were clean previously.
>> I'd like a feature that is also active in non-clean files.
> I just clean such a file manually once, and then the feature is active. Or
> I don't, and use whitespace-mode to make sure I don't leave new trailing
> whitespace around.
> Files like that are a minority in my experience, so it's not too big a price
> to pay for being able to rely on a simple implementation. YMMV, of course.

I agree for my own use.  But that's not what I'm after ;-)


reply via email to

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