On 7/18/23 2:22 AM, Grisha Levit wrote:

This patch changes rl_macro_dumper to not untranslate the macro body
when passed a negative print_readably argument.  This is technically an
API change, so maybe not the best fix, though I doubt it will impact any
real usage.

Thanks for the report. It seems like your patch is incomplete, though.
After applying it:

$ bind -x '"\eX": echo "x"'
$ bind -X
"\eX": "echo "x""

We probably need to suppress printing the double quotes around `out' if
print_readably < 0.

--
``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/


Reply via email to