help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Caps Lock affects Ctrl+keys


From: Emanuel Berg
Subject: Re: Caps Lock affects Ctrl+keys
Date: Mon, 20 Jan 2014 23:55:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Yuri Khan <yuri.v.khan@gmail.com> writes:

> OK, I looked at the code.

OK, great job!

> The LockMask bit is lost at this point.

Can you see a reason for this? Are there too few bits?
Or isn't it needed, the what it is now, having
"uppercased" the letter, its job done?

> Then, under the “done:” label, the
> kbd_buffer_store_event_hold function from keyboard.c
> is called, which in turn calls make_ctrl_char, which
> sees 0x5a and sets the shift_modifier.

OK, so the problem is, shift isn't shift because the
shift *key* is pressed, shift is shift because the char
is *uppercase*?

-- 
underground experts united:
http://user.it.uu.se/~embe8573


reply via email to

[Prev in Thread] Current Thread [Next in Thread]