From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Psionic K Newsgroups: gmane.emacs.devel Subject: seeking feedback on keymaps introspection tool Date: Mon, 29 May 2023 07:54:57 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b12a9205fcd4988b" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38237"; mail-complaints-to="usenet@ciao.gmane.io" To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 29 14:55:47 2023 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 1q3cPa-0009ki-QZ for ged-emacs-devel@m.gmane-mx.org; Mon, 29 May 2023 14:55:46 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3cP6-0004Pa-3l; Mon, 29 May 2023 08:55:16 -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 1q3cP5-0004PI-5B for emacs-devel@gnu.org; Mon, 29 May 2023 08:55:15 -0400 Original-Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q3cP2-0000ub-3u for emacs-devel@gnu.org; Mon, 29 May 2023 08:55:14 -0400 Original-Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-1b01d3bb571so16670685ad.2 for ; Mon, 29 May 2023 05:55:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=positron.solutions; s=google; t=1685364908; x=1687956908; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=9+XW4uSsAFN+ztlhy/4SsAUbBqc4k9BwAbTimuTqDLg=; b=L1qy5CkW17LEyx1lICHZ7lJWrpTQV5kqjqldMhBa9/Cj/+o/BCFcrR8xhxlTSRoVk/ tT97blHIRtBAt75j7XZq0wMFTb3QPgdGEbA8U0VCLD+b/qPwWnFLnI75qqdTsU6td1DJ yy0xsSd+1ZgzY81bLCing0LaakTjTxIBOErqcgbJmFTy3LHxecr45V2KHT4fWkcSxsJV G/1S1MQQa1r0R4sVrMswDAo9MiUIdjZ4CEObenJ2SrDwqL6Zm9ZzS8j0u91TctbYYmXe FXJ2hZFngNsBNMZSoxABxbGRoxkSdjEy9pmYrv9yDbtjlVFRAsPqB2ZmRpwz1rp969a1 nwOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685364908; x=1687956908; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9+XW4uSsAFN+ztlhy/4SsAUbBqc4k9BwAbTimuTqDLg=; b=EjhfNMBmqglBTD9NL4p4sRQTKTjOz0E8atDVLFUAsFlBX9QgMFfrdY9+oPq3cAKsOD HgDjP1iUsPQaaZfZ3BE1s3uy6gJBpvygKdM1nwkfU5gKsHSS68mYFUC3nC/I5alxjy1D +x1afgVcr+v3MubharrQuldREyYoyEupdovK3Pslf/PYnmm0yyplpQIi1KrLO9wJHyJi aCpsx2PjH5/Qb7L4j7IdNVzCXYoY8xZNa3SXIc/1662Bw/+Dk0xunfGIwnMi2C7r3OHk iFiy3eXQ6ePl/mhrH7AiE3He58S5HUF6rxNudlOO4+3VRyPMjej6JJKTvws0NEJ+qIIz gcwg== X-Gm-Message-State: AC+VfDweO6ISikP3jePducSQta4dKGTrdR3RN86WB5OVfy+QqynJPUOe eUizx68r8Hy8gNL2/FnqAndgtpCx7Llx3d5mC12oSd3nHaRO3bHAhDE= X-Google-Smtp-Source: ACHHUZ6Em/QiEIFzIruR6zaQvHNI9dBfL8VqDxO+ztlpwhZTE6nG2S/J7xAIccSUTBQ5pplwv42Wsai8KZLMZc6sfFs= X-Received: by 2002:a17:903:182:b0:19f:8ad5:4331 with SMTP id z2-20020a170903018200b0019f8ad54331mr13668528plg.38.1685364908560; Mon, 29 May 2023 05:55:08 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=exec@positron.solutions; helo=mail-pl1-x633.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_IMAGE_ONLY_28=1.404, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:306385 Archived-At: --000000000000b12a9205fcd4988b Content-Type: text/plain; charset="UTF-8" I am close to publishing a package called user-keys. The goal was to assist in diagnosing and planning out bindings schemes. So far it has three main functions: - Show all shadows for a sequence - Show all sequences from a preferred list of sets - Show all sequences matching predicates One possible next goal is to show emulation map updates and listing active maps with symbols rather than raw keymap data structures. I am planning to extend the predicate matching to work on mass-unbinding. Right now it's useful for diagnosing all "stupid" bindings, which I preconfigured to predicates such as, "modified shift keys" or "multiple modifiers". Part of the goal was to develop a transient interface to articulate these views of the keymaps. I'm not sure how that's progressing since there's not quite enough functionality to leverage state and input re-use that characterizes a good context specific interface. I felt like it's a good time to show what's built and see if anyone has ideas based on experience about difficulty getting a good high-level view of active maps and what information they miss as a developer or user. I attached screenshots to this issue since I haven't made a video demo yet: https://github.com/positron-solutions/user-keys/issues/1 Thanks -- Psionic K Software Engineer *Positron Solutions * --000000000000b12a9205fcd4988b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am close to publishing a package called user-keys.= =C2=A0 The goal was to assist in diagnosing and planning out bindings schem= es.=C2=A0 So far it has three main functions:
  • Show al= l shadows for a sequence
  • Show all sequences from a preferred list o= f sets
  • Show all sequences matching predicates
One pos= sible next goal is to show emulation map updates and listing active maps wi= th symbols rather than raw keymap data structures.

I am planning to extend the predicate matching to work on=20 mass-unbinding.=C2=A0 Right now it's useful for diagnosing all "st= upid"=20 bindings, which I preconfigured to predicates such as, "modified shift= keys" or "multiple modifiers".

Part of the goal was to develop a transient interface to articulate these = views of the keymaps.=C2=A0 I'm not sure how that's progressing sin= ce there's not quite enough functionality to leverage state and input r= e-use that characterizes a good context specific interface.
<= br>
I felt like it's a good time to show what's built and= see if anyone has ideas based on experience about difficulty getting a goo= d high-level view of active maps and what information they miss as a develo= per or user.

I attached screenshots to this issue = since I haven't made a video demo yet:
https://github.com/positron-solutio= ns/user-keys/issues/1

Thanks

--
<= /span>
Software Engineer
--000000000000b12a9205fcd4988b--