Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keybinding in french layout #11041

Closed
1 of 2 tasks
XL64 opened this issue Jan 18, 2024 · 5 comments
Closed
1 of 2 tasks

Keybinding in french layout #11041

XL64 opened this issue Jan 18, 2024 · 5 comments

Comments

@XL64
Copy link

XL64 commented Jan 18, 2024

Windows Version

Microsoft Windows [version 10.0.22631.3007]

WSL Version

2.0.9.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.133.1-microsoft-standard-WSL2

Distro Version

Ubuntu 22.04

Other Software

When trying to undo things (Ctrl + underscore) inside emacs -nw I get the delete behaviour (previous char is deleted).
shokey show also that the ket send is not C-_ but ^?:

 showkey -a

Press any keys - Ctrl-D will terminate this program

^?      127 0177 0x7f
^D        4 0004 0x04

Repro Steps

Run wsl with french keyboard layout
Start emacs -nw
go to scratch buffer (C-x b return)
write some text
move cursor in the middle of the text
hit C-_
the char before prompt is deleted instead of last written one

Expected Behavior

C-_ should correspond to undo

Actual Behavior

C-_ correspond to delete

Diagnostic Logs

No response

@XL64
Copy link
Author

XL64 commented Jan 18, 2024

Have seen another issue with indian layout that was adresses to windows terminal but that occurs with all terminal windows native I tested (microsoft/terminal#11194).
It does not happen with emacs graphical or ubuntu graphical terminal (terminator installed via apt-get)

@XL64
Copy link
Author

XL64 commented Feb 29, 2024

Any news/comment on that ?

@OneBlue
Copy link
Collaborator

OneBlue commented Mar 13, 2024

This issue is related to emacs configuration. WSL doesn't have control over emacs' behavior

@OneBlue OneBlue closed this as completed Mar 13, 2024
@XL64
Copy link
Author

XL64 commented Apr 5, 2024

No it's not. shokeys -a show the same issue with no link to emacs configuration and same emacs working correctly within native linux terminal or in graphic mode. All windows native terminal I tested are affected.

@OneBlue could you reopen this issue has I really think it is a WSL issue with french keyboard layout (try showkeys -a using french layout and hit C - _. Other people working with me can reproduce it also).

@XL64
Copy link
Author

XL64 commented Jun 13, 2024

Sorry for that it seems to be a Terminal issue which was solved in 1.20 (microsoft/terminal#8458).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants