unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Richard Stallman <rms@gnu.org>
Cc: 28066@debbugs.gnu.org, yegortimoshenko@gmail.com
Subject: bug#28066: eshell-tramp sudo ignores C-c
Date: Sun, 20 Aug 2017 21:29:33 +0200	[thread overview]
Message-ID: <87378mavhe.fsf@detlef> (raw)
In-Reply-To: <E1dh4Wz-00018Y-1w@fencepost.gnu.org> (Richard Stallman's message of "Sun, 13 Aug 2017 21:51:01 -0400")

Richard Stallman <rms@gnu.org> writes:

>   > > Now, if you try to leave interrupt `sleep` using C-c, it won't work.
>
>   > Unfortunately, it is not possible to send signals to the remote process
>   > Tramp is running on. This has been discussed already on the Tramp ML,
>   > with no result.
>
> Maybe eshell could detect this case
> and display a message to explain to the user why it doesn't work.

Finally, I have implemented `interrupt-process' for remote
processes. I've committed 296472f5c5 to the Emacs repository. Yegor, do
you have a chance to test Emacs 26.1, whether this works for you?

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?

Best regards, Michael.





  reply	other threads:[~2017-08-20 19:29 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 [this message]
2017-08-20 19:37       ` Eli Zaretskii
2017-08-20 19:46         ` Michael Albinus
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87378mavhe.fsf@detlef \
    --to=michael.albinus@gmx.de \
    --cc=28066@debbugs.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).