From: Robert Pluim <rpluim@gmail.com>
To: Juri Linkov <juri@linkov.net>
Cc: Ergus <spacibba@aol.com>, Drew Adams <drew.adams@oracle.com>,
emacs-devel <emacs-devel@gnu.org>
Subject: Re: bug#49265: [External] : bug#49265: 28.0.50; repeat mode feature request
Date: Mon, 25 Oct 2021 10:55:10 +0200 [thread overview]
Message-ID: <87bl3dscup.fsf@gmail.com> (raw)
In-Reply-To: <87tuh5lgc7.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 25 Oct 2021 10:41:44 +0300")
>>>>> On Mon, 25 Oct 2021 10:41:44 +0300, Juri Linkov <juri@linkov.net> said:
>> >> Note that this doesnʼt find the bindings for 'O' in
>> >> other-window-repeat-map nor 'M' in tab-bar-move-repeat map, because
>> >> the commands theyʼre bound to donʼt 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ʼd rather have a real function name to refer to than a lambda, but
>> itʼs up to you, I guess.
Juri> But this means adding a new command with a name e.g. 'other-window-backward'
Juri> that will cycle windows in the opposite direction.
As I said: itʼs up to you.
BTW, I tried using 'substitute-command-keys' to do this, since itʼs
more elegant, but it gave an unusual result for undo:
(substitute-command-keys "\\<undo-repeat-map>\\[undo]")
=>#("C-x u" 0 5
(font-lock-face help-key-binding face help-key-binding))
which is the global binding, not the repeat-map binding. Any ideas?
Robert
--
next prev parent reply other threads:[~2021-10-25 8:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87czs53aei.fsf.ref@aol.com>
[not found] ` <87czs53aei.fsf@aol.com>
[not found] ` <87h7hh6o8t.fsf@mail.linkov.net>
[not found] ` <87wnqcv25h.fsf@mail.linkov.net>
[not found] ` <SA2PR10MB447476D46BE375158C054A77F3029@SA2PR10MB4474.namprd10.prod.outlook.com>
[not found] ` <874kdfekr8.fsf@gmail.com>
[not found] ` <87r1gj6say.fsf@mail.linkov.net>
[not found] ` <87r1cdz72i.fsf@gmail.com>
[not found] ` <875ytn8ufp.fsf@mail.linkov.net>
2021-10-24 14:20 ` bug#49265: [External] : bug#49265: 28.0.50; repeat mode feature request Robert Pluim
2021-10-24 19:12 ` Juri Linkov
2021-10-24 20:02 ` Robert Pluim
2021-10-25 7:41 ` Juri Linkov
2021-10-25 8:55 ` Robert Pluim [this message]
2021-10-25 9:21 ` Stefan Kangas
2021-10-25 9:59 ` Robert Pluim
2021-10-25 10:14 ` Andreas Schwab
2021-10-25 17:54 ` Juri Linkov
2021-10-25 18:08 ` Stefan Monnier
2021-10-25 19:59 ` Robert Pluim
2021-10-25 20:57 ` Stefan Monnier
2021-10-26 10:06 ` Robert Pluim
2021-10-26 10:25 ` Robert Pluim
2021-10-26 12:39 ` Stefan Monnier
2021-10-26 12:46 ` Robert Pluim
2021-10-25 17:58 ` 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=87bl3dscup.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=juri@linkov.net \
--cc=spacibba@aol.com \
/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).