bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Whitespace


From: Jim Meyering
Subject: Re: Whitespace
Date: Fri, 12 Mar 2010 09:23:52 +0100

Reuben Thomas wrote:
> how can I set up whitespace-global-mode not to mess up grep source
> files? At first I thought it was that my global setting is to have
> indent-tabs-mode nil, so that whenever I saved I was turning tabs into
> spaces, but even when I fixed this, I was getting differences, it
> turns out because some lines in e.g. src/search.c start with 8 spaces,
> which whitespace-mode was then turning into single tabs on saving.
>
> Or are the files just not consistent? I guess I can turn off
> whitespace-global-mode on grep for the moment...

Yes, that is painful.

They're not consistent.
Once dfa.c is merged with the one in gawk and we've made a release,
I'll convert all leading TABs to spaces, like I've done in a few
other projects.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]