From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: hw Newsgroups: gmane.emacs.help Subject: Re: vterm and Meta? Date: Wed, 02 Aug 2023 16:21:19 +0200 Message-ID: References: <83089d3fe2e4d5cf3369d7831a88877002a21557.camel@adminart.net> <85451979-85a8-033d-6148-18f5394edac7@gmail.com> <84a152e2-2332-9a18-3bd6-51b08ea4e6a1@gmail.com> 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="32046"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 02 16:22:03 2023 Return-path: Envelope-to: geh-help-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 1qRCji-000853-Jy for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 02 Aug 2023 16:22:02 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qRCjB-0007fA-K4; Wed, 02 Aug 2023 10:21:29 -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 1qRCj9-0007es-Jz for help-gnu-emacs@gnu.org; Wed, 02 Aug 2023 10:21:27 -0400 Original-Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qRCj6-00070A-DR for help-gnu-emacs@gnu.org; Wed, 02 Aug 2023 10:21:26 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1690986079; cv=none; d=strato.com; s=strato-dkim-0002; b=o1Z7XDmQ2Y+nf4lupEUA236Dah4Uz/W29KzkArX830zm8+T0QwnNxNmalFLddJDwmB tVPyuhj+kvdFPMXkY+GHxVsCxrY8MVpj7dENHxVuZ3SFAz1tqIOQ1ylYbWrVmXCOUuPc qOWRvyG3svmBY4LRDPVdJMVxfyPcjSyEXQhFJVLpslsQRPPWvwTYK9VY2uWLKL0aqg37 zEFSJvuI1YrRz0eiumB19PWOxDV9JCuUNgdHPYZKjbChy69LQzEP0k6/NXbmu8Hr82iK MLUdj97sZB0SByXq3kYpWIHROY7kAeI29NdcgznpUjK6+7qQ8FjMpS+vUvBs5Ze8tOo0 F26Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1690986079; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Date:To:From:Subject:Message-ID:Cc:Date:From: Subject:Sender; bh=P2CPQs3RvlEc7SgHWbAkUHUAKiNeBrgbFf8enm/6EVs=; b=UgNUm3Bk4FNt3ObwMUJdBJm7oeDvj3RclEznrCteUeK0bKXwyiqT74kbiQ22JLSx3V 4y2bJ7ruJAyu5AmOtSpkSRRTRA7LoM3oINtEf29pVbWbg3q5i8vLqMy/jTdNoweaFynE QKdyYZ0PWcV+C7XBIje/92APCKQxxrYPGna3CNrFGpuUvAzItGfx7vqxzhZBlc81Izz1 XFFNtl6gTdCFCYADkkPDudZa5RdnnLTaB+B3rI8sTnA//p+HjgA8n8chg0W0zMXS9Oef IZh2xX/n3oFZVcnHaK+4IyWfe1ym/zzwar6nCL00uIzhcN5bcQ7rFx7S3sxIY92kp8z+ 3vmA== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1690986079; s=strato-dkim-0002; d=adminart.net; h=References:In-Reply-To:Date:To:From:Subject:Message-ID:Cc:Date:From: Subject:Sender; bh=P2CPQs3RvlEc7SgHWbAkUHUAKiNeBrgbFf8enm/6EVs=; b=jejX9l69DElI+xz4AyoffAVtGTBgIniMA6TZXChs8lgssTxNjiFtdvXcOOEWb2RZbS kF/4WxeTpHGmn+vc1p1T0EOjBC4ZSX1A/Dcx2+jTkd+XNkN14gVIXF6+tIQsdmQi2phS i1fu7hwINOOIGV/QT6T3bfcq+fsf52aBQ7VdgNe0Ly8R5luuDlpSKNXQe6zxZq1cNKfL k4B5MnG/3GM3DcgyZZGP3ZIR+/AqME8LMdQkvoYUmzwxVIWaZm5NFOBi5lMSIZFd8Ir7 DsJ4qF9kR5RaCZNKkgLjCgTkV5X70bUtLCrsHiqqDUN6+1AAv6QKejlkNs7oJC3p09Lr 0PZw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1690986079; s=strato-dkim-0003; d=adminart.net; h=References:In-Reply-To:Date:To:From:Subject:Message-ID:Cc:Date:From: Subject:Sender; bh=P2CPQs3RvlEc7SgHWbAkUHUAKiNeBrgbFf8enm/6EVs=; b=KFtuxuROSkV+MpBlC221CqKzaorw+ThwGI8lzk2EQIZYOTmBOccs1zYJu5dMxCzAzL rUAsy9kLGHnrPoM5VeCA== X-RZG-AUTH: ":O2kGeEG7b/pS1Ey9Rna9iAZFrfz26y6zbtmqiE/f0+UVPWzfkhbRoUzSCTTNnjIupuXQshKqSG7HgphPv/kc/dDCBue7QbO8Ot8tMQ4ROoW/Jfcy" Original-Received: from [IPv6:2a09:8e40:1122:f400:1bce:578a:5a31:4362] by smtp.strato.de (RZmta 49.6.6 AUTH) with ESMTPSA id Qbac0bz72ELJbgm (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for ; Wed, 2 Aug 2023 16:21:19 +0200 (CEST) In-Reply-To: Received-SPF: none client-ip=85.215.255.20; envelope-from=hw@adminart.net; helo=mo4-p00-ob.smtp.rzone.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:144548 Archived-At: On Wed, 2023-08-02 at 07:54 +0000, Thibaut Verron wrote: > > With -Q ... with -q, it says "x is undefined" in the message buffer. > That is... extremely strange. What do you expect to happen? > What about C-h k x ? emacs -Q: x runs the command self-insert-command emacs -q: x is undefined > What is your operating system, emacs version, etc? Fedora Workstation 38 # emacs --version GNU Emacs 30.0.50 Development version 19777b7c864f on master branch; build date 2023-07-30. I compiled it the other day following [1] because I wanted a version that works with wayland. So far, it works fine :) [1]: https://github.com/NapoleonWils0n/cerberus/blob/master/fedora/emacs-bu= ild-fedora.org > Does the alt key on your keyboard work in other programs? Yes, when I look at the display of the keyobard layout in gnome that you can display through Settings, it shows the Alt key pressed. Now I tried Libreoffice calc and it doesn't seem to work as expected. When I press Ctrl+Alt+C, using the *left* Alt key, it looks as if the cell was copied. Using the *right* Alt key for Ctrl+Alt+C brings up a yellowish window which is probably what should happen because Ctrl+Alt+C is supposed to insert a comment. Oh, interestingly, pressing Alt-x in Emacs does work when I use the *right* Alt key! That's something new! > If you are on X, can you use xev to confirm that it sends the correct key= code? I could switch back to see what it sends, but since I want to use wayland, there isn't much point ... When I start xev in vterm in emacs in wayland, it says KeyPress event, serial 38, synthetic NO, window 0xe00001, root 0x378, subw 0x0, time 44020369, (3073,685), root:(3123,812), state 0x10, keycode 64 (keysym 0xfe03, ISO_Level3_Shift), same_screen Y= ES, XLookupString gives 0 bytes:=20 XmbLookupString gives 0 bytes:=20 XFilterEvent returns: False KeyRelease event, serial 38, synthetic NO, window 0xe00001, root 0x378, subw 0x0, time 44020562, (3073,685), root:(3123,812), state 0x90, keycode 64 (keysym 0xfe03, ISO_Level3_Shift), same_screen Y= ES, XLookupString gives 0 bytes:=20 XFilterEvent returns: False for *left* Alt and KeyPress event, serial 38, synthetic NO, window 0xe00001, root 0x378, subw 0x0, time 44174354, (159,-25), root:(209,102), state 0x10, keycode 108 (keysym 0xffea, Alt_R), same_screen YES, XLookupString gives 0 bytes:=20 XmbLookupString gives 0 bytes:=20 XFilterEvent returns: False KeyRelease event, serial 38, synthetic NO, window 0xe00001, root 0x378, subw 0x0, time 44174482, (159,-25), root:(209,102), state 0x18, keycode 108 (keysym 0xffea, Alt_R), same_screen YES, XLookupString gives 0 bytes:=20 XFilterEvent returns: False for *right* Alt. I guess it should say Alt_L for *left* Alt. So at least that's interesting --- but how do I get the left Alt key to work right? I haven't been able to find out how to change keyboard layouts with wayland. There must be some place where they are defined because there is many premade keyboard layouts I can pick from for all kinds of different languages.