From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chuck Siska Newsgroups: gmane.emacs.help Subject: Re: Highlighting whitespace at EOL. Date: Wed, 03 Apr 2002 10:40:44 -0800 Organization: Conexant Systems, Inc. Sender: help-gnu-emacs-admin@gnu.org Message-ID: <3CAB4CAC.FABA3F6B@nb.conexant.com> References: <20020402170722.GM27913@freebsdmall.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1017858822 5779 127.0.0.1 (3 Apr 2002 18:33:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 3 Apr 2002 18:33:42 +0000 (UTC) Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16spZm-0001V1-00 for ; Wed, 03 Apr 2002 20:33:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16spZD-00074x-00; Wed, 03 Apr 2002 13:33:07 -0500 Original-Received: from cnxtsmtp2.conexant.com ([198.62.9.253]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16spYG-0006q6-00 for ; Wed, 03 Apr 2002 13:32:08 -0500 Original-Received: from npbsmtp1.conexant.com (npbsmtp1.nb.conexant.com [157.152.161.153]) by cnxtsmtp2.conexant.com (8.9.3/8.9.3) with ESMTP id KAA13012 for ; Wed, 3 Apr 2002 10:32:06 -0800 (PST) Original-Received: from nb.conexant.com ([172.19.41.119]) by npbsmtp1.conexant.com (Lotus Domino Release 5.0.9a) with ESMTP id 2002040310315279:60236 ; Wed, 3 Apr 2002 10:31:52 -0800 X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en Original-To: Help Gnu Emacs X-MIMETrack: Itemize by SMTP Server on NPBSMTP1/Server/Conexant(Release 5.0.9a |January 7, 2002) at 04/03/2002 10:31:52 AM, Serialize by Router on NPBSMTP1/Server/Conexant(Release 5.0.9a |January 7, 2002) at 04/03/2002 10:31:54 AM, Serialize complete at 04/03/2002 10:31:54 AM Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:42 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:42 murray -- if all you want to do is remove them, there is a simple "command" to do this: C-c i C-c C-c. i use this extensively working with funnelweb source code, which doesn't like trailing whitespace. this is actually two separate commands. the first, C-c i, enters picture-mode and the second, C-c C-c, exits it. it is exiting picture-mode which does the trailing whitespace removal. good luck. -- chuck Murray Stokely wrote: > > I'm interested in writing a minor mode for marking up man pages with > the mdoc macros. One of the things I would like to do is have > whitespace characters at the end of a nonblank line show up in a > different color, so I can easily notice (and remove) these stray marks > (which can easily be done with a macro, but thats not the point). > > I don't need to setup a syntax table for something so trivial, do I? > Is there a good example minor mode to help learn some of this stuff? > > - Murray -- |\_/\_.-'""``:-._ What is life without looking for . . `; -._ )-;-,_`) the next cute little bug to play with? v_,- _ ),(,.\ ``-' _.- _.,-_/ / ((.' -- chuck.siska@conexant.com `<}:.. ((,.-' ((,/