POV-Ray : Newsgroups : povray.off-topic : The other OS : Re: The other OS Server Time
30 Jul 2024 10:16:01 EDT (-0400)
  Re: The other OS  
From: Darren New
Date: 5 Aug 2011 16:07:30
Message: <4e3c4d82@news.povray.org>
On 8/5/2011 8:05, Warp wrote:
>    I have emacs set so that it shows whitespaces at the end of lines with
> blue background.

git's GUI does the same thing. And I think there's even a switch to prevent 
check-ins of code with trailing spaces.

The best fun I had recently was working on a makefile that included

SOURCES = alpha \
     beta \
     gamma \
     delta \
     epsilon

Except there was a trailing space after gamma, so delta and epsilon never 
got recompiled. Given that a full compile resulted in about 60,000 lines 
when stdout was redirected, the problem was not obvious.


Looks like VIM can do this too:
http://vim.wikia.com/wiki/Highlight_unwanted_spaces

Wow. I wish I had thought to actually do that before.

-- 
Darren New, San Diego CA, USA (PST)
   How come I never get only one kudo?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.