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


Message #14 received at 68930 <at> debbugs.gnu.org (full text, mbox):

From: Alexander Prähauser <ahprae <at> protonmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Po Lu <luangruo <at> yahoo.com>, 68930 <at> debbugs.gnu.org
Subject: Re: bug#68930: 30.0.50;
  Emacs conflates C-Ω and C-ω
Date: Mon, 05 Feb 2024 23:00:53 +0000
"Eli Zaretskii" <eliz <at> gnu.org> writes:

> [Please use Reply All to reply, to keep the bug tracker CC'ed.]
>
>> Date: Mon, 05 Feb 2024 16:58:02 +0000
>> From: Alexander Prähauser <ahprae <at> protonmail.com>
>>
>> "Eli Zaretskii" <eliz <at> gnu.org> writes:
>>
>> >> Date: Sun, 04 Feb 2024 20:49:26 +0000
>> >> From:  Alexander Prähauser via "Bug reports for GNU Emacs,
>> >>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>> >>
>> >>
>> >> Emacs confuses C-ω and C-Ω. This seems to happen regardless of the init file.
>> >> For instance, if started with a basic init containing only the lines
>> >>
>> >> (define-key global-map (kbd "C-ω") 'kill-region)
>> >> (define-key global-map (kbd "C-Ω") 'copy-to-register)
>> >>
>> >> the commands are recalled by exactly the reversed key combinations, C-Ω
>> >> kills and C-ω copies to register. Both Ω and ω are here in the xkb-map
>> >> of the keyboard layout as unicode characters, U03A9 and U03C9
>> >> respectively. I tried using C-Ω and C-ω as key combinations for commands
>> >> in the Firefox-plugin Tridactyl to see if it confuses them as well, but
>> >> it seems to be able to distinguish them.
>> >
>> > What does "C-h l" say about what keys Emacs received?
>>
>> It also lists them the wrong way around, so if I type C-ω it lists C-Ω
>> and vice versa.
>
> So are you sure nothing is wrong with your keyboard setup?
>
> Adding Po Lu in case he has some ideas or comments.


Yes, as I said, I tried the same shortcuts with Tridactyl to see if they
would work there, and they did. I've now changed the xkb map to type ω
and Ω through greek_omega and greek_OMEGA and Emacs keeps typing them
normally but switching them up in C-ω and C-Ω keybinds. 





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.