This works as expected (i=
.e. I get whatever is bound to s-a, and s-a appears in lossage). It's o=
nly the combination of C-s and M-s that gets translated incorrectly.
<=
/div>
Some more debugging output, usi=
ng NS_KEYLOG =3D 1. The input sequence is a, C-a, M-a, s-a, C-S-a, M-S-a, s=
-S-a, C-s-a, M-s-a. As you can see, 'code' is correct (A or a), exc=
ept for the last two cases.
keyDown: code =3D=
61 fnKey =
=3D0 flags =
=3D 100 mod=
s =3D 0
keyDown: Begin compose sequence.
2016-03-29 17:=
37:57.711 Emacs[59410:2534138] insertText 'a' len =3D 1
keyDown: cod=
e =3D61 fnK=
ey =3D0 fla=
gs =3D 40101 mods =3D 4000000
keyDown: code =3D61 fnKey =3D0 flags =3D 80120 mods =3D 8000000
keyDo=
wn: code =3D61 fnKey =3D0 flags =3D 100108 mods =3D 800000
keyDown: code =3D41 fnKey =3D0 flags =3D 60103 mods =3D 6000000
keyDown: code =3D41 fnKey =3D0 flags =3D a0122 mods =3D a000000keyDown: code =3D41 fnKey =3D0 flags =3D 12010a mods =3D 280000=
0
keyDown: code =3D1 fnKey =3D0 flags =3D 140109 mods =3D 4800000
keyDown: code =3De5 fnKey =3D0 flags =3D 180=
128 mods =
=3D 8800000