On 6/27/21 8:12 AM, Koichi Murase wrote:
Description:
Now "bind -x" can be used with numeric arguments when the numeric
arguments are specified by e.g. "M-1 2 3". However, when the
numeric arguments are specified by e.g. "M-1 M-2 M-3", it still fails
with the error message `bash_execute_unix_command: cannot find
keymap for command'. It fails too when the arguments are specified
through `vi-arg-digit' in the vi-command map.
Thanks for the report. Wow, do people use M-1 M-2 to specify multiple-
digit arguments?
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".
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/