From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Justin Burkett Newsgroups: gmane.emacs.bugs Subject: bug#71648: 30.0.50; Allow which-key to report on translation bindings Date: Wed, 19 Jun 2024 11:42:40 -0400 Message-ID: References: <87plsdxhnw.fsf@gmail.com> <867celoz4q.fsf@gnu.org> <874j9px8su.fsf@gmail.com> 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="4310"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71648@debbugs.gnu.org, Eli Zaretskii , Jeremy Bryant To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 19 17:45:49 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 1sJxVN-0000sy-QL for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jun 2024 17:45:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJxUi-0000wr-4l; Wed, 19 Jun 2024 11:45:08 -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 1sJxUa-0000ug-6G for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2024 11:45:02 -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 1sJxUY-0000bb-TQ for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2024 11:44:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sJxUb-0005Qa-VA for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2024 11:45:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Justin Burkett Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jun 2024 15:45:01 +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.171881184520728 (code B ref 71648); Wed, 19 Jun 2024 15:45:01 +0000 Original-Received: (at 71648) by debbugs.gnu.org; 19 Jun 2024 15:44:05 +0000 Original-Received: from localhost ([127.0.0.1]:48956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJxTh-0005OF-Df for submit@debbugs.gnu.org; Wed, 19 Jun 2024 11:44:05 -0400 Original-Received: from mail-lj1-f174.google.com ([209.85.208.174]:45216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJxTe-0005NW-6U for 71648@debbugs.gnu.org; Wed, 19 Jun 2024 11:44:04 -0400 Original-Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2ec002caeb3so87451901fa.2 for <71648@debbugs.gnu.org>; Wed, 19 Jun 2024 08:43:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burkett-cc.20230601.gappssmtp.com; s=20230601; t=1718811772; x=1719416572; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=TuMqoy6NAwTPWQhlVUwMxYrHF9E4vLYbuRvvqbPmnPI=; b=3bx8RcacnDeym8VwG0qyju7EH/f6ksbiV7mnADKulioGTUq0YCnnZKXqJkX+N/3Yam 5fGRTThmyZW2gkaU8pbpdDVTpLDVzFJgfxcpfZ9VrOLpG8ez8JUaLZjKcNd29J0k9IPO Z1c9CTgwJyBJhTJuIwFodkOTlH3rRQrj47HrCGE1OFUeFJtsTWGv7riRffIgOa1fL4YH JbC2nX2FJwPbQdp2VEZTPzdhHbsSVrE92+Yb2rQ4MfoKyRLMQhu970qUyeS8eNKdUknd 75w0lyykMRB37gum8OwB5YVjVn1uUFzofwjc8IUuyAAMV8U5CaZ6WPdqAFgmHCzUjPNB 1NaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718811772; x=1719416572; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TuMqoy6NAwTPWQhlVUwMxYrHF9E4vLYbuRvvqbPmnPI=; b=PfNMNha87y/zxOLi+sCMximQpbzXvKF6ON0YFg19VeVfWf7kk37bPATA7AxMbpluZS 5H0Ol8mJsNN7kTOd1oquZFA5ImBnnqisXiKbp7n6IkIVZB8cER/v5/NRv/PQ3WiBsOyZ YYLD7pBRv4UtosHDMG/ptqtqch8ifPCJuuQDrznDwzBtnI/JAdUYIiKFFnJJcspp1zs6 v8Re6mjTSGb6Uo0TycIKSv8/WJkdpdEiKCjl6I6fzUjm6XwZMWsQo9BvoK799qJTiHUt 4vxfSTf22isXzUlE89Ztwm/5cE2697qPMa+hOqz9tyWRab/p+cl6ZukTSEMFmTtlwqVq 4xAA== X-Forwarded-Encrypted: i=1; AJvYcCVXZ+ISglPPZZqiQnYcUk8udsOD+UUxBcoHiKdmWh5ubf+zMNKoDUdHPwbNgFiYve8MGvy7Ohns4sC+BeiSuYC6W4QaDt4= X-Gm-Message-State: AOJu0YzFoJHojkiw1+qWmnVBC+2PV4nR+MkLBjRGKwjmDoAwfO5XCtLC iDAkvpHKxO8BssjIgkQhSlqQXOAvQ8Gz/jKbW1isvNUsuV5A7MLxkkqYcWNdQu7G/dIhj/e+mr4 8hxHCEwDxdhCVwFciozJuoi9QWiOnMj9x30lSsw== X-Google-Smtp-Source: AGHT+IHxSp8kXs+6inEkKSW8w3KfEOmNYC4gI5tl+SD0A2q2tBAOae+2I8vy4wjsEr+uTBxnl4QtCahWqQvt+i1oQ3o= X-Received: by 2002:a2e:b0c9:0:b0:2eb:68d0:f1cc with SMTP id 38308e7fff4ca-2ec3cfe125emr20186361fa.43.1718811772463; Wed, 19 Jun 2024 08:42:52 -0700 (PDT) In-Reply-To: <874j9px8su.fsf@gmail.com> 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:287490 Archived-At: On Wed, Jun 19, 2024 at 11:16=E2=80=AFAM Robert Pluim wr= ote: > > >>>>> 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 av= ailable > Justin> following an incomplete key sequence. If I understand correct= ly, 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" t= hen > Justin> which-key I believe would see the sequence "C-c x" and find t= he > Justin> bindings following that sequence. I'm not sure how or why we = would > 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) Ah, so I didn't understand how these are used. Those are good additions to which-key. > > Robert > --