[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: |
Wed, 20 Nov 2019 11:55:04 +0100 |
Mac users, especially those of us with a non-US keyboard, need the Option keys
for entering various characters, and thus set 'ns-alternate-modifier' to nil,
or use 'ns-right-alternate-modifier' to employ only one of them for this
purpose. However, this prevents use of that key as modifier for function keys
(arrows, backspace etc) or mouse actions.
This patch adds the variable 'ns-alternate-modifier-char-entry' which, when
non-nil, inhibits the Option key translation to Emacs modifiers for character
keys but allows it for any other event. For example, setting
(setq ns-alternate-modifier 'super)
(setq ns-alternate-modifier-char-entry t)
makes Option act as Super with function keys and mouse clicks, but retains the
standard macOS semantics for character entry (for example, Option + p = π).
0001-Add-ns-alternate-modifier-char-entry.patch
Description: Binary data
- 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, 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, 2019/11/25
- 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