unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: none@savannah.gnu.org, emacs-devel@gnu.org
Subject: Re: master d94ab49: Fix bootstrap after recent undo-redo change
Date: Thu, 30 Sep 2021 14:41:48 +0300	[thread overview]
Message-ID: <835yuiguir.fsf@gnu.org> (raw)
In-Reply-To: <be932dcf-8f74-6fae-6e25-4002568c54d8@yandex.ru> (message from Dmitry Gutov on Thu, 30 Sep 2021 14:04:28 +0300)

> From: Dmitry Gutov <dgutov@yandex.ru>
> 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.



  parent reply	other threads:[~2021-09-30 11:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210930045926.19123.16914@vcs0.savannah.gnu.org>
     [not found] ` <20210930045927.6B4CA20D1E@vcs0.savannah.gnu.org>
2021-09-30 11:04   ` master d94ab49: Fix bootstrap after recent undo-redo change Dmitry Gutov
2021-09-30 11:33     ` Andreas Schwab
2021-09-30 11:35     ` dick
2021-09-30 11:41     ` Eli Zaretskii [this message]
2021-09-30 17:06       ` Dmitry Gutov

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=835yuiguir.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=none@savannah.gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).