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.devel Subject: Re: bug#49265: [External] : bug#49265: 28.0.50; repeat mode feature request Date: Sun, 24 Oct 2021 22:02:51 +0200 Message-ID: <87y26ixkb8.fsf@gmail.com> References: <87czs53aei.fsf.ref@aol.com> <87czs53aei.fsf@aol.com> <87h7hh6o8t.fsf@mail.linkov.net> <87wnqcv25h.fsf@mail.linkov.net> <874kdfekr8.fsf@gmail.com> <87r1gj6say.fsf@mail.linkov.net> <87r1cdz72i.fsf@gmail.com> <875ytn8ufp.fsf@mail.linkov.net> <877de2zeqk.fsf@gmail.com> <87sfwqgrt4.fsf@mail.linkov.net> 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="4630"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ergus , Drew Adams , emacs-devel To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 24 22:04:07 2021 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 1mejix-0000zH-EP for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Oct 2021 22:04:07 +0200 Original-Received: from localhost ([::1]:34300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mejiw-0005HX-A8 for ged-emacs-devel@m.gmane-mx.org; Sun, 24 Oct 2021 16:04:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mejhp-0004b2-PY for emacs-devel@gnu.org; Sun, 24 Oct 2021 16:02:57 -0400 Original-Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:34739) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mejhn-00067I-Og for emacs-devel@gnu.org; Sun, 24 Oct 2021 16:02:57 -0400 Original-Received: by mail-wr1-x432.google.com with SMTP id d10so4700320wrb.1 for ; Sun, 24 Oct 2021 13:02:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=MwTeN7/VQLXaGARJXrKh9bHZbmfxmFH+Rz557T7qxvE=; b=kWwc1qFAuZ3ABqF6s+gYcT7FN9GFLZaTRAldUOOXDXxr2TdyHPlsg7LQ6fI7cMX0Ju C6Ufgu9u65Hsws5s5MqZ8FOQ37ABRThoK2c4EgK+vfIOXi1xihv7Xyur3vhoZjJ5uw0u i3v0dHZSJ8y4aJdoAecmAFE/i9Ljeho/P5f0EDcjXAX4u/1TxVNbFGbUldzduHbGuRgr rV78H14d0CLCAqGv8TC+AFtLoIsIWfm1MPVzR5U1cw4V6KIm14JdglgB/MOwXPuq7cZn Nvs76+Pa6ARAjleHabxsxI+e4dyczG4shR7nWFwugxK+jBY3ZDO8/sjE2hOa75qjpDfM I6Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=MwTeN7/VQLXaGARJXrKh9bHZbmfxmFH+Rz557T7qxvE=; b=ptToJI6dv4kMHk7/hP1M8fhibD3+ORMdYeURb5+4aGUJt0Z+Io2ZFm8OTGvlevn+pJ +SotVwXLs7t9OKOQZieK/TqHCwEM3tLU3127N2ywBqvAogQ2cOTb3yBuTRq9IfwbFktn jZ9nXqsIK4I3PaeRcOxtUI/KwYrtrjFolAnXutTW0gkYT3WUVHF+LegCScBfHzibcj5r PGejf7nah/4gB5QcTQJzcfm38nmrZJNqHowbjjvYkwR3fPl7rWpkZNrsyuJ0HUrwJ3aD rzQA75zVATLMiBLfN4JdHYaCqNMlg9pdFBS3T+7ciw4o3y6Cdmg48N3FGiahPO1/Nr94 3xVg== X-Gm-Message-State: AOAM5306iI9rlbN5D4yvpUrK6q0VzJJgc9ijUqysJBQx2O/Pe920k68n n/VFhvKNzJoO8LWa/rXgCuLfQ6hguaw= X-Google-Smtp-Source: ABdhPJwAh56Yhwyd6OX7Bpis0Uj/hLHg7BRd7CMeOdRoHzlPtrpPyZ9vM+v4KfLeDt5zpPikhqmckw== X-Received: by 2002:a5d:6502:: with SMTP id x2mr15251260wru.121.1635105772882; Sun, 24 Oct 2021 13:02:52 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id p3sm14084685wrs.10.2021.10.24.13.02.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Oct 2021 13:02:52 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: <87sfwqgrt4.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 24 Oct 2021 22:12:55 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=rpluim@gmail.com; helo=mail-wr1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:277683 Archived-At: >>>>> On Sun, 24 Oct 2021 22:12:55 +0300, Juri Linkov sai= d: Juri> I fixed aliases for tab-bar.el some time ago, but was busy with f= ixing Juri> other problems in repeat.el, so sorry for not pushing the fixes e= arlier. Juri> Now I'll push them together with the unfinished test suite for re= peat.el :-) >> diff --git a/lisp/repeat.el b/lisp/repeat.el >> index ac08952eaa..931615ed4c 100644 >> --- a/lisp/repeat.el >> +++ b/lisp/repeat.el >> @@ -516,7 +516,12 @@ describe-repeat-maps >> (princ (format-message "`%s' keymap is repeatable by these commands:= \n" >> (car keymap))) >> (dolist (command (sort (cdr keymap) 'string-lessp)) >> - (princ (format-message " `%s'\n" command))) >> + (let* ((info (help-fns--analyze-function command)) >> + (map (list (symbol-value (car keymap)))) >> + (desc (key-description >> + (or (where-is-internal command map t) >> + (where-is-internal (nth 3 info) map t= ))))) >> + (princ (format-message " `%s' (bound to '%s')\n" comm= and desc)))) >> (princ "\n")))))) Juri> Thanks, I tried this out, and everything looks nice. Juri> I could push this in the next few days after trying to solve Juri> remaining problems: There=CA=BCs no rush >> Note that this doesn=CA=BCt find the bindings for 'O' in >> other-window-repeat-map nor 'M' in tab-bar-move-repeat map, because >> the commands they=CA=BCre bound to don=CA=BCt have the 'repeat-map' = property, >> which we might want to fix. Juri> Maybe it would be sufficient just to say that a key is bound to a= lambda? I=CA=BCd rather have a real function name to refer to than a lambda, but it=CA=BCs up to you, I guess. Robert --=20