There is a bug in the IDLE configuration dialog in the 1.1 versions.<br>(Why not update to a newer version?)<br><br>You can change the value manually in your user config files:<br>1. Go to the .idlerc directory (~/.idlerc on unix/linux, Documents and Settings\&lt;username&gt;\.idlerc on WinXP)
<br>2. Open config-main.cfg with a text editor (create it if it doesn&#39;t exist)<br>3. Add the following two lines:<br>[Indent]<br>num-spaces = 2<br><br><br>I don&#39;t have version 1.1.1 handy, but hopefully this should help... let me know if it works out.
<br><br>- Tal Einat<br><br><br><div><span class="gmail_quote">On 3/19/07, <b class="gmail_sendername">Liang Zou</b> &lt;<a href="mailto:zoukyle@gmail.com">zoukyle@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">Hi,</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">When I set the new indent width to 2, it won't be
saved. When I open a new window next time, it will reset to 4. I was wondering
if I can save the default indent width to 2.</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">I tried to use the set indentation defaults function in the
option dialog, but it doesn't work at all. I'm using idle 1.1.1</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">Thank you very much for your help.</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">Sincerely yours,</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">Liang Zou</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Arial" size="3"><span style="font-size: 12pt; font-family: Arial;">&nbsp;</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

</div>

</div>


<br>_______________________________________________<br>IDLE-dev mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:IDLE-dev@python.org">IDLE-dev@python.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.python.org/mailman/listinfo/idle-dev" target="_blank">
http://mail.python.org/mailman/listinfo/idle-dev</a><br><br></blockquote></div><br>