Re: [PATCH] negative arg trimming

2023-11-25 Thread Chet Ramey
On 11/21/23 12:57 AM, Grisha Levit wrote: rl_trim_arg_from_keyseq fails to trim a negative argument entered with universal-argument and fails to trim arguments if they have multiple leading minus signs. Thanks for the report and patches. Chet -- ``The lyf so short, the craft so long to lerne.'

Re: [PATCH] negative arg trimming

2023-11-21 Thread Grisha Levit
On Tue, Nov 21, 2023, 00:57 Grisha Levit wrote: > rl_trim_arg_from_keyseq fails to trim a negative argument entered with > universal-argument and fails to trim arguments if they have multiple > leading minus signs. > Also fails if the function to be executed is shadowed by a key map: bind '