[Top][All Lists]

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

Re: The grand indentation unification project

From: Stefan Monnier
Subject: Re: The grand indentation unification project
Date: Mon, 28 May 2012 01:12:03 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

> Yes, it would, but the idea would be to set `indent-tabs-mode' to t, add
> `whitespace-cleanup to `before-save-hook', and have a single massive,
> horrible, ugly "whitespace unification" commit, and then everything after
> that follows the tab indent and whitespace styles. That way, you'd have one
> big patch with all the whitespace changes, but future patches wouldn't have
> any whitespace-only diffs.

Still sucks for everyone who's got a branch to keep in sync.

The problems you complain about (conflicts due to whitespace changes)
pretty much only show up because of such "helpful" commits.

So, no, we don't want any of that.  OTOH we would accept changes which
will enforce such "canonical spacing" in future commits (i.e. enforce
this canonicity but only on lines which are already changed for other
reasons anyway, thus not introducing new gratuitous conflicts).


reply via email to

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