From xemacs-m  Tue Feb 18 06:50:23 1997
Received: from mgate.uni-hannover.de (mgate.uni-hannover.de [130.75.2.3])
	by xemacs.org (8.8.5/8.8.5) with SMTP id GAA26742
	for <xemacs-beta@xemacs.org>; Tue, 18 Feb 1997 06:50:22 -0600 (CST)
Received: from helios (actually helios.tnt.uni-hannover.de) by mgate 
          with SMTP (PP); Tue, 18 Feb 1997 13:49:38 +0100
Received: from daedalus.tnt.uni-hannover.de by helios (SMI-8.6/SMI-SVR4) 
          id NAA00250; Tue, 18 Feb 1997 13:48:34 +0100
Received: by daedalus.tnt.uni-hannover.de (SMI-8.6/SMI-SVR4) id NAA27334;
          Tue, 18 Feb 1997 13:48:33 +0100
Date: Tue, 18 Feb 1997 13:48:33 +0100
Message-Id: <199702181248.NAA27334@daedalus.tnt.uni-hannover.de>
From: Heiko Muenkel <muenkel@tnt.uni-hannover.de>
To: Simon.Marshall@esrin.esa.it
Cc: xemacs-beta@xemacs.org
Subject: Re: Is your (favorite) package not in XEmacs and should be?
In-Reply-To: <9702171643.AA01890@mail.esrin.esa.it>
References: <199702171608.RAA22242@daedalus.tnt.uni-hannover.de> <9702171643.AA01890@mail.esrin.esa.it>
X-Face: n}R'l6CHRf>pi&bj7[x0CW3:kmXm@1)7m+l*9[fp;-Ow4Xe~=5E;skf?2> 
        y]f{HzB|Q(\V9+y$PP~.4G[2n4W7{6Ilm[AMY9B:0kj.K_$-d%p4YIF*bX;=ADp6{ 
        HS@NEv9c.VII+9PgXHASx}K(jy^t=q%qzZ72q1e4E;O!$A$`&wgtLk"1%p.nC_G!] 
        4d1!+J4Q#YD_iXeEy`1x)d\r$1Qn\'23n|[8Y_xzuXJJ7W(EGqnzB]`]aq??;+z=) 
        DW~\'Vq&F'g%QU[Mv2:}nS>SdZFTEC2GsgB=Q,:~H<R5S[:ZN%B:s0;|v1x"Jb
Mime-Version: 1.0 (generated by tm-edit 7.90)
Content-Type: text/plain; charset=US-ASCII

>>>>> "Simon" == Simon Marshall <Simon.Marshall@esrin.esa.it> writes:

    Heiko> I'd like to see my package 'whitespace-mode.el' in the
    Heiko> XEmacs. It is useful, if you want to see where are tabs and
    Heiko> where are blanks in a file. There are a lot configuration
    Heiko> files on a UNIX system, which are making trouble if they
    Heiko> have tabs or blanks at the wrong place.

    Simon> I don't mean to dampen your parade, but you can use Font
    Simon> Lock mode for this?  It already does for tabs on
    Simon> otherwise-empty lines in Make mode.

Sure, you can do something similar with the font lock mode and for
modes like the Make mode it's probably the better way. But in many
cases there isn't a special mode for these files or one don't wants to
have this feature all the time. With my package I'm able to switch it
on and off in every mode by just clicking on a toolbar icon. I don't
have to set up the font lock mode at first. And it highlights only the
whitespaces and no other things. So I think it's easier to use in
these special (but often used) cases. If you're using the incremental
functions, then it should also be faster then the font lock mode,
because in these cases only the text which is visible in the current
window is hisghlighted and no regexp search in the rest of the buffer
is necessary.

