Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDLE: document all key bindings, add menu items for more. #72284

Open
terryjreedy opened this issue Sep 12, 2016 · 7 comments
Open

IDLE: document all key bindings, add menu items for more. #72284

terryjreedy opened this issue Sep 12, 2016 · 7 comments
Assignees
Labels
3.7 (EOL) end of life 3.8 only security fixes docs Documentation in the Doc dir topic-IDLE type-bug An unexpected behavior, bug, or error

Comments

@terryjreedy
Copy link
Member

BPO 28097
Nosy @terryjreedy, @csabella, @miss-islington
PRs
  • bpo-28097: IDLE - Add Previous/Next History to Shell menu #11325
  • [3.7] bpo-28097: IDLE - Add Previous/Next History to Shell menu (GH-11325) #11345
  • 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 = None
    created_at = <Date 2016-09-12.07:03:30.950>
    labels = ['3.8', 'expert-IDLE', 'type-bug', '3.7']
    title = 'IDLE: document all key bindings, add menu items for more.'
    updated_at = <Date 2018-12-28.20:29:46.499>
    user = 'https://github.com/terryjreedy'

    bugs.python.org fields:

    activity = <Date 2018-12-28.20:29:46.499>
    actor = 'miss-islington'
    assignee = 'terry.reedy'
    closed = False
    closed_date = None
    closer = None
    components = ['IDLE']
    creation = <Date 2016-09-12.07:03:30.950>
    creator = 'terry.reedy'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 28097
    keywords = ['patch', 'patch', 'patch']
    message_count = 7.0
    messages = ['275980', '278326', '332560', '332641', '332673', '332678', '332679']
    nosy_count = 3.0
    nosy_names = ['terry.reedy', 'cheryl.sabella', 'miss-islington']
    pr_nums = ['11325', '11345']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue28097'
    versions = ['Python 3.7', 'Python 3.8']

    @terryjreedy
    Copy link
    Member Author

    (Follow-up to bpo-15308, which added ^C Interrupt Execution to doc and Shell menu, and to bpo-27120, which proposed to add ^/ Toggle Highlighting, until I realized that that should be part of bpo-6858, about highlighting non-.py files.)

    Every IDLE function should be documented. More should be on menu. Perhaps add Move/delete menus for cursor movement and directional deletion, if not a diagram.

    Another idea. A searchable current key binding list, possible sortable by key as well as function. It should include fixed builtin bindings as well as extension bindings. See bpo-27120 for motivation.

    Side issue 1: Menu entries for extensions do not reflect customization (? verify, from Roger).

    Side issue 2: Menus need to be tested.

    @terryjreedy terryjreedy self-assigned this Sep 12, 2016
    @terryjreedy terryjreedy added topic-IDLE type-bug An unexpected behavior, bug, or error labels Sep 12, 2016
    @terryjreedy
    Copy link
    Member Author

    The toggle highlighting issue is bpo-27170 (not 27120)

    @csabella
    Copy link
    Contributor

    PR11325 adds Previous/Next History to the Shell menu.

    @terryjreedy terryjreedy added 3.7 (EOL) end of life 3.8 only security fixes labels Dec 28, 2018
    @terryjreedy
    Copy link
    Member Author

    Response to history issues raised in PR:

    1. Not erasing output/history is a feature: some shells save and restore recent history when close and open. Shell restart is an alternative to that. I fairly often replay statements after restart.
    2. I think turning off cycling is feature bloat. (I never do so for search.)
    3. The one history feature that multiple people have asked for, on another issue, is retrieval with up/down arrow, as seems to be standard. I now agree.

    For items going under edit, which is already 'full', submenus will be needed. Since history is Shell only, separate entries are ok, at least for now, instead of 'History' and a submenu with 'previous' and 'next'.

    @terryjreedy
    Copy link
    Member Author

    Cheryl, the addition looks nice. But for anything else, lets discuss here first.

    @terryjreedy
    Copy link
    Member Author

    New changeset c0381aa by Terry Jan Reedy (Cheryl Sabella) in branch 'master':
    bpo-28097: IDLE - Add Previous/Next History to Shell menu (bpo-11325)
    c0381aa

    @miss-islington
    Copy link
    Contributor

    New changeset b716c71 by Miss Islington (bot) in branch '3.7':
    bpo-28097: IDLE - Add Previous/Next History to Shell menu (GH-11325)
    b716c71

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @erlend-aasland erlend-aasland added the docs Documentation in the Doc dir label Jul 27, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life 3.8 only security fixes docs Documentation in the Doc dir topic-IDLE type-bug An unexpected behavior, bug, or error
    Projects
    Status: In Progress
    Development

    No branches or pull requests

    4 participants