From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?=D3scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Proposal: diff-remove-trailing-blanks Date: Sat, 26 Apr 2008 21:38:50 +0200 Message-ID: References: <200804261845.m3QIixvX026773@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1209238761 26546 80.91.229.12 (26 Apr 2008 19:39:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Apr 2008 19:39:21 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 26 21:39:57 2008 connect(): Connection refused 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 1JpqFZ-0005dO-07 for ged-emacs-devel@m.gmane.org; Sat, 26 Apr 2008 21:39:57 +0200 Original-Received: from localhost ([127.0.0.1]:42300 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JpqEs-0003XK-Hw for ged-emacs-devel@m.gmane.org; Sat, 26 Apr 2008 15:39:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JpqEo-0003Wd-0G for emacs-devel@gnu.org; Sat, 26 Apr 2008 15:39:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JpqEl-0003W7-TE for emacs-devel@gnu.org; Sat, 26 Apr 2008 15:39:08 -0400 Original-Received: from [199.232.76.173] (port=53959 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JpqEl-0003W4-NP for emacs-devel@gnu.org; Sat, 26 Apr 2008 15:39:07 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JpqEl-0006TV-7A for emacs-devel@gnu.org; Sat, 26 Apr 2008 15:39:07 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JpqEj-0000DU-Uj for emacs-devel@gnu.org; Sat, 26 Apr 2008 19:39:05 +0000 Original-Received: from 112.red-81-38-8.dynamicip.rima-tde.net ([81.38.8.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Apr 2008 19:39:05 +0000 Original-Received: from ofv by 112.red-81-38-8.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 26 Apr 2008 19:39:05 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 112.red-81-38-8.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) Cancel-Lock: sha1:L7I0J0qxePb40c0pmAM5CQB457k= X-detected-kernel: by monty-python.gnu.org: 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:95987 Archived-At: Dan Nicolaescu writes: > This seems like a good idea. It would be even nicer if something like > this could be combined with whitespace-mode to clearly show trailing > whitespace. That way the user knows he has a problem. > > (I currently do (setq show-trailing-whitespace t) in a hook for > diff-mode-hook, but it is not good enough, it highlights things that are > not relevant in a diff). That's what I do too. Maybe it is possible to teach whitespace-mode to ignore lines not beginning with [-\+!<>]. -- Oscar