On Nov 10, 10:35 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Nov 10, 4:49 pm, RichardT <[EMAIL PROTECTED]> wrote: > > > > > On Mon, 10 Nov 2008 10:40:28 -0800 (PST), "timw.google" > > > <[EMAIL PROTECTED]> wrote: > > >Is there a way to disable ctrl-P (print window) in IDLE? I'm editing > > >some python code in IDLE and I keep hitting this by mistake from my > > >years of emacs editing. > > > >Thanks in advance. > > > In Idle, select 'Configure IDLE..' from the options menu. > > > In the Options dialog, select the Keys tab. > > > Scroll down to the 'print-window' entry and select it. > > > Click the "Get New Keys For Selection" button. > > > Select the new key combination e.g. Shift+Ctrl+p and click OK button. > > > If you have not enter any custom keys before, you will get a prompt > > for a Custom Key Set Name - enter a name and click OK. > > For the archive, since our hero prefers not to receive credit. > > > Ctrl+P should no longer send the window to the printer. On my system > > (python 2.5.1 on XP) it now moves the cursor up a line for some reason > > (deafult binding for the widget?) > > Cursor up is the default emacs binding for Ctrl+P so this will > probably please the original poster (and me too!)
Wonderful!!!!! I remapped ctrl-N too while I was at it. Thanks!!!! (and no help desk involvement either!) -- http://mail.python.org/mailman/listinfo/python-list