[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unable to map C-_ to undo in wsl ubuntu emacs

From: Sivaram Neelakantan
Subject: unable to map C-_ to undo in wsl ubuntu emacs
Date: Mon, 06 Sep 2021 18:39:37 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (windows-nt)

I've got Emacs-27.2 running in Emacs -nw and when I do C-_, I get RET
which I confirmed by C-h k "RET runs the command newline (found in
global-map)... compiled lisp function in 'simple.el'"

Now I try to reset to undo by doing M-x global-set-key and generating
the mapping by C-x ESC ESC which gives me

;; mapping C-_ to undo as it seems to be not recognized in some settings
(global-set-key "" 'undo)

This doesn't work and I can't figure out why C-_ is mapped to undo in
simple.el in one OS (win64) and RET in WSL ubuntu terminal Emacs simple.el.

How should I go about fixing this please?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]