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

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

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


From: Eli Zaretskii
Subject: bug#28066: eshell-tramp sudo ignores C-c
Date: Sun, 20 Aug 2017 22:37:31 +0300

> From: Michael Albinus <michael.albinus@gmx.de>
> Date: Sun, 20 Aug 2017 21:29:33 +0200
> Cc: 28066@debbugs.gnu.org, yegortimoshenko@gmail.com
> 
> I've implemented this as advice on `interrupt-process', but this is
> discouraged for primitives. Maybe we should spend `interrupt-process' a
> hook where Tramp could enter? Or even a file name handler, based on
> default-directory of the related process-buffer?

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?





reply via email to

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