From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32502: 27.0.50; Tramp; C-g during asynchronous remote find-file kills Emacs Date: Thu, 30 Aug 2018 16:18:59 +0300 Message-ID: <83va7s0z7g.fsf@gnu.org> References: <87mutep8ll.fsf@runbox.com> <83o9dub5nx.fsf@gnu.org> <83muteb4nb.fsf@gnu.org> <87o9dqbtv5.fsf@gmx.de> <87efemp0yz.fsf@runbox.com> <87pny1xiv5.fsf@gmx.de> <83in3t2lcl.fsf@gnu.org> <87lg8pxgs6.fsf@gmx.de> <83h8jd2jh6.fsf@gnu.org> <87d0u1xfek.fsf@gmx.de> <878t4oylcj.fsf@gmx.de> <874lfcyjpn.fsf@gmx.de> <834lfc37ji.fsf@gnu.org> <87zhx4wcsp.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1535636170 3280 195.159.176.226 (30 Aug 2018 13:36:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2018 13:36:10 +0000 (UTC) Cc: gazally@runbox.com, 32502@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 30 15:36:05 2018 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 1fvN7F-0000l3-ER for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Aug 2018 15:36:05 +0200 Original-Received: from localhost ([::1]:48998 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvN9L-0001tV-Qz for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Aug 2018 09:38:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvN7f-0007u7-Qu for bug-gnu-emacs@gnu.org; Thu, 30 Aug 2018 09:36:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvMrj-0006cr-6s for bug-gnu-emacs@gnu.org; Thu, 30 Aug 2018 09:20:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33053) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fvMrj-0006cl-3z for bug-gnu-emacs@gnu.org; Thu, 30 Aug 2018 09:20:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fvMri-0007d5-UF for bug-gnu-emacs@gnu.org; Thu, 30 Aug 2018 09:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Aug 2018 13:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32502 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 32502-submit@debbugs.gnu.org id=B32502.153563516629245 (code B ref 32502); Thu, 30 Aug 2018 13:20:02 +0000 Original-Received: (at 32502) by debbugs.gnu.org; 30 Aug 2018 13:19:26 +0000 Original-Received: from localhost ([127.0.0.1]:38066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvMr7-0007bd-VT for submit@debbugs.gnu.org; Thu, 30 Aug 2018 09:19:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvMr6-0007bP-6E for 32502@debbugs.gnu.org; Thu, 30 Aug 2018 09:19:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvMqx-0006HA-Th for 32502@debbugs.gnu.org; Thu, 30 Aug 2018 09:19:19 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvMqx-0006H6-R0; Thu, 30 Aug 2018 09:19:15 -0400 Original-Received: from [176.228.60.248] (port=1906 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fvMqx-0008U1-D7; Thu, 30 Aug 2018 09:19:15 -0400 In-reply-to: <87zhx4wcsp.fsf@gmx.de> (message from Michael Albinus on Thu, 30 Aug 2018 09:09:42 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:149874 Archived-At: > From: Michael Albinus > Cc: gazally@runbox.com, 32502@debbugs.gnu.org > Date: Thu, 30 Aug 2018 09:09:42 +0200 > > Eli Zaretskii writes: > > >> So it looks like you are right: we cannot send signals to the main > >> thread. Is this acceptable? > > > > Yes, I think so, but let's document that. > > Sounds to me like a serious restriction. When something happens in a > thread, I want to know it. There isn't even a message about the error. If we want to announce the errors to the main thread, we can use methods other than signaling an error. For example, we could inject a special event into the input queue, similarly to how we produce help-echo and other special events. Fsignal is a very blunt weapon, its main effect is to throw to top level. Why would we want to do that _in_the_main_thread_ when the problem happened in another thread? That's disruptive, and could even mean that the user will lose their edits. Not nice, IMO.