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: Thu, 20 Jun 2024 11:40:57 -0400 Message-ID: References: <87plsdxhnw.fsf@gmail.com> <867celoz4q.fsf@gnu.org> <864j9posjg.fsf@gnu.org> <87v824vx14.fsf@gmail.com> <87msnfwtma.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="27316"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71648@debbugs.gnu.org, Eli Zaretskii , jb@jeremybryant.net To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 20 17:43:23 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 1sKJwY-0006vr-Uq for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Jun 2024 17:43:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKJwC-00028d-L9; Thu, 20 Jun 2024 11:43:00 -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 1sKJwA-00028A-Uq for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 11:42:59 -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 1sKJwA-0003er-Mn for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 11:42:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sKJwE-0005Ex-EB for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 11:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Justin Burkett Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Jun 2024 15:43: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.171889814220070 (code B ref 71648); Thu, 20 Jun 2024 15:43:02 +0000 Original-Received: (at 71648) by debbugs.gnu.org; 20 Jun 2024 15:42:22 +0000 Original-Received: from localhost ([127.0.0.1]:33861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKJvZ-0005Dd-Ne for submit@debbugs.gnu.org; Thu, 20 Jun 2024 11:42:21 -0400 Original-Received: from mail-ej1-f51.google.com ([209.85.218.51]:53721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKJvX-0005DO-9t for 71648@debbugs.gnu.org; Thu, 20 Jun 2024 11:42:20 -0400 Original-Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a6f1f33486eso51948466b.3 for <71648@debbugs.gnu.org>; Thu, 20 Jun 2024 08:42:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burkett-cc.20230601.gappssmtp.com; s=20230601; t=1718898069; x=1719502869; 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=vKnKYFAff27vpnqL3WDQ+AlulAUELw1fVjNQ6fUYPb0=; b=RGcWfAOr1SZ6YasOWSA/+FnOtFP28IFJO2HJkNEO+ZiZhOu/K3PKQik22YtQ3fA4xC mCiGVGDw0Ym2y0/sPEMl91X2rhSdoizdA5s9p+agbADooAzremAGjGmw0zmPb6pVO55W 95g4EbeaB1T+lyisPzTrNANzr+rqWDxZayXAuwwtYKnKisp/CDOuMzj/nu8X8AIXUkus Q8Yh7exfF+aARu+c3GXxfUpXU6VcuV0Pw0YyAgr0ZzB+aXlSf4u8RJXmD+BAd8EIxg/t vqbj00w6LH99HA/DX8hJeFT17SAVvG2wSr9R20WKQQXXIS4W/PwTSnPXICm7gKsYMl+m rIqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718898069; x=1719502869; 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=vKnKYFAff27vpnqL3WDQ+AlulAUELw1fVjNQ6fUYPb0=; b=HaA0xEJ5lwQSw3rSGifLuVBEcttX+tJ1iS+GfSEwDjUToePiSSCp6UhSeGoFgaXLPi z3uN2HsdFtYIxib5DzQ6GB8idbs1g8yNK3B9mbvISippfJsF38T8Epgb1fNQj6et0OlE AEQdNM9ZJpdvW6aUiuSTJHi1qcxdHOJji3/caejADjFJEr0D9esMjcnINTAhtLRV/iVj yXHEJK26iQhDcx6IRbR7EzVGp1GUAWyVcEq1AAVx/PsyqpaP21hyI/OZ98C5USMLdV8m 3wGTBTSHL77pA7iLmFiTS2UfHfxcIsI6q1RRz0zsAASMSyUtUSlYxheXXYL+NHgqIync Ynbg== X-Forwarded-Encrypted: i=1; AJvYcCVDavBb1CoXGVwyaiBtsmt2yIr1MiwDiZDeT6uTSiwTX6AWtvwl4NZmxLl86BkXrIQ5UjJ0mUS+mZX8tyoiPsHpXSG/m+k= X-Gm-Message-State: AOJu0YzsxxXwuFXd/5/MkTWCZsoWLAOgEBgGvyoJc7qWwHplPXpCL23Z A0qYGs9Jzo79s8fqaFORU90F9C7QT3vg6vohE1fpUwk4gWlLz650nuIEH0xDYI7zu52yM7s+DTm M1u2cXZaNCLzxCbem3pAxoOm+/wznmgI/iw33CQ== X-Google-Smtp-Source: AGHT+IHa+bjQ6PelrUkNuyAb4TDtue4B74nBJh+CNc7w/nFM/l2nJsdrNl9WZOr12KE3vgNReMJ3MUVAPsyu9AUzUo0= X-Received: by 2002:a50:d5cb:0:b0:57c:6861:d731 with SMTP id 4fb4d7f45d1cf-57d07ea6468mr4219780a12.28.1718898069454; Thu, 20 Jun 2024 08:41:09 -0700 (PDT) In-Reply-To: <87msnfwtma.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:287562 Archived-At: On Thu, Jun 20, 2024 at 10:56=E2=80=AFAM Robert Pluim wr= ote: > > >>>>> On Thu, 20 Jun 2024 10:20:36 -0400, Justin Burkett said: > > Justin> On Thu, Jun 20, 2024 at 4:27=E2=80=AFAM Robert Pluim wrote: > >> > >> >>>>> On Wed, 19 Jun 2024 11:48:01 -0400, Justin Burkett said: > >> > Justin> In any event, Robert's example was helpful, and I think that > Justin> information would be useful to include in which-key. > >> > >> By default, or with a custom option? If the latter, it could be a = list > >> of 'extra' keymaps for `which-key' to consult. > > Justin> I can see an argument for either. My only concern with the op= tion > Justin> would be explaining what the option does in plain language. > > Wordsmithing is easy ;-) > > (defcustom which-key-extra-keymaps nil > "List of extra keymaps to show bindings from. > This allows you to add personal keymaps for `which-key' to check. A > preset value is available to enable looking in `key-translation-map', > which contains the \\=3D'C-x 8' bindings for entering common characters." > :type '(choice (list :tag "Translation map" (const key-translation-map)= ) > (repeat :tag "Custom" symbol)) > :version "30.1") > That seems reasonable enough. How about doing both? Add the option and use key-translation-map for the default value. > Robert > --