This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author taleinat
Recipients taleinat, terry.reedy, tetelevm
Date 2021-05-27.14:04:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1622124240.24.0.779780940755.issue43654@roundup.psfhosted.org>
In-reply-to
Content
The original issue appears to be caused by <<smart-indent>> also being bound to Tab, but <<autocomplete>> only being bound using event_add() once in EditorWindow.__init__().  Therefore, RemoveKeybindings() does remove the binding for tab due to <<smart-indent>>, but <<autocomplete>> is not bound again by ApplyKeybindings().

That should mean that tab is still bound to <<autocomplete>> and <<smart-indent>>, as expected, but the order has changed: now <<smart-indent>> was the last event added. We need <<autocomplete>> to fire first.

Specifically, commenting out the line for <<smart-indent>> from config.py causes this bug to no longer happen.
History
Date User Action Args
2021-05-27 14:04:00taleinatsetrecipients: + taleinat, terry.reedy, tetelevm
2021-05-27 14:04:00taleinatsetmessageid: <1622124240.24.0.779780940755.issue43654@roundup.psfhosted.org>
2021-05-27 14:04:00taleinatlinkissue43654 messages
2021-05-27 14:04:00taleinatcreate