From: Juri Linkov <juri@linkov.net>
To: Visuwesh <visuwesh@tutanota.com>
Cc: 51390@debbugs.gnu.org
Subject: bug#51390: 29.0.50; repeat-mode: Fails to repeat keys in global-map(?)
Date: Mon, 15 Nov 2021 20:54:25 +0200 [thread overview]
Message-ID: <86y25p6yhq.fsf@mail.linkov.net> (raw)
In-Reply-To: <874k95vw63.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 25 Oct 2021 20:41:56 +0300")
>>> This is because currently only the last character of the initial
>>> key sequence is allowed to be repeated. The initial key was "C-n"
>>> and the repeat key is "n" - it's not the same key. This condition
>>> was added to repeat only such key sequences 'C-x u u u u ...',
>>> but not 'C-/ u u u u ...'.
>>
>> That explains why I can't repeat C-n, but what makes repeat-mode
>> repeat C-n when at the first line? That really perplexes me and I'm
>> curious to know the reason.
>
> It seems you found a bug. When typing C-p at the beginning of the
> buffer it signals an error "Beginning of buffer" (this is correct).
>
> But in this case '(this-command-keys-vector)' used by repeat-mode
> returns []. This is an unexpected value.
Or maybe this is not a bug: since an error stops executing a keyboard macro,
it makes sense to stop a repeating sequence on error as well
(this logic will be applied after fixing the reported bug).
next prev parent reply other threads:[~2021-11-15 18:54 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-25 16:32 bug#51390: 29.0.50; repeat-mode: Fails to repeat keys in global-map(?) Visuwesh via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-25 17:16 ` Juri Linkov
2021-10-25 17:26 ` Visuwesh via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-25 17:41 ` Juri Linkov
2021-11-15 18:54 ` Juri Linkov [this message]
2021-11-16 8:43 ` Visuwesh via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-16 20:18 ` Juri Linkov
2021-11-17 1:47 ` Visuwesh via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-17 7:54 ` Juri Linkov
2021-11-20 13:23 ` Visuwesh via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-20 19:12 ` Juri Linkov
2021-11-21 2:21 ` Visuwesh via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-21 20:49 ` Juri Linkov
2021-11-22 3:44 ` Visuwesh via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-22 3:45 ` Visuwesh via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-25 3:32 ` Visuwesh via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-25 7:54 ` Juri Linkov
2021-11-25 8:11 ` Visuwesh via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-30 19:09 ` Juri Linkov
2021-12-02 10:23 ` Visuwesh via Bug reports for GNU Emacs, the Swiss army knife of text editors
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86y25p6yhq.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=51390@debbugs.gnu.org \
--cc=visuwesh@tutanota.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.