From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: show whitespace problems by default in diff-mode Date: Thu, 16 Jul 2009 20:36:54 -0700 (PDT) Message-ID: <200907170336.n6H3asxS000667@godzilla.ics.uci.edu> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1247802030 10306 80.91.229.12 (17 Jul 2009 03:40:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Jul 2009 03:40:30 +0000 (UTC) Cc: =?utf-8?Q?=C3=93scar?= Fuentes , emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 17 05:40:22 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 1MReJ3-0003rU-Ix for ged-emacs-devel@m.gmane.org; Fri, 17 Jul 2009 05:40:21 +0200 Original-Received: from localhost ([127.0.0.1]:44702 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MReJ2-0002L6-WF for ged-emacs-devel@m.gmane.org; Thu, 16 Jul 2009 23:40:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MReIy-0002KT-3b for emacs-devel@gnu.org; Thu, 16 Jul 2009 23:40:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MReIt-0002HD-Eu for emacs-devel@gnu.org; Thu, 16 Jul 2009 23:40:15 -0400 Original-Received: from [199.232.76.173] (port=60372 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MReIt-0002HA-Bh for emacs-devel@gnu.org; Thu, 16 Jul 2009 23:40:11 -0400 Original-Received: from sallyv2.ics.uci.edu ([128.195.1.120]:39156) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1MReIq-0008Dr-R8; Thu, 16 Jul 2009 23:40:09 -0400 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n6H3asjg007676; Thu, 16 Jul 2009 20:36:54 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n6H3asxS000667; Thu, 16 Jul 2009 20:36:54 -0700 (PDT) In-Reply-To: (Miles Bader's message of "Fri, 17 Jul 2009 12:24:48 +0900") Original-Lines: 21 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n6H3asjg007676 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:112602 Archived-At: Miles Bader writes: > =C3=93scar Fuentes writes: > > It's not only about pedantry. The worst thing about trailing whitespa= ce > > is that it tends to come and go while editing the file and when final= ly > > 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 detecti= on > > and some tools for deletion. >=20 > 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). >=20 > 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. The feature we are talking about here is exclusively about highlighting the "introduced trailing whitespace"...