From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: master d94ab49: Fix bootstrap after recent undo-redo change Date: Thu, 30 Sep 2021 14:04:28 +0300 Message-ID: References: <20210930045926.19123.16914@vcs0.savannah.gnu.org> <20210930045927.6B4CA20D1E@vcs0.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35033"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 To: emacs-devel@gnu.org, dickmao Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 30 13:06:30 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 1mVttV-0008vc-Ef for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Sep 2021 13:06:29 +0200 Original-Received: from localhost ([::1]:41346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVttU-0005Kz-7Q for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Sep 2021 07:06:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVtrg-0004EK-GV for emacs-devel@gnu.org; Thu, 30 Sep 2021 07:04:36 -0400 Original-Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:39459) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVtre-0001qd-Gt for emacs-devel@gnu.org; Thu, 30 Sep 2021 07:04:36 -0400 Original-Received: by mail-lf1-x133.google.com with SMTP id i25so23586963lfg.6 for ; Thu, 30 Sep 2021 04:04:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=xCXXjDTyccIGQxTJ/UDCKm2pg5CnVdPDwjmKnMhINM4=; b=BTsZJnmwizRxORDqx/gBbg3/vaFqS2NRp7LOupEJcVdEf3uIPJm/sgK07Wl0rWaJlw cMaWYek5eurni3lfwymLpKlbtTJl2Z1MDCq1aUoG3KrivUsBjWIKdpND2bXeqbmllZfh 0+SyA42+HCxx+zmhTXK+iSz1PLNu8YtebPUhKBeWXFORjbeW/glsfcRuyCPkHFb1pfiw 2QYno/C6oHSMkGU5qnRQtswxy4q0+riH0/pEt5yOcFFrcyzEl8nuv2717Imp20lXKBbF o8sMGZFuZpeaRC2/p2osjZHADdEDgWFZWOZHSzU0eRY0vZkPmMKkxJw0EM7GdAKnnPZX mgGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=xCXXjDTyccIGQxTJ/UDCKm2pg5CnVdPDwjmKnMhINM4=; b=f3MvRqCn2wZGTJYY3EjCY1twKUCiiX536bZOzFQ+d5wTwqKDs9hUKqZ49pgorr9Fel IgAlUd6vvKjdBWu+yhn8fbLj5J97Wuz+9gBEj3yI5u4O8Eksamsu4A5CjXqUK0X8605X RCf8VIoM/89xtrLKrO+mGefNVB9RuN+rvHjTsi8fyzqufmtvtttkJ6PClrVFsGzfsr+g aVZsz8S7hQShq0RQNUyfRsmqMoHdIJ40h8/y1LSiBCSoLQYR7Vx84YCP/vLM2lpvKpmu b3g0K8D3pdcCiy6NztMbaLolzMxJUkGnZBU/fBwDes9ZMmhRpgAv38nF7u5RBeifQv48 igwA== X-Gm-Message-State: AOAM532PPCmrkgRV+GYiJb0Q0/+BpOlzJurJYbSueY8Hg3VuDGZOPHw4 yelxcMqIKaNu9Mt58u3Wzgh62w1T4uXI0g== X-Google-Smtp-Source: ABdhPJxq31XlX59CBnB0ACAhWLpGPL7Cu28iXKW7gu4B4LyqLSfD+has+XTcGNCKh2FpIWy1e1zmXQ== X-Received: by 2002:a05:651c:21b:: with SMTP id y27mr5184445ljn.489.1632999870041; Thu, 30 Sep 2021 04:04:30 -0700 (PDT) Original-Received: from [192.168.43.35] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id w14sm312713ljw.73.2021.09.30.04.04.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Sep 2021 04:04:29 -0700 (PDT) In-Reply-To: <20210930045927.6B4CA20D1E@vcs0.savannah.gnu.org> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::133; envelope-from=raaahh@gmail.com; helo=mail-lf1-x133.google.com X-Spam_score_int: -29 X-Spam_score: -3.0 X-Spam_bar: --- X-Spam_report: (-3.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-3.03, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:275870 Archived-At: 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.