From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Robert Anderson Newsgroups: gmane.emacs.devel Subject: Re: gratuitous changes Date: 04 Feb 2003 09:14:09 -0800 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <1044378850.6251.82.camel@lan1> References: <20030204155741.B75B.LEKTU@terra.es> <1044374986.6251.74.camel@lan1> <20030204173331.B76A.LEKTU@terra.es> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1044379252 17822 80.91.224.249 (4 Feb 2003 17:20:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 4 Feb 2003 17:20:52 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18g6kS-0004cZ-00 for ; Tue, 04 Feb 2003 18:20:40 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18g6sc-0006xu-00 for ; Tue, 04 Feb 2003 18:29:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18g6dk-0003cM-03 for emacs-devel@quimby.gnus.org; Tue, 04 Feb 2003 12:13:44 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18g6dN-0003ao-00 for emacs-devel@gnu.org; Tue, 04 Feb 2003 12:13:21 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18g6dF-0003XV-00 for emacs-devel@gnu.org; Tue, 04 Feb 2003 12:13:16 -0500 Original-Received: from adsl-63-207-14-122.dsl.snfc21.pacbell.net ([63.207.14.122] helo=localhost.localdomain) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18g6aZ-0002nw-00 for emacs-devel@gnu.org; Tue, 04 Feb 2003 12:10:27 -0500 Original-Received: from lan1 (lan1 [127.0.0.1]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id h14HE9PM011250; Tue, 4 Feb 2003 09:14:10 -0800 Original-To: Juanma Barranquero In-Reply-To: <20030204173331.B76A.LEKTU@terra.es> X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11347 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11347 On Tue, 2003-02-04 at 08:44, Juanma Barranquero wrote: > On 04 Feb 2003 08:09:46 -0800, Robert Anderson wrote: > > > Hmm. Didn't you just multiply by N times the problem Stefan was worried > > about? > > Perhaps my ability to read English prose is failing me again; I thought > I was doing just what Richard asked for... You did, but perhaps it would have been polite to confer with Stefan first, to have the best timing on it. > > Maybe if you provided the method that you used to get rid of the > > whitespace, people with checked out files can apply the script to their > > sandboxes to minimize the headaches this will cause when they try to > > update. > > Script? > > Basically, I edited every single file and did > > M-x delete-trailing-whitespace [ret] > C-x C-s [ret] > C-x k [ret] > > with the caveats that I only edited meaningful files, and I took into > account the encoding (so I didn't end screwing files in > iso-2022 or whatever). IMO, that was not the optimal way to do it, both because it wasted your time and it makes it harder for people to do a parallel change without wasting their own. If someone wanted to mirror those changes in a sandbox or branch to prevent update or merge problems, they would probably have a hard time figuring out what you mean by "meaningful files", and they certainly don't want to press those keystrokes hundreds if not thousands of times. Food for thought: a script would have left a precise prescription for what you did that was trivially applicable to other branches as well as sandboxes to prevent the kinds of merge and update problems this was trying to minimize. Bob