GNU bug report logs - #28066
eshell-tramp sudo ignores C-c

Previous Next

Package: emacs;

Reported by: Yegor Timoshenko <yegortimoshenko <at> gmail.com>

Date: Sat, 12 Aug 2017 14:46:02 UTC

Severity: normal

Fixed in version 26.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


Message #37 received at 28066 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 28066 <at> debbugs.gnu.org, rms <at> gnu.org, yegortimoshenko <at> gmail.com
Subject: Re: bug#28066: eshell-tramp sudo ignores C-c
Date: Mon, 21 Aug 2017 17:01:34 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Michael Albinus <michael.albinus <at> gmx.de>
>> Cc: rms <at> gnu.org,  28066 <at> debbugs.gnu.org,  yegortimoshenko <at> gmail.com
>> 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.




This bug report was last modified 7 years and 275 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.