bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix READLINE_ARGUMENT with "M-1 M-2" and with `vi-arg-digit'


From: Koichi Murase
Subject: Re: [PATCH] Fix READLINE_ARGUMENT with "M-1 M-2" and with `vi-arg-digit'
Date: Tue, 29 Jun 2021 04:58:58 +0900

> > Thanks for the report. Wow, do people use M-1 M-2 to specify multiple-
> > digit arguments?
>
> [...] I use the latter, and in that case, it is intuitive
> to input multiple-digit numbers with the Meta key kept to be pressed.

I forgot to mention that the terminal will send "M-1 M-2" in this case.

> > Anyway, I don't see how this code can work if the command following the
> > digit argument is something like M-a that traverses into a new keymap.
> > It should return M-a ("\ea"), but it looks like it will just return "a".
>
> Ah, OK. You're right. Thank you for pointing it out. I'll modify it.

I attach the additional fix as "r0027-fixup.patch". I've also tested
it with M-a. Thank you.

--
Koichi

Attachment: r0027-fixup.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]