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: Sun, 21 Feb 2016 03:27:14 +0000 Message-ID: <87vb5izqst.fsf@robertthorpeconsulting.com> References: <87egc6ltog.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456025274 5912 80.91.229.3 (21 Feb 2016 03:27:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Feb 2016 03:27:54 +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 Sun Feb 21 04:27:43 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 1aXKgQ-0005yK-1a for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Feb 2016 04:27:42 +0100 Original-Received: from localhost ([::1]:37554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXKgM-0005xQ-D6 for geh-help-gnu-emacs@m.gmane.org; Sat, 20 Feb 2016 22:27:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXKgB-0005vL-Jn for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 22:27:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXKg8-0003ze-DR for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 22:27:27 -0500 Original-Received: from outbound-smtp07.blacknight.com ([46.22.139.12]:33803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXKg8-0003zI-6z for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 22:27:24 -0500 Original-Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp07.blacknight.com (Postfix) with ESMTPS id C78331C1A2F for ; Sun, 21 Feb 2016 03:27:15 +0000 (GMT) Original-Received: (qmail 18710 invoked from network); 21 Feb 2016 03:27:15 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.77.53.69]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 21 Feb 2016 03:27:15 -0000 In-Reply-To: <87egc6ltog.fsf@debian.uxu> (message from Emanuel Berg on Sun, 21 Feb 2016 02:48:47 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 46.22.139.12 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:109236 Archived-At: Emanuel Berg writes: > Bob Proulx writes: > >>> Of course, there shouldn't be any superfluous >>> whitespace trailing individual text lines *or* the >>> file contents itself. >>> >>> Here one way to do it ... >> >> That is one way to do it. However I don't think it >> is a good idea to do this automatically every time. >> I would rather see that it needs to be done and the >> do it intentionally. > > Why? Most people want to delete whitespace because of version control. They're working in a team that uses a VC program of some sort. There's little reason to delete whitespace otherwise, it doesn't cause any problems for editing or take up much hard disk space. In that case the programmer wants to make changes to a specific part of a file. Deleting whitespace from the whole file will cause other changes elsewhere. Causing spurious changes for whitespace reasons is frowned upon in most teams. BR, Robert Thorpe