all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: unable to map C-_ to undo in wsl ubuntu emacs
Date: Mon, 06 Sep 2021 15:49:34 +0200	[thread overview]
Message-ID: <87mtopolu9.fsf@zoho.eu> (raw)
In-Reply-To: 85eea1df5a.fsf@gmail.com

Sivaram Neelakantan wrote:

> 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'"

If it says it is RET then setting it sets RET as well.

But I get "C-_ is undefined" so something is different
between us.

A terminal emulator issue, perhaps?

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

Good idea for a shortcut, I have M-0 run `undo'. Much better
than before, the left thumb just goes from SPC to Meta and the
left ring finger straight up to 0, so both minimal or very
close/short movements and equally easy to reset/get back to
asdf/jkl;.

-- 
underground experts united
https://dataswamp.org/~incal




  reply	other threads:[~2021-09-06 13:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mtopolu9.fsf@zoho.eu \
    --to=help-gnu-emacs@gnu.org \
    --cc=moasenwood@zoho.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.