GNU bug report logs - #68930
30.0.50; Emacs conflates C-Ω and C-ω

Previous Next

Package: emacs;

Reported by: Alexander Prähauser <ahprae <at> protonmail.com>

Date: Mon, 5 Feb 2024 03:37:02 UTC

Severity: normal

Found in version 30.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alexander Prähauser <ahprae <at> protonmail.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 68930 <at> debbugs.gnu.org
Subject: bug#68930: 30.0.50;   Emacs conflates C-Ω and C-ω
Date: Tue, 06 Feb 2024 13:11:39 +0000
[Message part 1 (text/plain, inline)]
"Po Lu" <luangruo <at> yahoo.com> writes:

> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>> I think Alexander says that the bindings are reversed, i.e. C-Δ
>> invokes the binding of C-δ and vice versa.  That's the bug he is
>> complaining about.  Your description seems to suggest that both keys
>> should have invoked the same command, not two different commands
>> exactly reversed from how they were bound.
>
> If so, I can't reproduce the bug by binding keys to the characters he
> specified in his e-mail.  Alexander, please send the lines in your XKB
> keymap which bind those characters, or alternatively run:
>
>   xkbcomp :0 test.xkb
>
> and attach the test.xkb file produced.  Thanks in advance.

The line for, for instance, ω and Ω is

    key <AB09> { [ w,                       W,
    EuroSign,                U03C9,                   9,
    U221E,                   U03A9,            U1F61F                 ]
    };

Here, lowercase Greek symbols are on the fourth layer and uppercase on
the seventh. I also included the test.xkb file that you mentioned. I
just had the thought that maybe the behavior can be explained by the way
higher layers are accessed through modifiers: I looked it up, and
usually the fourth layer is accessed through CapsLock and RightShift and
the seventh through CapsLock and RightAlt, but I made it so that the
fourth layer can also be accessed through Backslash and Grave, and if I
use either combination to type C-ω it acts as if I was typing C-Ω.

[test.xkb (application/octet-stream, attachment)]

This bug report was last modified 1 year and 117 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.