Function editing with Vim throws IndentError

Timothy Grant timothy.grant at gmail.com
Fri Jul 25 02:32:40 EDT 2008


On Thu, Jul 24, 2008 at 9:32 PM, Lawrence D'Oliveiro
<ldo at geek-central.gen.new_zealand> wrote:

> In message
> <e23f51c1-7160-4aba-bea0-d624ec9a1bc6 at w1g2000prk.googlegroups.com>,
> Matimus
> wrote:
>
> > On Jul 24, 2:54 am, Lawrence D'Oliveiro <l... at geek-
> > central.gen.new_zealand> wrote:
> >> In message
> >> <f558e635-aa40-4d54-bd1a-45e8463cd... at v26g2000prm.googlegroups.com>,
> >>
> >> Matimus wrote:
> >> > That isn't the standard. With that setup tabs will show up as 4
> >> > spaces, and still confuse you.
> >>
> >> Why should that be confusing? The most common tab-stop setting is 4
> >> columns.
> >
> > A tab character is specified as 8 spaces.
>
> Specified by whom? The most common setting these days is 4 columns.
> --
> http://mail.python.org/mailman/listinfo/python-list
>

A tab-stop has historically been 8 spaces. Most terminals, printers and
other devices understand the tab as 8 characters.

Smart editors have made it easy to make tabs APPEAR as four spaces, but they
are almost universally interpreted elsewhere as 8 characters.

http://en.wikipedia.org/wiki/Tab_key

-- 
Stand Fast,
tjg. [Timothy Grant]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080724/cc14cf37/attachment-0001.html>


More information about the Python-list mailing list