|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |