[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#38296: Allow Option key to be modifier for non-char key and mouse ev
From: |
Mattias Engdegård |
Subject: |
bug#38296: Allow Option key to be modifier for non-char key and mouse events |
Date: |
Mon, 25 Nov 2019 20:15:31 +0100 |
21 nov. 2019 kl. 22.12 skrev Alan Third <alan@idiocy.org>:
> Do you think this functionality will only be required for the
> alt/option key or will there be a demand to add it for command too? In
> my experience the characters available via command are rather more
> obscure, but I’ve little experience with non‐UK keyboards.
Looking at Mitsuharu Yamamoto's Mac port made me change my mind: it solves the
problem by allowing the variables to have values on the form (:ordinary SYMBOL
:function SYMBOL :mouse SYMBOL), defining each modifier key separately for
ordinary keys, function keys and mouse events.
This is more flexible, and turned out to be rather simple to implement, so I
think this is better than adding variables. I did it for all ns-KEY-modifier
and ns-right-KEY-modifier variables (KEY being control, command, alternate and
function), since it seemed silly not to. The relevant macOS-specific
documentation was improved as well.
Doing so also reduces gratuitous incompatibility with the Mac port.
Here is the new patch. Maybe we can get it done before Eli branches off Emacs
27.
0001-Fine-grained-NS-modifier-key-settings-bug-38296.patch
Description: Binary data
- bug#38296: Allow Option key to be modifier for non-char key and mouse events, Mattias Engdegård, 2019/11/20
- bug#38296: Allow Option key to be modifier for non-char key and mouse events, Mattias Engdegård, 2019/11/21
- bug#38296: Allow Option key to be modifier for non-char key and mouse events, Alan Third, 2019/11/21
- bug#38296: Allow Option key to be modifier for non-char key and mouse events, Mattias Engdegård, 2019/11/22
- bug#38296: Allow Option key to be modifier for non-char key and mouse events,
Mattias Engdegård <=
- bug#38296: Allow Option key to be modifier for non-char key and mouse events, Alan Third, 2019/11/26
- bug#38296: Allow Option key to be modifier for non-char key and mouse events, Mattias Engdegård, 2019/11/26
- bug#38296: Allow Option key to be modifier for non-char key and mouse events, Alan Third, 2019/11/26
- bug#38296: Allow Option key to be modifier for non-char key and mouse events, Mattias Engdegård, 2019/11/27
- bug#38296: Allow Option key to be modifier for non-char key and mouse events, Eli Zaretskii, 2019/11/26
- bug#38296: Allow Option key to be modifier for non-char key and mouse events, Richard Stallman, 2019/11/27
- bug#38296: Allow Option key to be modifier for non-char key and mouse events, Mattias Engdegård, 2019/11/27
- bug#38296: Allow Option key to be modifier for non-char key and mouse events, Richard Stallman, 2019/11/27