[ python-Bugs-1517993 ] IDLE: config-main.def contains windows-specific settings

SourceForge.net noreply at sourceforge.net
Tue Jul 18 14:34:09 CEST 2006


Bugs item #1517993, was opened at 2006-07-06 10:29
Message generated for change (Comment added) made by ronaldoussoren
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1517993&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: IDLE
Group: Python 2.5
Status: Open
Resolution: None
>Priority: 2
Submitted By: Ronald Oussoren (ronaldoussoren)
Assigned to: Nobody/Anonymous (nobody)
Summary: IDLE: config-main.def contains windows-specific settings

Initial Comment:
The default values in config-main.def contain values that are specific for 
Windows. This means that the key-bindings for other platforms, such as 
OSX will be wrong (because config-main selects the windows keybindings 
as the default keybindings).

I've worked around this by copying a mac version of config-main.def over 
the installed version of config-main.def from Mac/IDLE/Makefile.in. That 
is obviously a crude hack, but I know of no better solution.

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

>Comment By: Ronald Oussoren (ronaldoussoren)
Date: 2006-07-18 14:34

Message:
Logged In: YES 
user_id=580910

Mac/IDLE contains support code for building and installing an application 
bundle for IDLE, which gives us a nice icon to click on :-)

Detecting the platform and automaticly using platform-specific settings 
would be nice and would mostly solve my problem. "Mostly" because config-
extensions.def also contains key-binding definitions; which could well be 
platform-specific (AquaTk doesn't seem to support the ALT modifier).

IMHO the current workaround is crude because I maintain a seperate copy of 
several configuration files just to change a small number of settings.  I have 
lowered the priority of this issue because I don't think this is very important.

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

Comment By: Kurt B. Kaiser (kbk)
Date: 2006-07-17 20:46

Message:
Logged In: YES 
user_id=149084

Not so crude, since there is a Mac/IDLE/ dir? I
gather this works ok for 2.5 installs on OSX?

Perhaps IDLE should be modified to try to detect
the platform and only use the entry in
config-main.def if detection fails.  The [keys]
section is necessary, I believe, to mirror the
[keys] section in the user's config-main.cfg if
he changes keybindings.

But you would still need Mac/IDLE/, would you not?

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1517993&group_id=5470


More information about the Python-bugs-list mailing list