From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#28066: eshell-tramp sudo ignores C-c Date: Mon, 21 Aug 2017 17:01:34 +0200 Message-ID: <87a82t9d81.fsf@detlef> References: <87a833uahu.fsf@detlef> <87378mavhe.fsf@detlef> <837exyc9ok.fsf@gnu.org> <87y3qdnoex.fsf@detlef> <83tw11at17.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1503327741 20697 195.159.176.226 (21 Aug 2017 15:02:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 21 Aug 2017 15:02:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 28066@debbugs.gnu.org, rms@gnu.org, yegortimoshenko@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 21 17:02:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1djoDQ-0004l3-Lv for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Aug 2017 17:02:08 +0200 Original-Received: from localhost ([::1]:52308 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djoDX-0002bb-FJ for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Aug 2017 11:02:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djoDQ-0002aq-Cy for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2017 11:02:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1djoDM-0007di-BP for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2017 11:02:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39278) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1djoDM-0007dc-83 for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2017 11:02:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1djoDK-0000a7-0z for bug-gnu-emacs@gnu.org; Mon, 21 Aug 2017 11:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Aug 2017 15:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28066 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28066-submit@debbugs.gnu.org id=B28066.15033277072212 (code B ref 28066); Mon, 21 Aug 2017 15:02:01 +0000 Original-Received: (at 28066) by debbugs.gnu.org; 21 Aug 2017 15:01:47 +0000 Original-Received: from localhost ([127.0.0.1]:47959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1djoD3-0000Za-QW for submit@debbugs.gnu.org; Mon, 21 Aug 2017 11:01:47 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:52203) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1djoD1-0000ZL-M8 for 28066@debbugs.gnu.org; Mon, 21 Aug 2017 11:01:44 -0400 Original-Received: from detlef.gmx.de ([213.220.149.52]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LoVOE-1d3Jif2yiI-00gUmp; Mon, 21 Aug 2017 17:01:35 +0200 In-Reply-To: <83tw11at17.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 21 Aug 2017 17:34:44 +0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O5FgW9S9t/jgL7h5s3k7GblsUdqSF X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:135998 Archived-At: Eli Zaretskii writes: >> From: Michael Albinus >> Cc: rms@gnu.org, 28066@debbugs.gnu.org, yegortimoshenko@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.