From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: show-trailing-whitespace a winner Date: Fri, 13 Feb 2004 03:59:21 +0800 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87bro4ax2e.fsf@jidanni.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1076616861 29849 80.91.224.253 (12 Feb 2004 20:14:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 12 Feb 2004 20:14:21 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 12 21:14:10 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ArNDu-0004Cc-00 for ; Thu, 12 Feb 2004 21:14:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ArNCR-0003Oo-34 for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Feb 2004 15:12:39 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ArNCP-0003OV-Jx for bug-gnu-emacs@gnu.org; Thu, 12 Feb 2004 15:12:37 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ArNBs-0003DS-4X for bug-gnu-emacs@gnu.org; Thu, 12 Feb 2004 15:12:35 -0500 Original-Received: from [204.74.68.40] (helo=frodo.hserus.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1ArNBr-0003Cy-R4 for bug-gnu-emacs@gnu.org; Thu, 12 Feb 2004 15:12:03 -0500 Original-Received: from tc218-187-76-252.2-4.pl.apol.com.tw ([218.187.76.252]:32788 helo=jidanni.org) by frodo.hserus.net with asmtp (Cipher TLSv1:RC4-SHA:128) (Exim 4.30 #0) id 1ArNBi-000Dxa-8q by authid with plain for ; Fri, 13 Feb 2004 01:41:55 +0530 Original-Received: from jidanni by jidanni.org with local (Exim 4.24) id 1ArMzd-0000IU-QQ for bug-gnu-emacs@gnu.org; Fri, 13 Feb 2004 03:59:25 +0800 Original-Newsgroups: comp.editors User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) Posted-To: comp.editors X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:6943 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6943 The following message is a courtesy copy of an article that has been posted to comp.editors as well. The world would be a better place if more editors implemented emacs' show-trailing-whitespace. That way folks would be aware of all the wasted whitespaces at the ends of lines in their files. [Maybe it should even be on by default in emacs.] I stuck a trailing whitespace on one of the lines above. I bet the reader can't see it. Awareness yes, but of course I wouldn't go overboard and strip trailing whitespaces automatically, as sometimes they are on purpose: cut ... -d \ (though one could rewrite it as cut -f3 -d ' '; cut -d \ -f3)