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:51:14 +0300 Message-ID: <83mut40xpp.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> <83va7s0z7g.fsf@gnu.org> <87o9dkrncl.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1535637262 27460 195.159.176.226 (30 Aug 2018 13:54:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 30 Aug 2018 13:54:22 +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:54:17 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 1fvNOr-00070f-Gb for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Aug 2018 15:54:17 +0200 Original-Received: from localhost ([::1]:49060 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvNQx-0002wm-CG for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Aug 2018 09:56:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvNQk-0002pF-7x for bug-gnu-emacs@gnu.org; Thu, 30 Aug 2018 09:56:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvNMg-0000YB-E6 for bug-gnu-emacs@gnu.org; Thu, 30 Aug 2018 09:52:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33094) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fvNMg-0000Y1-9Z for bug-gnu-emacs@gnu.org; Thu, 30 Aug 2018 09:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fvNMg-0008Ui-4i for bug-gnu-emacs@gnu.org; Thu, 30 Aug 2018 09:52: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:52: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.153563710132618 (code B ref 32502); Thu, 30 Aug 2018 13:52:02 +0000 Original-Received: (at 32502) by debbugs.gnu.org; 30 Aug 2018 13:51:41 +0000 Original-Received: from localhost ([127.0.0.1]:38112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvNMK-0008U2-PN for submit@debbugs.gnu.org; Thu, 30 Aug 2018 09:51:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fvNMJ-0008Tc-Ef for 32502@debbugs.gnu.org; Thu, 30 Aug 2018 09:51:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvNMA-0000Ir-5P for 32502@debbugs.gnu.org; Thu, 30 Aug 2018 09:51:34 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvNMA-0000In-0v; Thu, 30 Aug 2018 09:51:30 -0400 Original-Received: from [176.228.60.248] (port=3933 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fvNM9-0001hU-KA; Thu, 30 Aug 2018 09:51:29 -0400 In-reply-to: <87o9dkrncl.fsf@gmx.de> (message from Michael Albinus on Thu, 30 Aug 2018 15:32:58 +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:149875 Archived-At: > From: Michael Albinus > Cc: gazally@runbox.com, 32502@debbugs.gnu.org > Date: Thu, 30 Aug 2018 15:32:58 +0200 > > > 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. > > I'm just changing thread-signal such a way that it ignores silently > signals sent to the main thread. Shall I implement this event injection > instead? I don't know. I guess it depends on how important is it to show the errors nicely. You could leave signals for now and use the events idea later as an enhancement. > And what shall be done with this event in the main thread? Just writing > an error message, or some kind of handling? Yes, displaying a message would be a good starting point, I think.