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.devel Subject: Re: master d94ab49: Fix bootstrap after recent undo-redo change Date: Thu, 30 Sep 2021 14:41:48 +0300 Message-ID: <835yuiguir.fsf@gnu.org> References: <20210930045926.19123.16914@vcs0.savannah.gnu.org> <20210930045927.6B4CA20D1E@vcs0.savannah.gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24003"; mail-complaints-to="usenet@ciao.gmane.io" Cc: none@savannah.gnu.org, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 30 13:43:00 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mVuSp-00060s-T9 for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Sep 2021 13:42:59 +0200 Original-Received: from localhost ([::1]:40854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVuSo-0003kQ-3Y for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Sep 2021 07:42:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVuRZ-00024p-3W for emacs-devel@gnu.org; Thu, 30 Sep 2021 07:41:41 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41430) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVuRX-000179-Uq; Thu, 30 Sep 2021 07:41:40 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1337 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 1mVuRX-0008Da-IT; Thu, 30 Sep 2021 07:41:39 -0400 In-Reply-To: (message from Dmitry Gutov on Thu, 30 Sep 2021 14:04:28 +0300) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:275877 Archived-At: > From: Dmitry Gutov > Date: Thu, 30 Sep 2021 14:04:28 +0300 > > On 30.09.2021 07:59, Lars Ingebrigtsen wrote: > > -(define-key global-map (kbd "C-?") 'undo-redo) > > +(define-key global-map "\C-?" 'undo-redo) > > Sorry about the breakage. > > But "\C-?" and (kbd "C-?") are not the same: the former evaluates to a > string containing the DEL char. > > The latter returns something like [67108927], and that's how we avoided > trying to bind 'undo-redo' to Backspace. This binding only works in GUI > Emacs, of course. Right. I tried to fix this, please test.