From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#65488: 29.1; Modifiers stack when modifier keys are remapped in x-server Date: Sat, 2 Sep 2023 09:19:36 -0700 Message-ID: References: <87lee069gi.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3608"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Johan Bengtsson , 65488@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 02 18:20:12 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qcTM3-0000ii-Nz for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Sep 2023 18:20:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qcTLl-00041d-1h; Sat, 02 Sep 2023 12:19:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qcTLk-00041L-5C for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 12:19:52 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qcTLj-0007OZ-Te for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 12:19:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qcTLt-0006oj-Ns for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 12:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Sep 2023 16:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65488 X-GNU-PR-Package: emacs Original-Received: via spool by 65488-submit@debbugs.gnu.org id=B65488.169367159726189 (code B ref 65488); Sat, 02 Sep 2023 16:20:01 +0000 Original-Received: (at 65488) by debbugs.gnu.org; 2 Sep 2023 16:19:57 +0000 Original-Received: from localhost ([127.0.0.1]:38337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcTLp-0006oL-Ds for submit@debbugs.gnu.org; Sat, 02 Sep 2023 12:19:57 -0400 Original-Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:54577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcTLk-0006nc-T4 for 65488@debbugs.gnu.org; Sat, 02 Sep 2023 12:19:54 -0400 Original-Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-50078e52537so204213e87.1 for <65488@debbugs.gnu.org>; Sat, 02 Sep 2023 09:19:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693671577; x=1694276377; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=Y6r7m613fS3X7gfwwPbw98kfe2Y0vBsCm+LSWei1k7g=; b=PgcGT14ktA5CFW3UwUav9m3kNYIkpAjYEM6eGZgBZbz5TROfZcCss7CmdPNZaycoxL 2PrJ88xKMefmX5r2rwvLY27mt7rrr28QOEkcKl65HvDwGN8sOMlyI3wyQUQeH+rv3VB/ X3O7PTonpNZ+AJjwlGgRsIxL0zSOUdeSGsnmpTEVFNNi4IaxkOLOPw38fEGBerDFqMsj Q1wLHjBVKzkQ3lW0bQ7lgOl1aY6l6K6sLu12XZ++JHlZ6eaVARwebSnnY7BmqH3FG5Tz eNRNfBDyE8j2jrMVFDa2RM9JEY5yWiHf/RrvV4TY5Nig/zfv8fbIGjGX97uS/5TO5XqI 89Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693671577; x=1694276377; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Y6r7m613fS3X7gfwwPbw98kfe2Y0vBsCm+LSWei1k7g=; b=TgSX3zU741v9noaM0dQn/sHR9rfI/4qxBbqI2KS/gPpOzEJ/J7R7vtVQvTwJKfKTMF FNWJ64Ta4wep6gO664YVddaLzghTAuFbPp4UtU/LGjinfQe+QCg+gfw87IGfNSD9M5X6 yK8sn9+h8VGYjjIVHeI97RPWU9JEzCfBuP2CsdOilHeY8ACvZtk2H1IrREoRI0/zt0eP UV3jAJ723/SsvIotOq/j65owzH80Hp2z9rX8pfYmsAsbU/gfP6M2tgJxVoHCEm5vzpa5 EaCg4mR3uy6YPMLv5EWR2Q/XdvqCIyOkfwmhSkn2W4DmbgAFLXbP5yNRMPRp9nJ0OUwp Sq/Q== X-Gm-Message-State: AOJu0YxaYgzG0I0q+VtYUh/3ZQZNcWGN0xIWRI4KDgjMEuZ1UeJyavDf +3j1/6yI93c0LFgLh7udljiNkfcaueH0kS/57g0= X-Google-Smtp-Source: AGHT+IFhjENQ2R8s45WN3CbRcAxiPLxclZXo+8p641vj/A+kefJuH+dG74gSA6zO0jGX6f1dTScZkncsXT72oykiTxo= X-Received: by 2002:a05:6512:b8e:b0:500:9b7d:ee22 with SMTP id b14-20020a0565120b8e00b005009b7dee22mr4401890lfv.60.1693671576906; Sat, 02 Sep 2023 09:19:36 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 2 Sep 2023 09:19:36 -0700 In-Reply-To: <87lee069gi.fsf@yahoo.com> (Po Lu's message of "Thu, 24 Aug 2023 18:06:21 +0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269008 Archived-At: tags 65488 notabug close 65488 thanks Po Lu writes: > Johan Bengtsson writes: > >> To reproduce: >> * Map the "windows key" to Meta_L in your x-server. Assuming the Gnome >> environment this is done using Gnome tweaks. Set Keyboard & Mouse > Additional >> Layout Options > Alt and Win behavior to "Meta is mapped to Win" >> * Start Emacs >> * Press "windows key + x" >> >> Emacs will then complain that "M-s-x" is unmapped. > > This is a bug in GNOME we've already been appraised of several times. > > Emacs now uses the XKB extension to establish the relationship between > virtual modifiers and real modifier bits within an X server, which is > capable of detecting when multiple virtual modifiers are associated with > the same modifier bit. > > You probably need to run: > > $ xmodmap > > ascertain which modifier bit is bound to Super, and remove the > extraneous virtual modifier from that bit. It seems like this is not a bug in Emacs, so I'm closing it. Thanks.