From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#71648: 30.0.50; Allow which-key to report on translation bindings Date: Wed, 19 Jun 2024 17:16:01 +0200 Message-ID: <874j9px8su.fsf@gmail.com> References: <87plsdxhnw.fsf@gmail.com> <867celoz4q.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3912"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71648@debbugs.gnu.org, Eli Zaretskii , Jeremy Bryant To: Justin Burkett Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 19 17:18:12 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 1sJx4e-0000og-4Y for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jun 2024 17:18:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJx4U-0002W0-HO; Wed, 19 Jun 2024 11:18:02 -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 1sJx4R-0002Vq-TT for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2024 11:18:00 -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 1sJx4R-00047b-Dw for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2024 11:17:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sJx4U-0004Rk-Dc for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2024 11:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jun 2024 15:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71648 X-GNU-PR-Package: emacs Original-Received: via spool by 71648-submit@debbugs.gnu.org id=B71648.171881023416987 (code B ref 71648); Wed, 19 Jun 2024 15:18:02 +0000 Original-Received: (at 71648) by debbugs.gnu.org; 19 Jun 2024 15:17:14 +0000 Original-Received: from localhost ([127.0.0.1]:48042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJx3i-0004Pv-BM for submit@debbugs.gnu.org; Wed, 19 Jun 2024 11:17:14 -0400 Original-Received: from mail-wm1-f52.google.com ([209.85.128.52]:44419) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJx3g-0004Pb-1E for 71648@debbugs.gnu.org; Wed, 19 Jun 2024 11:17:12 -0400 Original-Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-4217a96de38so48711675e9.1 for <71648@debbugs.gnu.org>; Wed, 19 Jun 2024 08:17:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718810163; x=1719414963; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=BbkiOhRa9p5hVgg2X36I1Hytw5UJMBJKKeJBtP1Re7o=; b=FuBDig8+pr42PgTRUDx1OaxEMa3TgeayUQMZKkxj06tUwtg76kF0LaRYjMvLAKwf18 +U/kDTd/xPcB2fgrill4HwMLfU44RTCcQqnl4BEZCnW/gLo5gnWsirclKTORvdVQXpOj QCp7EuaiHM/z1qi6MDCWVexExs7xoHGtlm7FF4mOa96fRg9lF0xcqW9XE6hnLEqFXk5O pn5sJYpqtELEzx2vFcxBOedf2avqIzoxrsvz2oZDeLQhfHEhsXpvqMPbO9inU7ItKj53 yk3HdHwxucsIyXxuVr2ke8kJlQCcLaJoKIMuY52r/AvNfyzQjsFcLqrOrj8c+TX3H5ej w9Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718810163; x=1719414963; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BbkiOhRa9p5hVgg2X36I1Hytw5UJMBJKKeJBtP1Re7o=; b=pSBvvcD3UIAs5rB7Tgj7BoHHC4OFSvmp8t7p25mLsbSHRlQIOQw1nUOVmsYGm1gmJh nC8TCPZorx7+cuDyPI+fxrlKvJRTcZYOvBFA9o5SzifvQwxJBZ366PzU5kiDUW27Ohnq xsxOqkwbip+BYUGagUFaTPsE1SqR2RJRqdatNcZu3nyDTPTQYQ2zj2CsLyfNDuXaR7XM enidK/JkV06B72O/89kE+CTdBQuB3sAAbTFkdHduzHSkhgGWXJ7G8tIn3k3FbtBDV9D4 xTBqjwYNwXLModLlUgNBuY7g3/E9hwnULho121oQdpHa9g4Zxc94gzfZg40l8tcuOkmT oeJQ== X-Forwarded-Encrypted: i=1; AJvYcCXCvwiQmJg42ZX6O1NVGbuxp7eXgPxriSuHAMleGN3lPrZTv8emxqKi5t2ffaLj3B3quousOwJhScBQ1Ow09RpyRA4sPTI= X-Gm-Message-State: AOJu0Ywy59++yAL3QE7mOA8A60bn8APoJbUi7kJ1iZFLE5JbJq7C/fSz n6yYGX1KOn5njCT1LipP8ukxP9x6Tt9dW2QY5dOZYhNzUgHD3TFKXyH3fQ== X-Google-Smtp-Source: AGHT+IEYNsn8jnErBA4aVRxFKZmn8raDYjpejk1PF+2JS0BK1+xFTONG65inrYntaLigSu4gRhxlJQ== X-Received: by 2002:a05:600c:790:b0:421:819c:5d84 with SMTP id 5b1f17b1804b1-42475175f98mr21378655e9.10.1718810162433; Wed, 19 Jun 2024 08:16:02 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42301a7c850sm227027445e9.6.2024.06.19.08.16.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jun 2024 08:16:01 -0700 (PDT) In-Reply-To: (Justin Burkett's message of "Wed, 19 Jun 2024 11:09:36 -0400") 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:287486 Archived-At: >>>>> On Wed, 19 Jun 2024 11:09:36 -0400, Justin Burkett said: Justin> The purpose of which-key was to show the commands that are avai= lable Justin> following an incomplete key sequence. If I understand correctly= , these Justin> maps don't hold commands and anyway would be processed before Justin> which-key "sees" the current incomplete key sequence. They don=CA=BCt hold commands in the sense of defuns, but instead they produce characters, which to Emacs is pretty much the same thing, and looking up keys in them inside which-keys produces the same type of display. Justin> If I understand correctly, if "C-d x" translates to "C-c x" then Justin> which-key I believe would see the sequence "C-c x" and find the Justin> bindings following that sequence. I'm not sure how or why we wo= uld Justin> want to display the information that "C-d x" translates to "C-c= x". These maps don=CA=BCt translate sequences to sequences, they translate sequences to characters: 'C-x 8 * E' -> =E2=82=AC 'C-x 8 * L' -> =C2=A3 etc so with my patch, typing 'C-x 8 *' show the entries for 'E' and 'L' (and more besides) Robert --=20