Message301792
| Author |
terry.reedy |
| Recipients |
markroseman, ned.deily, serhiy.storchaka, terry.reedy |
| Date |
2017年09月09日.20:35:49 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1504989349.82.0.0902483645951.issue20580@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Ned, config.py currently has
def GetCurrentKeySet(self):
"Return CurrentKeys with 'darwin' modifications."
result = self.GetKeySet(self.CurrentKeys())
if sys.platform == "darwin":
# OS X Tk variants do not support the "Alt" keyboard modifier.
# So replace all keybingings that use "Alt" with ones that
# use the "Option" keyboard modifier.
# TODO (Ned?): the "Option" modifier does not work properly for
# Cocoa Tk and XQuartz Tk so we should not use it
# in default OS X KeySets.
for k, v in result.items():
v2 = [ x.replace('<Alt-', '<Option-') for x in v ]
if v != v2:
result[k] = v2
return result
This already did or would have done what the Makefile did. The comment suggests that maybe you suggested that 'Alt' to 'Option' is not always correct. What say you now? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2017年09月09日 20:35:49 | terry.reedy | set | recipients:
+ terry.reedy, ned.deily, markroseman, serhiy.storchaka |
| 2017年09月09日 20:35:49 | terry.reedy | set | messageid: <1504989349.82.0.0902483645951.issue20580@psf.upfronthosting.co.za> |
| 2017年09月09日 20:35:49 | terry.reedy | link | issue20580 messages |
| 2017年09月09日 20:35:49 | terry.reedy | create |
|