all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* unable to map C-_ to undo in wsl ubuntu emacs
@ 2021-09-06 13:09 Sivaram Neelakantan
  2021-09-06 13:49 ` Emanuel Berg via Users list for the GNU Emacs text editor
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Sivaram Neelakantan @ 2021-09-06 13:09 UTC (permalink / raw)
  To: help-gnu-emacs

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 "\x1f" '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?

sivaram
-- 




^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-09-14 15:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-06 13:09 unable to map C-_ to undo in wsl ubuntu emacs Sivaram Neelakantan
2021-09-06 13:49 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-06 15:37 ` Eli Zaretskii
2021-09-06 17:29   ` Sivaram Neelakantan
2021-09-06 18:37     ` Eli Zaretskii
2021-09-10  6:22       ` Sivaram Neelakantan
2021-09-10  7:03         ` Eli Zaretskii
2021-09-10 12:30           ` Sivaram Neelakantan
2021-09-12  4:48           ` Sivaram Neelakantan
2021-09-12  6:28             ` Eli Zaretskii
2021-09-14 15:28               ` Sivaram Neelakantan
2021-09-12 14:29 ` Ken Goldman
2021-09-14 15:30   ` Sivaram Neelakantan

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.