From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: describe-repeat-maps: Possible print bug: Date: Wed, 28 Sep 2022 19:14:29 -0700 Message-ID: <25396.65413.972637.923513@google.com> References: <86bkqz5qp3.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="37402"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, emacs-devel@gnu.org To: juri@linkov.net Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 29 04:15:36 2022 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 1odj5L-0009cj-Rh for ged-emacs-devel@m.gmane-mx.org; Thu, 29 Sep 2022 04:15:35 +0200 Original-Received: from localhost ([::1]:34172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odj5K-0007hS-7S for ged-emacs-devel@m.gmane-mx.org; Wed, 28 Sep 2022 22:15:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odj4N-0006yH-UX for emacs-devel@gnu.org; Wed, 28 Sep 2022 22:14:36 -0400 Original-Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]:33513) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odj4M-00008f-3H for emacs-devel@gnu.org; Wed, 28 Sep 2022 22:14:35 -0400 Original-Received: by mail-pf1-x433.google.com with SMTP id w2so221341pfb.0 for ; Wed, 28 Sep 2022 19:14:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:from:to:cc:subject:date; bh=+k+9MoBsByI6EWl4uN5OgIiNGy3Ao0ILmj6SiViMy98=; b=Mj1LwBIhnzq4K23F8RHSazl7kcyZIxlB/gs8ZGN1H9Y442NiaJ5YyfCM+GhCBK9Yf4 izDc1Tpig5owNsrBFJgKxMR7lZn24gx8Ck0fxJfkwTRI3CKmVnAZxDqTGFBI4jW+FZZj TwZnBFpQh9fpiaXImN4r7mdlJW+63sBOrxSThODyvdTBNBGHe3pSd/GnDBKeK55aMv1D gS0bwzvQocwQhmUYZCLDSbutdkh3omDPk2YiV8YZabOIHnIYGeeDH9hDLVxHtTes85/M 0oxMgF9OYizFUNK36fciqjkeOEsFYU6S39FbJoSAaTHzDzpq8eedG7LAMGDgyVOIxbXK opcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:x-gm-message-state:from :to:cc:subject:date; bh=+k+9MoBsByI6EWl4uN5OgIiNGy3Ao0ILmj6SiViMy98=; b=IlF36LGYf1BzlGIsRe+mpk5ZjdbJrfKr4ASqoUhuNfBTsLq3ekV54lQBHcWyksnIRd cXcqm9y7T3mUNWfv6ydScMXY8C8XKt9bSKRdPsXN/0fLtCfDKliZIYEu98HeYEelPH13 /qic0GiqjVQfHOCIHfA1n4Q7wnVhk0UDVriBjGVlbEd1STtx1fq+7RwbM+uFF/D5kw1t gei0JOtJEq8+qMnoOYggtAboPmSwF7f6+C3GZOPG4W5mzpMtlP9WpTkEwguyGto7LYor co6LUHHdIxU8aPLysl4v1CV0FThj8in8cxe/Jt6AlgzBo6w1azcJn1RLeJqi6eo2Oeip dLgA== X-Gm-Message-State: ACrzQf0wBdr9aZjxEKgwvC+gdJCXLfOmh8GbIetehM7HYY+vONeiMmQE KluccKAESgoJcbfi/isl9SS9VTu40KjbKw== X-Google-Smtp-Source: AMsMyM7WKBgLMEn2oZPXYpmDZEo9wyzCcG+/usUrv2JV20B+5X+f9uVxM2XDJwiL3QAk4t+3yjXMLg== X-Received: by 2002:a62:8345:0:b0:53e:a1bf:8df9 with SMTP id h66-20020a628345000000b0053ea1bf8df9mr1118310pfe.68.1664417671891; Wed, 28 Sep 2022 19:14:31 -0700 (PDT) Original-Received: from raman9 (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id s4-20020a17090a698400b002004380686bsm2210708pjj.46.2022.09.28.19.14.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 19:14:31 -0700 (PDT) In-Reply-To: <86bkqz5qp3.fsf@mail.linkov.net> X-Mailer: VM 8.1.1 under 29.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=raman@google.com; helo=mail-pf1-x433.google.com X-Spam_score_int: -198 X-Spam_score: -19.9 X-Spam_bar: ------------------- X-Spam_report: (-19.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, NICE_REPLY_A=-2.319, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham 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" Xref: news.gmane.io gmane.emacs.devel:296434 Archived-At: Interesting, evaluating your test case shows the expected and desired output C-; 1 is shown as the key. But sadly it doesn't work for my code. My media player module is here: (apologies in advance -- it's a large module, but the repeat-mode code is only a few lines. https://github.com/tvraman/emacspeak/blob/master/lisp/emacspeak-m-playe= r.el#L1442 Juri Linkov writes: > > I use C-; as my Hyper-key and have commands bound to it used as a = prefix-key. > > > > I also use repeat-mode and have a repeat property on one of those= commands. > > > > As an example: > > emacspeak-media-relaxation is on C-; 1, C-x @ h 1 > > However, M-x describe-repeat-maps does not show that key in the he= lp > > buffer, it appears to render it as a space. > > > > So the corresponding line for that afore-mentioned command shows = up > > like so in the Help Buffer: > > > > =E2=80=98emacspeak-media-relaxation=E2=80=99 (bound to ) >=20 > I can't reproduce this problem with the following test case: >=20 > (repeat-mode 1) > (keymap-set global-map "C-; 1" 'next-line) > (defvar-keymap test-repeat-map > "1" 'next-line > "C-; 1" 'next-line > "C-x @ h 1" 'next-line) > (put 'next-line 'repeat-map 'test-repeat-map) >=20 > Then 'M-x describe-repeat-maps' shows such output: >=20 > =E2=80=98test-repeat-map=E2=80=99 keymap is repeatable by these co= mmands: > =E2=80=98next-line=E2=80=99 (bound to 1, C-; 1, C-x @ h 1) --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮