From peter@grenna.net Mon Apr 23 10:28:41 2001 From: peter@grenna.net (Peter Bengtsson) Date: Mon, 23 Apr 2001 11:28:41 +0200 Subject: [Idle-dev] Change keybindings Message-ID: Dear all, New to the list but a fan of the IDLE tool. I use (mostly, unfortunatly) windows. On a french keyboard to get the squared bracket you need to to get a ] unlike the qwerty keyboard where need only to push the ] key. This makes it impossible for me to use the Indent Region and Dedent Region shortcut. (Ctrl-[ and Ctrl-]) How can I "remap" this to my needs? If I for example want to bind Ctrl-- to Dedent and Ctrl-_ to Indent. In Tools/idle/AutoIndent.py I found this: windows_keydefs = { '<>': [''], '<>': [''], '<>': [''], '<>': [''], '<>': [''], '<>': [''], } Can I change '' to ''?? Hints? Tips? Help? Cheers, Peter From jschmitt@vmlabs.com Tue Apr 24 02:31:35 2001 From: jschmitt@vmlabs.com (John Schmitt) Date: Mon, 23 Apr 2001 18:31:35 -0700 Subject: [Idle-dev] where is pythonwin? relationship to idle? Message-ID: <4197FA5DD22AD5118ADE00805F6FA62F4459@eden.vmlabs.com> Naively, I thought I could cut the [colors] section from ...\Tools\idle\config.txt and paste it into ...\Pythonwin\pywin\IDLE.cfg. This does not work. What is the relationship between idle and pythonwin? Where is pythonwin being developed? Sourceforge? I couldn't find it there. John From guido@digicool.com Tue Apr 24 03:37:23 2001 From: guido@digicool.com (Guido van Rossum) Date: Mon, 23 Apr 2001 21:37:23 -0500 Subject: [Idle-dev] where is pythonwin? relationship to idle? In-Reply-To: Your message of "Mon, 23 Apr 2001 18:31:35 MST." <4197FA5DD22AD5118ADE00805F6FA62F4459@eden.vmlabs.com> References: <4197FA5DD22AD5118ADE00805F6FA62F4459@eden.vmlabs.com> Message-ID: <200104240237.VAA09540@cj20424-a.reston1.va.home.com> > Naively, I thought I could cut the [colors] section from > ...\Tools\idle\config.txt and paste it into ...\Pythonwin\pywin\IDLE.cfg. > This does not work. > > What is the relationship between idle and pythonwin? Where is pythonwin > being developed? Sourceforge? I couldn't find it there. Pythinwin is Mark Hammond's. I don't know where you got it, but it's part of ActivePython, and you can also get it here: http://www.activestate.com/ASPN/Downloads/ActivePython/Extensions/Win32all AFAIK, Pythonwin doesn't use IDLE (it has its own colorizing editor), so I'm surprised there's an IDLE.cfg there... --Guido van Rossum (home page: http://www.python.org/~guido/) From jschmitt@vmlabs.com Tue Apr 24 02:52:39 2001 From: jschmitt@vmlabs.com (John Schmitt) Date: Mon, 23 Apr 2001 18:52:39 -0700 Subject: [Idle-dev] where is pythonwin? relationship to idle? Message-ID: <4197FA5DD22AD5118ADE00805F6FA62F445A@eden.vmlabs.com> Thanks. I installed ActivePython 2.1. The link you provided mentions the source code, browseable at this URL: http://www.pythonpros.com/cgi-bin/cvsweb.cgi/PyWin32 which does not work right now. IDLE.cfg is supposed to be a keyboard config, I guess. John > -----Original Message----- > From: Guido van Rossum [mailto:guido@digicool.com] > Sent: Monday, April 23, 2001 7:37 PM > To: John Schmitt > Cc: idle-dev@python.org > Subject: Re: [Idle-dev] where is pythonwin? relationship to idle? > > > > Naively, I thought I could cut the [colors] section from > > ...\Tools\idle\config.txt and paste it into > ...\Pythonwin\pywin\IDLE.cfg. > > This does not work. > > > > What is the relationship between idle and pythonwin? Where > is pythonwin > > being developed? Sourceforge? I couldn't find it there. > > Pythinwin is Mark Hammond's. I don't know where you got it, but it's > part of ActivePython, and you can also get it here: > > http://www.activestate.com/ASPN/Downloads/ActivePython/Extensi ons/Win32all AFAIK, Pythonwin doesn't use IDLE (it has its own colorizing editor), so I'm surprised there's an IDLE.cfg there... --Guido van Rossum (home page: http://www.python.org/~guido/) From MarkH@ActiveState.com Thu Apr 26 09:18:40 2001 From: MarkH@ActiveState.com (Mark Hammond) Date: Thu, 26 Apr 2001 18:18:40 +1000 Subject: [Idle-dev] where is pythonwin? relationship to idle? In-Reply-To: <4197FA5DD22AD5118ADE00805F6FA62F445A@eden.vmlabs.com> Message-ID: > > IDLE.cfg is supposed to be a keyboard config, I guess. Yes, it provides keyboard bindings similar to IDLE. It can be selected in the main Options dialog. Mark.