[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vterm and Meta?
From: |
hw |
Subject: |
Re: vterm and Meta? |
Date: |
Wed, 02 Aug 2023 16:21:19 +0200 |
User-agent: |
Evolution 3.48.4 (3.48.4-1.fc38) |
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-build-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 keycode?
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 YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
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 YES,
XLookupString gives 0 bytes:
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:
XmbLookupString gives 0 bytes:
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:
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.
- Re: vterm and Meta?, (continued)
- Re: vterm and Meta?, Thibaut Verron, 2023/08/01
- Re: vterm and Meta?, hw, 2023/08/01
- Re: vterm and Meta?, Thibaut Verron, 2023/08/01
- Re: vterm and Meta?, hw, 2023/08/01
- Re: vterm and Meta?, Thibaut Verron, 2023/08/02
- Re: vterm and Meta?,
hw <=
- Re: vterm and Meta?, hw, 2023/08/02
- Re: vterm and Meta?, Yuri Khan, 2023/08/02
- Re: vterm and Meta?, hw, 2023/08/03
- Re: vterm and Meta?, tpeplt, 2023/08/03
- Re: vterm and Meta?, hw, 2023/08/03
- Re: vterm and Meta?, tpeplt, 2023/08/03
- Re: vterm and Meta?, hw, 2023/08/04
- Re: vterm and Meta?, PierGianLuca, 2023/08/04
- Re: vterm and Meta?, hw, 2023/08/06
- Re: vterm and Meta?, PierGianLuca, 2023/08/06