[Idle-dev] [ idlefork-Bugs-549159 ] Tabs are messed up

noreply@sourceforge.net noreply@sourceforge.net
Mon, 20 May 2002 18:11:12 -0700


Bugs item #549159, was opened at 2002-04-27 02:21
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=109579&aid=549159&group_id=9579

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Patrick K. O'Brien (pobrien)
Assigned to: Nobody/Anonymous (nobody)
Summary: Tabs are messed up

Initial Comment:
Idlefork is not honoring the tab setting in my 
configuration. It is inserting a tab character, rather 
than spaces. Also, the column count indicator in the 
bottom right corner is incorrect because it doesn't 
appear to be counting tabs.

This seems to have broken fairly recently, but I don't 
know exactly when. The current CVS is definitely 
broken. I'm on Win98 with Python 2.2.1.

----------------------------------------------------------------------

>Comment By: Stephen M. Gava (elguavas)
Date: 2002-05-21 11:11

Message:
Logged In: YES 
user_id=75867

Ok. I just booted one of the boxes here in to windows 2000
(a couple of machines on our little lan optionally run it,
but unfortunately I have no windows 98 that I can test
against) and the described problem did not occur; I openned
aboutDialog.py and tabbing worked as expected, defaulting to
four spaces. That was under python 2.2 (with its built in tk
8.3). So then I upgraded that machine to python 2.2.1 (again
with its built in tk 8.3) and again I could not reproduce
the problem described.

So it may be something win98 specific (seems odd, but I
guess possible). Can someone else with windows 98 available
try this out?? Or else it may be something else specific to
your setup, for instance, do you have some other version of
tcl/tk also installed?


----------------------------------------------------------------------

Comment By: Patrick K. O'Brien (pobrien)
Date: 2002-05-20 22:28

Message:
Logged In: YES 
user_id=179604

I can still reproduce this problem. I'm using the latest 
from CVS. I deleted my .idlerc directory. I can open 
aboutDialog.py, hit tab and get a tab character with a 
spacing of 8 column positions, instead of the tab key 
inserting 4 spaces as specified by the default 
configuration. Here are the contents of my config-main.cfg 
file:

[EditorWindow]
height = 40
font = Courier New
font-size = 10


----------------------------------------------------------------------

Comment By: Stephen M. Gava (elguavas)
Date: 2002-05-20 12:57

Message:
Logged In: YES 
user_id=75867

Can't reproduce this from current cvs on linux. If you have
been running successive cvs versions you should try
completely deleting your .idlerc directory and all its
contents as the structure of the config files has been
changing/stabilising over time. Try that and see if you can
reproduce still.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=109579&aid=549159&group_id=9579