help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: whitespace-mode deactivated at end of line


From: goncholden
Subject: Re: whitespace-mode deactivated at end of line
Date: Sat, 11 Jun 2022 08:34:15 +0000

------- Original Message -------
On Saturday, June 11th, 2022 at 8:15 PM, Eli Zaretskii <eliz@gnu.org> wrote:


> > From: Emanuel Berg incal@dataswamp.org
> > Date: Sat, 11 Jun 2022 07:24:13 +0200
> >
> > Eli Zaretskii wrote:
> >
> > > The red background that highlights trailing whitespace
> >
> > Also why isn't that removed automatically on save?
>
>
> Because it isn't any business of Emacs to second-guess the user's
> intentions. The user could, for example, be saving a partially
> written file, or have any other valid reason for keeping the trailing
> whitespace.
>
> If you do want this automatic cleanup to be performed unconditionally,
> customize the option whitespace-cleanup to do that.

I agree.  There are many reasons people want to keep the file intact.  Much 
good could be done scrutinising on some of my comments rather than expecting 
humility from some who bother
telling you about them.



reply via email to

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