[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24456: 25.1; [PATCH] Caps-lock doesn't affect interpretation of key
From: |
Eli Zaretskii |
Subject: |
bug#24456: 25.1; [PATCH] Caps-lock doesn't affect interpretation of key chords |
Date: |
Wed, 21 Sep 2016 17:56:51 +0300 |
> From: Dima Kogan <dima@secretsauce.net>
> Cc: npostavs@users.sourceforge.net, 24456@debbugs.gnu.org
> Date: Mon, 19 Sep 2016 13:28:56 -0700
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > What exactly requires testing for ASCII lower-case letters in your
> > patch? Why only ASCII?
>
> I'm trying to detect the caps-lock by finding capital letters that were
> produced without Shift (and vice versa). I can do something like
>
> !shift_pressed && isupper(c)
>
> but that doesn't work with wide characters. There's iswupper(c). Are the
> wide chars it takes the same ones we get in that function? How about
> non-latin scripts?
We already have an inline function 'uppercasep', which you could use;
it supports any character that Emacs supports.
> Fundamentally I'm the worst person to be testing this, sadly.
Once the code is written, we can ask people to test it in different
locales, I don't expect problems in this area.
Thanks.
- bug#24456: 25.1; [PATCH] Caps-lock doesn't affect interpretation of key chords, Dima Kogan, 2016/09/18
- bug#24456: 25.1; [PATCH] Caps-lock doesn't affect interpretation of key chords, npostavs, 2016/09/18
- bug#24456: 25.1; [PATCH] Caps-lock doesn't affect interpretation of key chords, Dima Kogan, 2016/09/18
- bug#24456: 25.1; [PATCH] Caps-lock doesn't affect interpretation of key chords, npostavs, 2016/09/18
- bug#24456: 25.1; [PATCH] Caps-lock doesn't affect interpretation of key chords, Eli Zaretskii, 2016/09/18
- bug#24456: 25.1; [PATCH] Caps-lock doesn't affect interpretation of key chords, Dima Kogan, 2016/09/19
- bug#24456: 25.1; [PATCH] Caps-lock doesn't affect interpretation of key chords, Eli Zaretskii, 2016/09/19
- bug#24456: 25.1; [PATCH] Caps-lock doesn't affect interpretation of key chords, Dima Kogan, 2016/09/19
- bug#24456: 25.1; [PATCH] Caps-lock doesn't affect interpretation of key chords, Eli Zaretskii, 2016/09/19
- bug#24456: 25.1; [PATCH] Caps-lock doesn't affect interpretation of key chords, Dima Kogan, 2016/09/19
- bug#24456: 25.1; [PATCH] Caps-lock doesn't affect interpretation of key chords,
Eli Zaretskii <=
- bug#24456: 25.1; [PATCH] Caps-lock doesn't affect interpretation of key chords, Dima Kogan, 2016/09/21
- bug#24456: 25.1; [PATCH] Caps-lock doesn't affect interpretation of key chords, Eli Zaretskii, 2016/09/22
- bug#24456: 25.1; [PATCH] Caps-lock doesn't affect interpretation of key chords, Dima Kogan, 2016/09/25
bug#24456: 25.1; [PATCH] Caps-lock doesn't affect interpretation of key chords, Eli Zaretskii, 2016/09/18