From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#70139: [PATCH] Improve key-translate to support removing translations Date: Tue, 09 Apr 2024 08:57:13 -0400 Message-ID: References: <87v850t7nz.fsf@gmail.com> <20240402190246.1824023-1-charmitro@posteo.net> <68b807b9-1fa4-4430-87f4-e684a50f0bbe@posteo.net> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8171"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 70139@debbugs.gnu.org To: Charalampos Mitrodimas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 09 14:58:17 2024 Return-path: Envelope-to: geb-bug-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 1ruB3I-0001wr-P4 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Apr 2024 14:58:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ruB30-0004l1-2u; Tue, 09 Apr 2024 08:57:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ruB2x-0004jj-Pj for bug-gnu-emacs@gnu.org; Tue, 09 Apr 2024 08:57:55 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ruB2x-0001M2-Gi for bug-gnu-emacs@gnu.org; Tue, 09 Apr 2024 08:57:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ruB34-0008Hy-6x for bug-gnu-emacs@gnu.org; Tue, 09 Apr 2024 08:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Apr 2024 12:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70139 X-GNU-PR-Package: emacs Original-Received: via spool by 70139-submit@debbugs.gnu.org id=B70139.171266745331824 (code B ref 70139); Tue, 09 Apr 2024 12:58:02 +0000 Original-Received: (at 70139) by debbugs.gnu.org; 9 Apr 2024 12:57:33 +0000 Original-Received: from localhost ([127.0.0.1]:48629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ruB2b-0008HE-CH for submit@debbugs.gnu.org; Tue, 09 Apr 2024 08:57:33 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:38274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ruB2Y-0008Gx-11 for 70139@debbugs.gnu.org; Tue, 09 Apr 2024 08:57:31 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 93E374420F5; Tue, 9 Apr 2024 08:57:15 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1712667434; bh=vHRdvI+lguiOGoySEArYi3WGPPEmCIP7PM0UBp8CeJw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=QppwLIkMTIYayXn4Gvkp5Wzv93GHftDppuWaJu/3CX6SJ5lBPidq0FDjdfZpn/Zbg mkaFymwE0NdJJMXCxoDxE0k3PXqq4y7KM+8u8CNrzDj4CGSxZaYVBzcVpNqo795DII P6uhS9FPVAnl2VTuR5i2ZJuWbVK7HaA1RX42qHaq4VAkCjKnk76cR4jnML/Ul1xt3c cWQ5vYmrmTCB72kb6U8fJbx1GezBa0Qyv+7wQKJSA4XQKiDAQs1y2v8ponQutRkWw0 r3jGVki7/dUWdjOyuzQzalV6rGGyPSWK1Km8fKnp4WCLL10UJ55dKft3m1Eb0HjJgf Jlawzl+Zj7TzA== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 5DDDD44213C; Tue, 9 Apr 2024 08:57:14 -0400 (EDT) Original-Received: from pastel (unknown [45.72.201.215]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 3A44B12080A; Tue, 9 Apr 2024 08:57:14 -0400 (EDT) In-Reply-To: <68b807b9-1fa4-4430-87f4-e684a50f0bbe@posteo.net> (Charalampos Mitrodimas's message of "Tue, 9 Apr 2024 11:14:34 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282989 Archived-At: > - (lambda (form) (keymap--compile-check from to) form))) > + (lambda (form) (keymap--compile-check from (if to to nil)) form))) ^^^^^^^^^^^^^^ ?? Just like (and to to), this is just a complicated way to say `to`. What is the underlying idea? Stefan