all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Caps Lock affects Ctrl+keys
@ 2014-01-20 11:57 Yuri Khan
  2014-01-20 14:47 ` Jude DaShiell
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Yuri Khan @ 2014-01-20 11:57 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

Hello list,

I notice that, when I turn on Caps Lock, all Ctrl+letter combinations
behave as if I pressed Ctrl+Shift+letter. My expectation is that Caps
Lock should not affect any control modifiers (Ctrl, Meta, Super,
Hyper), but should affect normal character input (no modifiers or just
Shift) and might affect higher levels input (Level3, Level5 and any
combinations thereof with or without Shift).

$ emacs -Q

M-: (read-key) RET
press Ctrl+z
# 26 (#o32, #x1a)
(so far so good)

M-: (read-key) RET
press Ctrl+Shift+z
# 33554458 (#o200000032, #x200001a)
(ok)

M-: (read-key) RET
press Caps Lock to turn it on
press Ctrl+z
# 33554458 (#o200000032, #x200001a)
(expected: 26 (#o32, #x1a))

M-: (read-key) RET
with Caps Lock still on
press Ctrl+Shift+z
# 26 (#o32, #x1a)
(expected: 33554458 (#o200000032, #x200001a))

This is on GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.2),
in Ubuntu 13.10, GUI mode. (In -nw mode, I get 26 no matter whether
Shift is pressed and/or Caps is on, which is understandable because in
that mode the terminal emulator handles all keyboard input.)

Does anybody else observe this? Should I report a bug? Is there an
easy workaround?



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-01-24 15:56 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-20 11:57 Caps Lock affects Ctrl+keys Yuri Khan
2014-01-20 14:47 ` Jude DaShiell
2014-01-20 15:24   ` Yuri Khan
2014-01-20 17:47     ` Jude DaShiell
     [not found]     ` <mailman.12433.1390240051.10748.help-gnu-emacs@gnu.org>
2014-01-20 18:24       ` Emanuel Berg
     [not found]   ` <mailman.12400.1390231499.10748.help-gnu-emacs@gnu.org>
2014-01-20 17:23     ` Emanuel Berg
2014-01-20 18:30       ` Yuri Khan
     [not found]       ` <mailman.12445.1390242632.10748.help-gnu-emacs@gnu.org>
2014-01-20 18:53         ` Emanuel Berg
2014-01-20 20:38 ` Yuri Khan
     [not found] ` <mailman.12458.1390250342.10748.help-gnu-emacs@gnu.org>
2014-01-20 22:55   ` Emanuel Berg
2014-01-21  2:10   ` Emanuel Berg
2014-01-21  5:07     ` Yuri Khan
     [not found]     ` <mailman.12490.1390280831.10748.help-gnu-emacs@gnu.org>
2014-01-21 17:38       ` Emanuel Berg
2014-01-24 14:38     ` Yuri Khan
2014-01-24 15:56       ` Stefan Monnier
     [not found]     ` <mailman.12684.1390574300.10748.help-gnu-emacs@gnu.org>
2014-01-24 15:22       ` Dan Espen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.