[cairo] War on trailing whitespace

sduc gamilcairo sduclos.cairo at gmail.com
Wed Jun 7 06:20:52 PDT 2006


heh,  for FTE its: Options>Toggle>Trim EOL spaces :)

or

C+O C+E

Sylvain.

On 6/6/06, Steven Chaplin <stevech1097 at yahoo.com.au> wrote:
>
> On Tue, 2006-06-06 at 18:51 -0500, Cory Watson wrote:
> > On 6/6/06, Carl Worth <cworth at cworth.org> wrote:
> > > Fortunately, git provides a nice, (but inactive by default), mechanism
> > > for avoiding the introduction of trailing whitespace. I'm asking all
> > > cairo developers to enable the default pre-commit hook which will
> > > complain about trailing whitespace. The way to do this is to simply
> > > run:
> >
> > For the vim'ing among us, I use this:
> >
> > set list listchars=trail:.
> >
> > trailing spaces are highlighted with periods so they are easily
> > visible.  I'm sure someone else can chime in with similar tips for
> > other editors.
> >
> For emacs users:
> (setq show-trailing-whitespace t)
> in .emacs, will display trailing whitespace as red blocks
>
> Meta-x delete-trailing-whitespace
> Deletes all the trailing whitespace across the current buffer.
>
> Steve
>
> Send instant messages to your online friends http://au.messenger.yahoo.com
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://cairographics.org/cgi-bin/mailman/listinfo/cairo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/cairo/attachments/20060607/3598fd9d/attachment.html


More information about the cairo mailing list