From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: unable to map C-_ to undo in wsl ubuntu emacs Date: Mon, 06 Sep 2021 18:37:31 +0300 Message-ID: <83zgspr9z8.fsf@gnu.org> References: <85eea1df5a.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20671"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 06 17:37:52 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mNGgy-0005FA-ER for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 06 Sep 2021 17:37:52 +0200 Original-Received: from localhost ([::1]:36758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNGgx-00051N-96 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 06 Sep 2021 11:37:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNGgW-00050z-Hw for help-gnu-emacs@gnu.org; Mon, 06 Sep 2021 11:37:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43212) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNGgW-0006OJ-A0 for help-gnu-emacs@gnu.org; Mon, 06 Sep 2021 11:37:24 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1696 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNGgV-00032l-T5 for help-gnu-emacs@gnu.org; Mon, 06 Sep 2021 11:37:24 -0400 In-Reply-To: <85eea1df5a.fsf@gmail.com> (message from Sivaram Neelakantan on Mon, 06 Sep 2021 18:39:37 +0530) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132925 Archived-At: > From: Sivaram Neelakantan > Date: Mon, 06 Sep 2021 18:39:37 +0530 > User-Mail-Address: nsivaram.net@gmail.com > > 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'" What terminal emulator are you using? Does that terminal emulator have some settings, where perhaps you can configure what it sends given a certain control key?