all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Caps Lock affects Ctrl+keys
Date: Mon, 20 Jan 2014 18:57:30 +0700	[thread overview]
Message-ID: <CAP_d_8VuhwGUHEKeq=hvc+0dz+W0czpdgSREVSSiYRva3Rix3g@mail.gmail.com> (raw)

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?



             reply	other threads:[~2014-01-20 11:57 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-20 11:57 Yuri Khan [this message]
2014-01-20 14:47 ` Caps Lock affects Ctrl+keys 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAP_d_8VuhwGUHEKeq=hvc+0dz+W0czpdgSREVSSiYRva3Rix3g@mail.gmail.com' \
    --to=yuri.v.khan@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.