Subject: bug#32502: 27.0.50; Tramp; C-g during asynchronous remote find-file kills Emacs

From: Eli Zaretskii <[email-masked]>
Date: Thu, 30 Aug 2018 20:44:41 +0300

> From: Michael Albinus <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Thu, 30 Aug 2018 18:48:19 +0200
> 
> Appended is a first implementation. Comments?

Looks good, thanks.

> +If @var{thread} is the main thread, the signal is not propagated
> +there.  Instead, it is shown as message in the main thread.

Maybe I'm missing something, but where's the code which shows this
message?

> @@ -863,7 +863,8 @@ DEFUN ("thread-signal", Fthread_signal, Sthread_signal, 3, 3, 0,
>  This acts like `signal', but arranges for the signal to be raised
>  in THREAD.  If THREAD is the current thread, acts just like `signal'.
>  This will interrupt a blocked call to `mutex-lock', `condition-wait',
> -or `thread-join' in the target thread.  */)
> +or `thread-join' in the target thread.
> +Signals to the main thread are ignored quietly.  */)
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
That's not really accurate, is it?