Skip to content

Idle File Menu Option Improvement #51385

Closed

Description

@tjd
mannequin
BPO 7136
Nosy @terryjreedy, @taleinat, @serwy, @rovitotv
Files
  • IDLE_new_file_py3k.patch
  • issue7136.patch: extended patch
  • 7136FileMenuConfusionV23point4.patch
  • 7136FileMenuConfusionV22point7.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/terryjreedy'
    closed_at = <Date 2013-07-01.05:06:16.925>
    created_at = <Date 2009-10-15.00:40:43.268>
    labels = ['expert-IDLE', 'type-feature']
    title = 'Idle File Menu Option Improvement'
    updated_at = <Date 2013-07-01.17:13:14.974>
    user = 'https://bugs.python.org/tjd'

    bugs.python.org fields:

    activity = <Date 2013-07-01.17:13:14.974>
    actor = 'Todd.Rovito'
    assignee = 'terry.reedy'
    closed = True
    closed_date = <Date 2013-07-01.05:06:16.925>
    closer = 'terry.reedy'
    components = ['IDLE']
    creation = <Date 2009-10-15.00:40:43.268>
    creator = 'tjd'
    dependencies = []
    files = ['18092', '23878', '30418', '30419']
    hgrepos = []
    issue_num = 7136
    keywords = ['patch']
    message_count = 12.0
    messages = ['94064', '110914', '149016', '149023', '190334', '190335', '190337', '192103', '192106', '192107', '192108', '192141']
    nosy_count = 7.0
    nosy_names = ['terry.reedy', 'taleinat', 'roger.serwy', 'tjd', 'Todd.Rovito', 'python-dev', 'Ramchandra Apte']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue7136'
    versions = ['Python 2.7', 'Python 3.3', 'Python 3.4']

    Activity

    1. tjd commented on Oct 15, 2009

      tjdmannequin
      MannequinAuthor

      I've been using Idle to teach beginning programming to university
      students for the last 6 or 7 years. I've taught hundreds and hundreds of
      students, and the single biggest confusion with Idle is this:

      "New Window" in the file menu is ambiguous

      Proposed fix: change "New Window" to "New File", or "New Program"

      Many beginners don't get the difference between a shell window and
      program window. I spend some time explaining the difference, and yet
      they see "New Window" and don't know if this means a shell window or
      program window.

      Obviously this is not an issue for non-beginners, or even for anyone
      willing to experiment for a minute or two, but it seems to me this is a
      small change that could be useful to beginners.

      Plus more precise menu options are usually a good thing in general.

    2. taleinat commented on Jul 20, 2010

      @taleinat
      Contributor

      +1 on renaming it "New File".

      Patch attached for py3k.

    3. serwy commented on Dec 8, 2011

      serwymannequin
      Mannequin

      This issue is mentioned as part of bpo-13504 meta-issue.

      The attached patch extends Tal's original patch by also updating the help.txt documentation.

    4. RamchandraApte commented on Dec 8, 2011

      RamchandraAptemannequin
      Mannequin

      +1 on renaming New Window to New File

    5. rovitotv commented on May 30, 2013

      rovitotvmannequin
      Mannequin

      Roger's patch works but the documentation has changed since he made the patch back in 2011. So I patched the patch and hope this very simple patch will get committed. I will work on a patch for 2.7 next.

      Today I was teaching a student on how to use Python with IDLE and the student found the existing menu option confusing. I was thrilled a patch already existed and it just needed updated. Thanks!

    6. rovitotv commented on May 30, 2013

      rovitotvmannequin
      Mannequin

      Same patch but for Python 2.7.5. I just updated the documentation from Roger's excellent patch.

    7. serwy commented on May 30, 2013

      serwymannequin
      Mannequin

      LGTM. Thanks Todd!

    8. self-assigned this
      on May 30, 2013
    9. rovitotv commented on Jul 1, 2013

      rovitotvmannequin
      Mannequin

      PING!!!!

      It has been a month since Roger's last comment on the patch looking good, can somebody please commit or post feedback. Thanks.

    10. terryjreedy commented on Jul 1, 2013

      @terryjreedy
      Member

      I am planning to commit. PS. Shorter names that include '27', '33', etc, are easier to work with ;-).

    11. python-dev commented on Jul 1, 2013

      python-devmannequin
      Mannequin

      New changeset 26ef5d5d5c3e by Terry Jan Reedy in branch '2.7':
      Issue bpo-7136: In the Idle File menu, "New Window" is renamed "New File".
      http://hg.python.org/cpython/rev/26ef5d5d5c3e

      New changeset c39ddff53694 by Terry Jan Reedy in branch '3.3':
      Issue bpo-7136: In the Idle File menu, "New Window" is renamed "New File".
      http://hg.python.org/cpython/rev/c39ddff53694

      New changeset 5bc3d8d22a93 by Terry Jan Reedy in branch 'default':
      (merge) Issue bpo-7136: In the Idle File menu, "New Window" is renamed "New File".
      http://hg.python.org/cpython/rev/5bc3d8d22a93

    12. terryjreedy commented on Jul 1, 2013

      @terryjreedy
      Member

      For some reason, the idlelib/help.txt was reformatted with double indents (not sure I like this) for 3.4 but not 3.3. So parts of the patch against 3.4 would not apply to 3.3, which must be patched first. And the merge to 3.4 likewise failed for two files. We should have the same text for all versions except where is actually matters. Or replace with the doc, as proposed elsewhere.

      The 'new window' issue is "Blank file editor window for a new file" versus "File editor window pre-loaded with existing file". "New file" captures the difference between the two where as "New window" is the same for both. So even native English speaker could be initially confused. When I tested, "New file" looks right. File / New may be standard on Windows, but File / New File looks fine to me.

      Toby, thank you for sharing your experience. We need more of such, even if we have been slow to respond.

    13. rovitotv commented on Jul 1, 2013

      rovitotvmannequin
      Mannequin

      Terry I am sorry the push didn't go smooth. I thought I had checked the patch with 2.7 and 3.4 and it applied for me but maybe I missed something? For sure I didn't check 3.3 but from here on out I will. Awhile ago I worked on a issue to synchronize the documentation here:
      http://bugs.python.org/issue5066

      Mr. Andrew Svetlov was kind enough to push the patch but he only pushed it for 3.4 which I am not sure why? Then Zachary Ware had the excellent suggestion of making the help.txt generate from the rst file http://bugs.python.org/issue16893. So with all that being said I am confused about the direction of IDLE documentation. Maybe we should reopen bpo-5066 or create a new issue to sync help.txt and idle.rst across all version from 2.7 - 3.4? Then apply Zachary's patch to automate the creation of help.txt.

    14. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions