21 nov. 2019 kl. 22.12 skrev Alan Third : > 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.