bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18940: 24.4; vc-hg does not disable pager, leading to hangs (at leas


From: Michael Albinus
Subject: bug#18940: 24.4; vc-hg does not disable pager, leading to hangs (at least with tramp)
Date: Sun, 16 Nov 2014 19:38:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> We need a mechanism which shall allow kind of let-bind the process
>> environment variables when starting a new (remote) process. But there
>> shall be also server-specific defaults to be used.
>> 
>> I haven't started yet a design, how this could look like. Proposals welcome!
>
> Maybe I'm missing something, but what's wrong with let-binding
> process-environment?

process-environment handles local variables. Variables on the remote
host might require different settings.

Usually, let-binding of process-environment keeps its value, and
prepends some settings. That's not what could be applied for remote hosts.

Tramp has tramp-remote-process-environment, but this is not a
comprehensive solution. It is evaluated when a new connection is
establishes. So it could be useful for asynchronous processes, but it
doesn't play sufficiently for synchronous processes.

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]