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 terry.reedy
Recipients Alessandro Rosa, ned.deily, ronaldoussoren, taleinat, terry.reedy, wordtech
Date 2015-07-11.00:45:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1436575504.39.0.033950547919.issue24570@psf.upfronthosting.co.za>
In-reply-to
Content
More tests might help pin down the bug. Here is the complete config for completions.
[AutoComplete]
enable=True
popupwait=2000
[AutoComplete_cfgBindings]
force-open-completions=<Control-Key-space>
[AutoComplete_bindings]
autocomplete=<Key-Tab>
try-open-completions=<KeyRelease-period> <KeyRelease-slash> <KeyRelease-backslash>

Notes: config-extensions.def is initially opened and generically processed in various methods of configHandler.IdleConf, and on request, the config-extentions section of EditorWindow.py. cfgBindings can be (sensibly) reconfigured, the others not. Names that follow, before '=', become pseudoevents handles by methods in the

Alessandro, you said <Control-Key-space> works, <KeyRelease-period> does not.  How about <Key-Tab> and <KeyRelease-(back)slash>. The latter pair work within path strings when the preceding chars begin a path that exist on your system.  For instance, on Win 7, './ lists options in the current directory.

I have no idea why KeyRelease instead of Key is used above and below.  There is no key equivalent of releasing a mouse button in a different location than where pressed. Kevin, could there be a bug with KeyRelease on Mac?  Alessandro, you could test by making a backup of configextensions.def and removing 'Release' for 'period'.

The calltip files are
CallTips.py
CallTipWindow.py
and in config-extensions.def,

[CallTips]
enable=True
[CallTips_cfgBindings]
force-open-calltip=<Control-Key-backslash>
[CallTips_bindings]
try-open-calltip=<KeyRelease-parenleft>
refresh-calltip=<KeyRelease-parenright> <KeyRelease-0>

Alessandro, you said <KeyRelease-parenleft> does not work.  How abut <Control-Key-backslash> (after '(') to open?  Does <KeyRelease-parenright> close properly?

I do not know what <KeyRelease-0> (zero) is about.  It does not work for me.

For both boxes, clicking on the box should also close. Does it?
What about Edit -> Show Completions and Edit -> Show calltips for opening?
History
Date User Action Args
2015-07-11 00:45:04terry.reedysetrecipients: + terry.reedy, ronaldoussoren, taleinat, wordtech, ned.deily, Alessandro Rosa
2015-07-11 00:45:04terry.reedysetmessageid: <1436575504.39.0.033950547919.issue24570@psf.upfronthosting.co.za>
2015-07-11 00:45:04terry.reedylinkissue24570 messages
2015-07-11 00:45:02terry.reedycreate