unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Eli Zaretskii <eliz@gnu.org>
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 20:06:09 +0300	[thread overview]
Message-ID: <4da89f44-04ce-9abe-27b2-ba75d7180b14@yandex.ru> (raw)
In-Reply-To: <835yuiguir.fsf@gnu.org>

On 30.09.2021 14:41, Eli Zaretskii wrote:
>> 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.

Thanks! It's working now.



      reply	other threads:[~2021-09-30 17:06 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
2021-09-30 17:06       ` Dmitry Gutov [this message]

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=4da89f44-04ce-9abe-27b2-ba75d7180b14@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=eliz@gnu.org \
    --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).