[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.


reply via email to

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