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 16:19:03 -0700 (PDT) Message-ID: <200907162319.n6GNJ3pL027265@godzilla.ics.uci.edu> References: <200907162214.n6GMEo5o025706@godzilla.ics.uci.edu> <200907162253.n6GMrF7e026231@godzilla.ics.uci.edu> <340F28954EE34537B2071D4DE41B77F9@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247786508 13338 80.91.229.12 (16 Jul 2009 23:21:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jul 2009 23:21:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 17 01:21:41 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 1MRaGh-0005Sz-J7 for ged-emacs-devel@m.gmane.org; Fri, 17 Jul 2009 01:21:39 +0200 Original-Received: from localhost ([127.0.0.1]:51401 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRaGg-0006zW-QX for ged-emacs-devel@m.gmane.org; Thu, 16 Jul 2009 19:21:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRaFy-0006QT-Js for emacs-devel@gnu.org; Thu, 16 Jul 2009 19:20:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRaFu-0006LU-U9 for emacs-devel@gnu.org; Thu, 16 Jul 2009 19:20:54 -0400 Original-Received: from [199.232.76.173] (port=44439 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRaFu-0006LK-L3 for emacs-devel@gnu.org; Thu, 16 Jul 2009 19:20:50 -0400 Original-Received: from sallyv2.ics.uci.edu ([128.195.1.120]:57641) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1MRaFt-0001Nj-PQ for emacs-devel@gnu.org; Thu, 16 Jul 2009 19:20:50 -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 n6GNJ402025205; Thu, 16 Jul 2009 16:19:04 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n6GNJ3pL027265; Thu, 16 Jul 2009 16:19:03 -0700 (PDT) In-Reply-To: <340F28954EE34537B2071D4DE41B77F9@us.oracle.com> (Drew Adams's message of "Thu, 16 Jul 2009 16:06:12 -0700") Original-Lines: 28 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n6GNJ402025205 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:112579 Archived-At: "Drew Adams" writes: > > Trailing whitespace is an annoyance most of the time, > > That's the question - is it? For most Emacs users most of the time? Dunno; just > asking. Yes, it is, please go to your favorite search engine and search for trailing whitespace patch or trailing whitespace diff and see you many hits you get. > > and it's not to be conflated with the rest of the whitespace > > differences (which diff-mode can ignore just fine -- C-c C-w). > > Yes, I know, which is why I didn't conflate them. I mentioned both, in case > there is also some desire to deal with whitespace in general this way. No, there isn't, I intentionally limited the topic to one thing because of not wanting to have a long discussion that ends nowhere. So please stick to the topic at hand. > There could be a `diff' switch (or a pseudo-`diff' switch, handled only by > Emacs) for trailing whitespace. Just as patch submitters need to get the `diff' > switches right for context diff etc. (`-c -w' or whatever), so could they set > the switch to show trailing whitespace. There isn't such a flag, and more, users might not use diff, but vc-diff.