[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Python and Tramp
From: |
Stefan Monnier |
Subject: |
Re: Python and Tramp |
Date: |
Fri, 04 Feb 2022 13:36:40 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Michael Albinus [2021-10-25 14:36:49] wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> I think, when reading the python.el code, I'm bothered by 2 things:
>> - the presence of Tramp code, of course.
>> - the fact that I can't clearly see what is the intention of that code
>> because it is intermingled with Tramp code.
> See my other message. Both shouldn't be needed.
>> I suggest we start by changing
>> `python-shell-calculate-process-environment` so it doesn't return the
>> full environment, but only the entries that should be added to the
>> environment. This should make it possible to write it without any
>> Tramp code.
> Yes.
>> Also we should split `python-shell-with-environment` into the Tramp and
>> the non-Tramp case (there's very little overlap). E.g. the code below
>> has most of the Tramp-specific code confined to functions that have
>> `tramp` in their name and which mostly (but not quite ;-( ) don't know
>> about Python.
> Could we start with your patch? That means, could you push it to master?
Of course. Done.
> I would continue then with my proposals from the other message.
I count on you to do it as promptly as I just did ;-)
Stefan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Python and Tramp,
Stefan Monnier <=