Re: [Pythonmac-SIG] Selecting in BBEdit & Python Indenting style (spaces)

2005-12-01 Thread David Person
Odd, I always use 2 spaces, and haven't really heard 4 was standard. I don't keep up much with those things, though :) Tabs are certainly allowed. There is a potential difficulty in mixing tabs and spaces in the same file, since it is unclear how many spaces go into a tab, so there is potent

Re: [Pythonmac-SIG] Selecting in BBEdit & Python Indenting style(spaces)

2005-11-30 Thread lanceboyle
On Nov 30, 2005, at 8:11 AM, Louis Pecora wrote: >> I run into this all the time in C with those I develop with. We try >> to keep it to spaces but some people forget that their editor puts in >> a tab automatically for 8 spaces and then spaces after that to column >> 12 for example. Then my edit

Re: [Pythonmac-SIG] Selecting in BBEdit & Python Indenting style (spaces)

2005-11-30 Thread Jack Jansen
On 29-nov-2005, at 18:33, Louis Pecora wrote: > What the heck were they (Guido?) thinking when they used 4 spaces > as the one true mode of indentation for Python? Initially Python was unix-only, and there (at that time) a tab was 8 spaces and that is that, no problem with mixing tab/spaces.

Re: [Pythonmac-SIG] Selecting in BBEdit & Python Indenting style(spaces)

2005-11-30 Thread Louis Pecora
Rob Managan wrote: > Because in a mixed environment some one will take a file that has > >tabs and add spaces or vice versa. As soon as lines have a mixture of >tabs and spaces then the display does ugly things when you change >editors. > >I run into this all the time in C with those I develop w

Re: [Pythonmac-SIG] Selecting in BBEdit & Python Indenting style(spaces)

2005-11-29 Thread Rob Managan
>On Nov 29, 2005, at 4:54 PM, Louis Pecora wrote: > >> Kent Quirk wrote: >> >>> Just because there seems to be an orgy of people agreeing that >>> Tabs are the One True Way, I feel a need to point out that there >>> are those of us who fervently believe that Tabs Are Evil. The >>> reason is

Re: [Pythonmac-SIG] Selecting in BBEdit & Python Indenting style(spaces)

2005-11-29 Thread Bob Ippolito
On Nov 29, 2005, at 4:54 PM, Louis Pecora wrote: > Kent Quirk wrote: > >> Just because there seems to be an orgy of people agreeing that >> Tabs are the One True Way, I feel a need to point out that there >> are those of us who fervently believe that Tabs Are Evil. The >> reason is that tab

Re: [Pythonmac-SIG] Selecting in BBEdit & Python Indenting style(spaces)

2005-11-29 Thread Louis Pecora
Kent Quirk wrote: >Just because there seems to be an orgy of people agreeing that Tabs are the >One True Way, I feel a need to point out that there are those of us who >fervently believe that Tabs Are Evil. The reason is that tabs are interpreted >differently in different places, and they're in

Re: [Pythonmac-SIG] Selecting in BBEdit & Python Indenting style(spaces)

2005-11-29 Thread Kent Quirk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jan Erik Moström Sent: Tuesday, November 29, 2005 4:18 PM To: Chris Barker Cc: Louis Pecora; pythonmac-sig@python.org Subject: Re: [Pythonmac-SIG] Selecting in BBEdit & Python Indenting style(spaces) C

Re: [Pythonmac-SIG] Selecting in BBEdit & Python Indenting style (spaces)

2005-11-29 Thread Jan Erik Moström
Chris Barker <[EMAIL PROTECTED]> 2005-11-29 20:40: > > I would think that TAB would be infinitely better and avoid the > > problems you point out that probably plague a lot of editors when > > doing Python code. > > I agree. Tabs would be easier in most cases, but: Thank you, while I really like

Re: [Pythonmac-SIG] Selecting in BBEdit & Python Indenting style (spaces)

2005-11-29 Thread Chris Barker
Louis Pecora wrote: > You hold down the option key while selecting, but you cannot do this > in the soft wrap mode. You have to set the window to hard wrap at > some column number. If you have the BBEdit manual, you can find more > info around page 52 or just look in the index. thanks. > What