From: "T.V Raman" <raman@google.com>
To: juri@linkov.net
Cc: raman@google.com, emacs-devel@gnu.org
Subject: Re: describe-repeat-maps: Possible print bug:
Date: Wed, 28 Sep 2022 19:14:29 -0700 [thread overview]
Message-ID: <25396.65413.972637.923513@google.com> (raw)
In-Reply-To: <86bkqz5qp3.fsf@mail.linkov.net>
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-player.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 help
> > 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:
> >
> > ‘emacspeak-media-relaxation’ (bound to )
>
> I can't reproduce this problem with the following test case:
>
> (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)
>
> Then 'M-x describe-repeat-maps' shows such output:
>
> ‘test-repeat-map’ keymap is repeatable by these commands:
> ‘next-line’ (bound to 1, C-; 1, C-x @ h 1)
--
Thanks,
--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1 🦮
--
Thanks,
--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1 🦮
next prev parent reply other threads:[~2022-09-29 2:14 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-28 2:36 describe-repeat-maps: Possible print bug: T.V Raman
2022-09-28 17:55 ` Juri Linkov
2022-09-29 2:14 ` T.V Raman [this message]
2022-09-29 6:47 ` Juri Linkov
2022-09-29 14:00 ` T.V Raman
2022-11-15 18:41 ` Juri Linkov
2022-11-16 23:15 ` T.V Raman
2022-11-17 7:31 ` Juri Linkov
2022-11-17 15:19 ` T.V Raman
2022-11-17 15:35 ` T.V Raman
2022-11-17 17:55 ` Juri Linkov
2022-11-17 18:26 ` T.V Raman
2022-11-17 18:49 ` Juri Linkov
2022-11-17 20:52 ` T.V Raman
2022-11-18 7:20 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25396.65413.972637.923513@google.com \
--to=raman@google.com \
--cc=emacs-devel@gnu.org \
--cc=juri@linkov.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).