From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: something is eating C-M-x Date: Mon, 22 Nov 2021 06:20:38 -0800 Message-ID: <86zgpwnufd.fsf@stephe-leake.org> References: <865ysloz73.fsf@stephe-leake.org> <874k85m3om.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6257"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt) Cc: emacs-devel@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 22 15:21:40 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mpACS-0001Ti-Cm for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Nov 2021 15:21:40 +0100 Original-Received: from localhost ([::1]:39304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpACQ-0004UW-H3 for ged-emacs-devel@m.gmane-mx.org; Mon, 22 Nov 2021 09:21:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpABc-0003io-Sk for emacs-devel@gnu.org; Mon, 22 Nov 2021 09:20:51 -0500 Original-Received: from alt-proxy16.mail.unifiedlayer.com ([70.40.197.35]:35220 helo=gproxy9-pub.mail.unifiedlayer.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpABa-0001Jy-9F for emacs-devel@gnu.org; Mon, 22 Nov 2021 09:20:48 -0500 Original-Received: from cmgw13.mail.unifiedlayer.com (unknown [10.0.90.128]) by gproxy9.mail.unifiedlayer.com (Postfix) with ESMTP id 6387E8028689 for ; Mon, 22 Nov 2021 14:20:41 +0000 (UTC) Original-Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with ESMTP id pABVmlazQoTT8pABVmij9Z; Mon, 22 Nov 2021 14:20:41 +0000 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.4 cv=LMCj/La9 c=1 sm=1 tr=0 ts=619ba739 a=dWLzHQi6WpdymmZIwiVdBw==:117 a=dWLzHQi6WpdymmZIwiVdBw==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=IkcTkHD0fZMA:10:nop_charset_1 a=vIxV3rELxO4A:10:nop_rcvd_month_year a=vvvmwbhNdt4A:10:endurance_base64_authed_username_1 a=9i_RQKNPAAAA:8 a=eh1Yez-EAAAA:8 a=B6sITN_x93U3fCR_4OIA:9 a=QEXdDO2ut3YA:10:nop_charset_2 a=hqnlY9SSy_kA:10:uccc_2email_address a=G7bPjjVrDk4A:10:demote_hacked_domain_1 a=CD8YFy1Dq44A:10:demote_hacked_domain_2 a=Ev4oQ7kfJBNsvnoXShoW:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=stephe-leake.org; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=1PN/uePPsRHVmae/SUbdFyeuU04az0v38CtTCnX0gA8=; b=jlZ7/PEpCq6gMCElPrnfYE/IfD LQCMD3+OPIQP+t8+8Qk4tcZ0oCHtmwX4VrC4aJCxcKXm4lIL9+O4oXAlEvi7g2W7dbjxeF8HrNcEB omk1Q/k59VF23dEan7jzEIagLMuny6DlE1BIAmAmM+6D11qQQCCFvdPTPHE65kkGK+vHxOu5JQN7h 90f+KCU0hM1gJhoZMoBUIJRy+Vz7HPiX+eutNnzACgcVfbkpgA6x2cowSDflVYTDoKV71rjBqGdNB 5RpBu1bmSsubqLYvKJA+OgczC83x0fcdMqoOpytRarS2J1n/kU8om9DmsFRjUkLT/zqGeTuNGQz02 mdD//rgg==; Original-Received: from 192-184-171-126.fiber.dynamic.sonic.net ([192.184.171.126]:57517 helo=Takver4) by host2007.hostmonster.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mpABU-002X5q-Vl; Mon, 22 Nov 2021 07:20:41 -0700 In-Reply-To: <874k85m3om.fsf@telefonica.net> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Mon, 22 Nov 2021 01:31:21 +0100") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host2007.hostmonster.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stephe-leake.org X-BWhitelist: no X-Source-IP: 192.184.171.126 X-Source-L: No X-Exim-ID: 1mpABU-002X5q-Vl X-Source-Sender: 192-184-171-126.fiber.dynamic.sonic.net (Takver4) [192.184.171.126]:57517 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 2 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes Received-SPF: pass client-ip=70.40.197.35; envelope-from=stephen_leake@stephe-leake.org; helo=gproxy9-pub.mail.unifiedlayer.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:279914 Archived-At: =C3=93scar Fuentes writes: > Stephen Leake writes: > >> I've just installed a new VMWare virtual machine on my Windows box to >> run Debian. >> >> Something is eating C-M-x, so Emacs doesn't see it. Very frustrating >> when trying to redefine elisp functions! >> >> I'm using the LXDE window manager, and I've checked >> ~/.config/openbox/lxde-rc.xml; that does not define C-A-x. >> >> I've searched in various ways for "hotkeys" and similar terms, but have >> not found what the problem is. >> >> Any hints? >> >> Is there some X debug program that shows how key events are handled? > > See xev That shows that C-M-x is being eaten by something; it generates a KeymapNotify event for the root window, while C-M-s (for example) generates the expected KeyPress and KeyRelease events. The docs for setxkbmap hints that perhaps C-M-x is being used to change between keyboard maps, but "setxkbmap -query" says that's not it. So there must be some other lowlevel keyboard event mapping going on, by Debian or something. > But maybe Vmware itself is eating C-M, which IIRC by default is used for > releasing keyboard+mouse input. VMWare does use C-M when not followed by another key to switch to the host, but C-M- works normally; I use C-M-up to switch windows in Emacs, for example. > See menu Edit -> Preferences -> Hotkeys. That apparently shows the content of the section of ~/.config/openbox/lxde-rc.xml, which I mentioned above; it is an easier way to see what that file is doing. It does not show a mapping for C-A-x. > You can remap that key combination or use a special shortcut for > passing C-M to the guest OS. Search the 'net for "vmware workstation > control-alt". I found this page: https://docs.vmware.com/en/VMware-Workstation-Player-for-Windows/16.0/com.v= mware.player.win.using.doc/GUID-974B0CC8-B082-4D56-9758-E74D25DDBCD1.html Which says that no C-A-key should work, which is simply wrong. --=20 -- Stephe