According to https://en.wikipedia.org/wiki/Bencode, dictionaries must
appear in lexicographic order. Altough it's not an issue in most
lisp-based languages, some implementations of bencode decoding will
fail (unable to decode) if they are not in lexicographic order.
This commit seems the easiest way to implement this. Maybe the
overhead could be avoidable using a defvared variable in the
condition, as an opt-out option.
Nicolas Graves (1):
Sort bencode dicts before send
arei-nrepl.el | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
--
2.45.2