[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tab characters in the source code
From: |
Patrick McCarty |
Subject: |
Re: tab characters in the source code |
Date: |
Tue, 7 Apr 2009 13:14:33 -0700 |
On Tue, Apr 7, 2009 at 12:32 PM, Mark Polesky <address@hidden> wrote:
>
> I was fiddling around with output-ps.scm (specifically
> the grob-cause procedure on line 159) and was getting
> frustrated with the poor indentation displaying in my
> editor when I realized that this was being caused by
> tab characters in the source.
>
> Is there an easy way to address this? I don't know how
> many tab characters there are in the source, nor do I
> know how to find out. But it can be frustrating. Any
> solutions?
I don't know what editor you're using, but with Vim you can search for
`\t' to find them.
I've struggled with this in the past until I realized that a normal
tab is equivalent to *eight* spaces. So if you can adjust your editor
to reflect that, the indentation will make more sense.
HTH,
Patrick
- tab characters in the source code, Mark Polesky, 2009/04/07
- Re: tab characters in the source code,
Patrick McCarty <=
- Re: tab characters in the source code, demery, 2009/04/07
- Re: tab characters in the source code, Carl D. Sorensen, 2009/04/07
- Re: tab characters in the source code, Joe Neeman, 2009/04/07
- Re: tab characters in the source code, Han-Wen Nienhuys, 2009/04/09
- Re: tab characters in the source code, Jan Nieuwenhuizen, 2009/04/09
- Re: tab characters in the source code, Anthony W. Youngman, 2009/04/09
- Re: tab characters in the source code, Jan Nieuwenhuizen, 2009/04/09
- Re: tab characters in the source code, Graham Percival, 2009/04/09
- Re: tab characters in the source code, Jan Nieuwenhuizen, 2009/04/09
- Re: tab characters in the source code, Graham Percival, 2009/04/09