[issue17609] IDLE: Remove config option 'editor on startup' and utilize command line options only

Todd Rovito report at bugs.python.org
Mon Apr 1 13:51:27 CEST 2013


New submission from Todd Rovito:

Based on enhancements from this issue:
http://bugs.python.org/issue6698

Comments from Tal Einat

The "editor-on-startup" config option should be removed. Running IDLE without arguments should open a shell. If IDLE is asked to open any files for editing, it should open just editor windows. IDLE should open both a shell window and one or more editor windows only when explicitly asked to do so on the command line.

If this is done, the -e option ("open an editor") would tell IDLE to open an empty editor window if no files are asked to be opened for editing. If no other arguments are given, IDLE will open just an editor window (no shell window). The -i option ("open a shell") would tell IDLE to open a shell window even if asked to open files for editing.

I think this is more obvious and easier to work with. It will also make the command line argument processing code simpler. And as a bonus we remove a config option :)

I will also post on idle-dev for discussion as Terry Reedy requested.

----------
components: IDLE
messages: 185731
nosy: Todd.Rovito, roger.serwy, taleinat, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: Remove config option 'editor on startup' and utilize command line options only
type: enhancement
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17609>
_______________________________________


More information about the Python-bugs-list mailing list