GNU bug report logs - #51001
28.0.50; [feature/pgtk] Wrong modifier used as meta with pgtk

Previous Next

Package: emacs;

Reported by: Tom Hughes <tom <at> compton.nu>

Date: Mon, 4 Oct 2021 10:36:02 UTC

Severity: normal

Tags: notabug

Found in version 28.0.50

Full log


View this message in rfc822 format

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Tom Hughes <tom <at> compton.nu>
Cc: Po Lu <luangruo <at> yahoo.com>, Lars Ingebrigtsen <larsi <at> gnus.org>, 51001 <at> debbugs.gnu.org
Subject: bug#51001: 28.0.50; [feature/pgtk] Wrong modifier used as meta with pgtk
Date: Sun, 3 Sep 2023 01:41:32 -0700
tags 51001 - moreinfo
tags 51001 + notabug
thanks

Tom Hughes <tom <at> compton.nu> writes:

> On 13/09/2022 03:32, Po Lu wrote:
>> Tom Hughes <tom <at> compton.nu> writes:
>>
>>> This still seems to happen on master, yes.
>> The Wayland compositor does not respect modifier mappings set in the
>> Xwayland server.  GTK 3 has lost the concept of a separate "Meta"
>> modifier, so there is no way to achieve what you want on PGTK.
>> And probably on Wayland in general, I think.
>
> So I think I have found a way to get what I want, because I don't
> actually care about a meta key, but I use A-letter for all my main
> short cuts. Fortunately this works:
>
> (setq x-meta-keysym 'alt)
>
> I did try changing my A-letter shortcuts to M-letter but that winds
> up breaking ESC x as M-x which is the one thing I do use.

Is it worth documenting this trick somewhere?  Po Lu, what do you think?

Other than that, I guess this is not a bug in Emacs.




This bug report was last modified 169 days ago.

Previous Next


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