[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50503: [PATCH] Properly encode all strings sent to the Python shell
From: |
Augusto Stoffel |
Subject: |
bug#50503: [PATCH] Properly encode all strings sent to the Python shell |
Date: |
Sat, 11 Sep 2021 14:44:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
On Sat, 11 Sep 2021 at 14:38, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> Augusto Stoffel <arstoffel@gmail.com> writes:
>
>> Thanks! But note that there is at least one Emacs 28 dependency left,
>> namely `comint-max-line-length'.
>
> Perhaps there should be some compat code in that case?
If it is stylistically acceptable, I think
(or (bound-and-true-p comint-max-line-length) 1024)
is the simplest solution. One could also replace the mysterious 1024 by
0, which was more or less the previous situation anyway.
>
>> There's also a byte-compiler warning regarding
>> `comint-highlight-input' even on Emacs 27.
>
> Warnings are normal on older Emacs versions -- I mean, it'd be good to
> avoid them, but we're mainly worried about actual breakages.
All right then.