From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: show whitespace problems by default in diff-mode Date: Fri, 17 Jul 2009 12:24:48 +0900 Message-ID: References: <200907162214.n6GMEo5o025706@godzilla.ics.uci.edu> <873a8wryfj.fsf@catnip.gol.com> <200907170135.n6H1ZRW8029119@godzilla.ics.uci.edu> <87k528ozem.fsf@catnip.gol.com> <87ws686nyz.fsf@telefonica.net> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1247801114 8756 80.91.229.12 (17 Jul 2009 03:25:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Jul 2009 03:25:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?iso-8859-1?Q?=D3scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 17 05:25:06 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MRe4I-0008NS-7L for ged-emacs-devel@m.gmane.org; Fri, 17 Jul 2009 05:25:06 +0200 Original-Received: from localhost ([127.0.0.1]:33089 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRe4H-0005T0-I7 for ged-emacs-devel@m.gmane.org; Thu, 16 Jul 2009 23:25:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRe4D-0005RU-1j for emacs-devel@gnu.org; Thu, 16 Jul 2009 23:25:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRe47-0005HX-Dm for emacs-devel@gnu.org; Thu, 16 Jul 2009 23:25:00 -0400 Original-Received: from [199.232.76.173] (port=50433 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRe47-0005HL-AF for emacs-devel@gnu.org; Thu, 16 Jul 2009 23:24:55 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:29448) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MRe45-0005jw-48; Thu, 16 Jul 2009 23:24:53 -0400 Original-Received: from tyo201.gate.nec.co.jp ([202.32.8.193]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MRe44-0003LJ-3v; Thu, 16 Jul 2009 23:24:52 -0400 Original-Received: from relay21.aps.necel.com ([10.29.19.50]) by tyo201.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id n6H3OBFe012974; Fri, 17 Jul 2009 12:24:49 +0900 (JST) Original-Received: from relay21.aps.necel.com ([10.29.19.20] [10.29.19.20]) by relay21.aps.necel.com with ESMTP; Fri, 17 Jul 2009 12:24:49 +0900 Original-Received: from dhlpc061 ([10.114.113.45] [10.114.113.45]) by relay21.aps.necel.com with ESMTP; Fri, 17 Jul 2009 12:24:49 +0900 Original-Received: by dhlpc061 (Postfix, from userid 31295) id 44E1552E228; Fri, 17 Jul 2009 12:24:49 +0900 (JST) System-Type: x86_64-unknown-linux-gnu Blat: Foop In-Reply-To: <87ws686nyz.fsf@telefonica.net> (=?iso-8859-1?Q?=22=D3scar?= Fuentes"'s message of "Fri, 17 Jul 2009 04:29:56 +0200") Original-Lines: 21 X-Detected-Operating-System: by mx20.gnu.org: Solaris 8 (1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:112600 Archived-At: =D3scar Fuentes 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 --=20 My spirit felt washed. With blood. [Eli Shin, on "The Passion of the Chri= st"]