TeXmacs not recognizing Meta Key on Windows 10 keyboard

Hi,
From what I understand the Meta key is supposed to be the Windows key on a Windows computer.
I can’t figure out what I’m doing wrong, but TexMacs is not recognizing the Meta key.

I’ve tried changing the edit->preferences keyboard options to no avail.
I would like to right align some line items in an equation using the keyboard shortcuts.

Would anyone know what to do?

2 Likes

Please try the esc key (on Windows).

1 Like

thank you, it worked.

For this issue, can we change emacs:meta from meta to altcmd?

Hi pireddag, I have the same question and find your answer.

My intended solution is to map WIN key to META key, is it possible by adding one line in somewhere like ~/.TeXmacs/progs/my-init-texmacs.scm? And what is the correct code?

Best,
JW

Sorry, I don’t know how to do that off the top of my head. Let us see if someone knows immediately. If not, we may try to figure it out.

Try Mogan v1.0 beta:

Here is the pull request I made to change the default meta key:

Emacs is also using Alt as meta key on Windows.

And Mogan can be used along with GNU TeXmacs. It is a GNU TeXmacs distribution.

1 Like

Thank you @darcy
According to your modification given in https://github.com/XmacsLabs/mogan/commit/e4fb307f4941696c2d6ea1d4979ba6d1e742d44d, I’ve successfully remapped meta key to alt key.

This does not solve all the issues. In Mogan (v1.2.9) by default there are multiple shortcuts that are of the form Meta+Alt+???. These shortcuts do not work anymore. Furthermore, the shortcut Meta+Ctrl+Up does not get activated when one presses Alt+Ctrl+Up.

Yes. See

Actually, I didn’t swap the Alt key and Meta key for all prefix key. I just swapped it for some of the prefix key.