From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vinicius Jose Latorre Newsgroups: gmane.emacs.devel Subject: Re: Proposal: diff-remove-trailing-blanks Date: Sat, 26 Apr 2008 16:50:54 -0300 Message-ID: <4813879E.8030700@ig.com.br> References: <200804261845.m3QIixvX026773@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1209239541 28704 80.91.229.12 (26 Apr 2008 19:52:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Apr 2008 19:52:21 +0000 (UTC) Cc: =?ISO-8859-1?Q?=D3scar_Fuentes?= , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 26 21:52:56 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 1JpqS6-0000zz-GT for ged-emacs-devel@m.gmane.org; Sat, 26 Apr 2008 21:52:54 +0200 Original-Received: from localhost ([127.0.0.1]:37265 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JpqRQ-0002jm-7y for ged-emacs-devel@m.gmane.org; Sat, 26 Apr 2008 15:52:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JpqRM-0002je-Bc for emacs-devel@gnu.org; Sat, 26 Apr 2008 15:52:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JpqRG-0002iz-8W for emacs-devel@gnu.org; Sat, 26 Apr 2008 15:52:06 -0400 Original-Received: from [199.232.76.173] (port=56566 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JpqRG-0002iw-4i for emacs-devel@gnu.org; Sat, 26 Apr 2008 15:52:02 -0400 Original-Received: from yw-out-1718.google.com ([74.125.46.153]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JpqRF-0000Cy-OM for emacs-devel@gnu.org; Sat, 26 Apr 2008 15:52:01 -0400 Original-Received: by yw-out-1718.google.com with SMTP id 9so3211092ywk.66 for ; Sat, 26 Apr 2008 12:51:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; bh=RxAAzP3LZ/25/HNkmE3ACD0rWOH1g+JZKz8G1B1+1HQ=; b=pUUmeg5Ff/zIJPVQYoFovBuKBoDcpQrBThtFC7JjphKWKBXnKLJTc0CGhUb50zxBdz6s4uZE23jThfMPUZRN2hXI9zvSZ0Cr8u3e8LU3SWNrMe/F9noqLG/MPBJ72gBdEjA/RaHIsXvp3mPI4Ol01Ix1GI8mesQcckLDT3BcPPs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=XVbjTgC4U5ZlE7pLz79v6oCSmfZmucjqOplV+7IbQr3SWbxOSS1B8NdBBwJoQTXBsE1pmETqu08VhXmmJ2QJU5my7PPf7aoIxldwFAemwQLxgUMFFUloEeudYLk5IX2VImJDEH77UqpsXu0681K1qWcN9RcFoMK9x0r8eyShnqc= Original-Received: by 10.150.50.2 with SMTP id x2mr2107153ybx.34.1209239493778; Sat, 26 Apr 2008 12:51:33 -0700 (PDT) Original-Received: from ?192.168.0.100? ( [200.208.45.144]) by mx.google.com with ESMTPS id 6sm7412381ywi.7.2008.04.26.12.51.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 26 Apr 2008 12:51:32 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 In-Reply-To: <200804261845.m3QIixvX026773@sallyv1.ics.uci.edu> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:95988 Archived-At: Dan Nicolaescu wrote: > Óscar Fuentes writes: > > > Some time ago Steffan suggested that this function could be a worth > > addition to diff-mode. If this is ok, I need to sign the copyright > > papers. > > 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. > Well, whitespace-mode shows trailing blanks. See whitespace-style variable. It also reports that a buffer has a trailing blanks, besides other bogus whitespaces. See whitespace-report function. It also cleans trailing blanks. See whitespace-cleanup function. See also whitespace-action variable for some automatic actions that can be taken when a buffer is visited, killed or written. > (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) What relevant things would you like to see (or to be done) in a diff buffer?