From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: removing white space highlight Date: Wed, 24 Feb 2016 20:38:10 +0000 Message-ID: <87povl974d.fsf@robertthorpeconsulting.com> References: <87povmubo9.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456346520 22263 80.91.229.3 (24 Feb 2016 20:42:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Feb 2016 20:42:00 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 24 21:41:49 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aYgFm-0004EC-Pu for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Feb 2016 21:41:46 +0100 Original-Received: from localhost ([::1]:38284 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYgFl-0004zy-Vs for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Feb 2016 15:41:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYgCP-0007lf-Fe for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 15:38:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYgCL-0005yi-8d for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 15:38:17 -0500 Original-Received: from outbound-smtp10.blacknight.com ([46.22.139.15]:42067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYgCL-0005yV-2f for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 15:38:13 -0500 Original-Received: from mail.blacknight.com (pemlinmail01.blacknight.ie [81.17.254.10]) by outbound-smtp10.blacknight.com (Postfix) with ESMTPS id C0FC11C1EA4 for ; Wed, 24 Feb 2016 20:38:11 +0000 (GMT) Original-Received: (qmail 4392 invoked from network); 24 Feb 2016 20:38:11 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[93.107.66.221]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 24 Feb 2016 20:38:11 -0000 In-Reply-To: <87povmubo9.fsf@debian.uxu> (message from Emanuel Berg on Wed, 24 Feb 2016 02:41:58 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 46.22.139.15 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109297 Archived-At: Emanuel Berg writes: > Robert Thorpe writes: > >> How do you do that without creating lots of >> check-ins to the VC system? >> >> Of course, making the VC program treat whitespace >> specially is an option. I think it's one some people >> are looking into. AFAIK it's not there yet though. > > Upon submission: > > emacs -Q -batch FILE -eval '(delete-trailing-whitespace)' -f save-buffer Suppose a programmer makes a small change to a file. Then the above is run, because of whitespace changes that could lead to hundreds of changes. After that, how does anyone make sense of the VC annotated version of the file? BR, Robert Thorpe