5 Patch-ID: readline63-001
7 Bug-Reported-by: Daan van Rossum <daan@flash.uchicago.edu>
8 Bug-Reference-ID: <20140307072523.GA14250@flash.uchicago.edu>
13 The `.' command in vi mode cannot undo multi-key commands beginning with
14 `c', `d', and `y' (command plus motion specifier).
16 Patch (apply with `patch -p0'):
18 *** ../readline-6.3/readline.c 2013-10-28 14:58:06.000000000 -0400
19 --- readline.c 2014-03-07 15:20:33.000000000 -0500
22 if (rl_editing_mode == vi_mode && _rl_keymap == vi_movement_keymap &&
24 ! rl_key_sequence_length == 1 && /* XXX */
25 _rl_vi_textmod_command (key))
26 _rl_vi_set_last (key, rl_numeric_arg, rl_arg_sign);
28 if (rl_editing_mode == vi_mode && _rl_keymap == vi_movement_keymap &&
30 ! _rl_dispatching_keymap == vi_movement_keymap &&
31 _rl_vi_textmod_command (key))
32 _rl_vi_set_last (key, rl_numeric_arg, rl_arg_sign);
33 *** ../readline-6.3/patchlevel 2013-11-15 08:11:11.000000000 -0500
34 --- patchlevel 2014-03-21 08:28:40.000000000 -0400
37 # Do not edit -- exists only for use by patch
41 # Do not edit -- exists only for use by patch