From: Michael Albinus <michael.albinus@gmx.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 28066@debbugs.gnu.org, rms@gnu.org, yegortimoshenko@gmail.com
Subject: bug#28066: eshell-tramp sudo ignores C-c
Date: Sun, 20 Aug 2017 21:46:33 +0200 [thread overview]
Message-ID: <87fucmowdi.fsf@detlef> (raw)
In-Reply-To: <837exyc9ok.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 20 Aug 2017 22:37:31 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> 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?
Perfect. As long as no other package replaces Tramp's function.
Maybe the variable shall keep a list of functions, which are tried until
one of the functions reports success (returns t, for example). The
default function would be the last in the queue.
Best regards, Michael.
next prev parent reply other threads:[~2017-08-20 19:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-12 14:45 bug#28066: eshell-tramp sudo ignores C-c Yegor Timoshenko
2017-08-13 8:39 ` Michael Albinus
2017-08-14 1:51 ` Richard Stallman
2017-08-20 19:29 ` Michael Albinus
2017-08-20 19:37 ` Eli Zaretskii
2017-08-20 19:46 ` Michael Albinus [this message]
2017-08-21 11:36 ` Michael Albinus
2017-08-21 14:34 ` Eli Zaretskii
2017-08-21 15:01 ` Michael Albinus
2017-08-20 22:31 ` Yegor Timoshenko
2017-08-21 7:29 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fucmowdi.fsf@detlef \
--to=michael.albinus@gmx.de \
--cc=28066@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=rms@gnu.org \
--cc=yegortimoshenko@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.