emacs-devel
[Top][All Lists]
Advanced

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

Re: show whitespace problems by default in diff-mode


From: Miles Bader
Subject: Re: show whitespace problems by default in diff-mode
Date: Fri, 17 Jul 2009 12:24:48 +0900

Óscar Fuentes <address@hidden> writes:
> It's not only about pedantry. The worst thing about trailing whitespace
> is that it tends to come and go while editing the file and when finally
> the changes are committed it creates noise on VCS diffs and is
> considered antisocial. This is why on some sites trailing whitespace is
> forbidden and people there would appreciate a method for easy detection
> and some tools for deletion.

No doubt.  But that's a specific special case: when you're viewing a
diff of changes over which one has easy control (e.g., vc-diff of the
working tree).

I can see an argument for turning on highlighting of "introduced
trailing whitespace" (not in the context lines) by default for vc-diff
of the working tree, but more general ("pedantic") highlighting
shouldn't be on by default.

-Miles

-- 
My spirit felt washed.  With blood.  [Eli Shin, on "The Passion of the Christ"]




reply via email to

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