Subject: Re: bug#28066: eshell-tramp sudo ignores C-c

From: Michael Albinus <[email-masked]>
Date: Mon, 21 Aug 2017 17:01:34 +0200

Eli Zaretskii <[email-masked]> writes:

>> From: Michael Albinus <[email-masked]>
>> Cc: [email-masked],  [email-masked],  [email-masked]
>> Date: Mon, 21 Aug 2017 13:36:06 +0200
>> 
>> > In such cases, we usually provide a variable whose value is a
>> > function.  The default value is a function that does whatever
>> > interrupt-process is doing now, and Tramp can replace it with its own
>> > function.
>> >
>> > Does this make sense in your case?
>> 
>> What about the appended patch?
>
> LGTM, but did you consider to define the variable in Lisp?

Sure, Vinterrupt_process_functions is declared with DEFVAR_LISP, see the
end of the patch. And it works, I've tested already my changed Tramp
implementation :-)

Anyway, I'll commit it to the master. People could raise their concerns
then, if any. Updating the documentation will be the next step afterwards.

Best regards, Michael.