From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#41099: 28.0.50; TRAMP process-file ignores exit status of remote process Date: Sun, 17 May 2020 01:03:42 +0300 Message-ID: <68ad702e-e0c4-b8d5-a694-f3b762fb7cd5@yandex.ru> References: <871rnyyyio.fsf@gmx.de> <87sggdmp9s.fsf@gmx.de> <87eerxwbjo.fsf@gmx.de> <87zhalrxyf.fsf@gmx.de> <87o8r1rmwv.fsf@gmx.de> <871rnwrvvn.fsf@gmx.de> <87v9kzl2ga.fsf@gmail.com> <87a72akcgz.fsf@gmx.de> <85zhaafw4k.fsf@gmail.com> <871rnmjz3f.fsf@gmx.de> <63dfd032-6384-1ed0-5f47-7295cce4f910@yandex.ru> <87h7wggjht.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="100731"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 Cc: Philipp Stephani , 41099@debbugs.gnu.org, Noam Postavsky To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 17 00:04:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ja4ug-000Q6D-Nr for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 May 2020 00:04:10 +0200 Original-Received: from localhost ([::1]:51618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ja4uf-0008K8-CX for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 May 2020 18:04:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ja4uY-0008K0-6i for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 18:04:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ja4uX-0007ED-Tj for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 18:04:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ja4uX-0007Xz-Ng for bug-gnu-emacs@gnu.org; Sat, 16 May 2020 18:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 May 2020 22:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41099 X-GNU-PR-Package: emacs Original-Received: via spool by 41099-submit@debbugs.gnu.org id=B41099.158966663328996 (code B ref 41099); Sat, 16 May 2020 22:04:01 +0000 Original-Received: (at 41099) by debbugs.gnu.org; 16 May 2020 22:03:53 +0000 Original-Received: from localhost ([127.0.0.1]:41875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ja4uP-0007Xb-0n for submit@debbugs.gnu.org; Sat, 16 May 2020 18:03:53 -0400 Original-Received: from mail-wr1-f48.google.com ([209.85.221.48]:34646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ja4uN-0007XO-F3 for 41099@debbugs.gnu.org; Sat, 16 May 2020 18:03:51 -0400 Original-Received: by mail-wr1-f48.google.com with SMTP id y3so7514403wrt.1 for <41099@debbugs.gnu.org>; Sat, 16 May 2020 15:03:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=aBkpOGuQimtv/JXG2HVF19ImZiOC5ZGiSMcOZWTEz38=; b=ALASQ9SjuqA7O2We4pOulhrSZOfwOsZNfFRRAJEXDMl1WxWgsR/U28EohHuB7gTS9w rOq2UbN8Or0lHkr5ZDAeAzZ/YaJQPuQydaO3ZNgJzDv5z+gU168UiFtGJnXx76HRqtiC l1B9J+9i0MdM/yMfqcXQDqyLXQb05fz0fgNxjfH9sRKBOyK9gXTUKwdkQYhEci6p0KCO P8G/f2zJa9hRbE+IgSol83ZLp8eysIz4lrcBibh2IogSbPoKYrqVqZ21U9+lbOvki818 sesEcgf1hNvfaB0PsD05KccZNvPQ/fW5dgHjP9Hh8FYqFH9TAlc5SKWqWUWolMPT0ZRi +uww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=aBkpOGuQimtv/JXG2HVF19ImZiOC5ZGiSMcOZWTEz38=; b=eeiULPvspabjdUyaGLifCHxzkcVweGLB2aySKAzU5FShLuMUAUzF/OyTXaK9b6KJgh 4Atr0xHIOL6HrCxXshOwyv9UxhM4lEt7gUP6xR+cUq8frODNfn2arRbSN1/d9Q9bvKkK TfGvNE9bh/wsXDy2soQY+dT/RKXyAG5DU0pJ6eCAQvYtxPC19um9BPMRcq4JjKNz8pAr 0amwzEjOV1XmKQJU/n4SrUB9fes34uJyUnRQWTu2jEirHtSL1qo+/8g/8hlaQu31UJLm 9YVM3wzWq+LABn0qKHES7eKR29yKQ1XOTqOoTtz0fXCgiKq417LEDp1hX5a/uhNb+tK3 PRng== X-Gm-Message-State: AOAM532prOY5AXP8l/vj2hqAqJrZwWuLCKGegHciXmC1Kr1Eg4o8rAgc 184jVhVrDWURbLDBFNjLQ08= X-Google-Smtp-Source: ABdhPJwqOGLrCcz4SZgR+GmKnYUALy/mbyddzm9xXwAoFgmQLWMBNuFYq1lheTeo19MevPYKxQSBiw== X-Received: by 2002:a05:6000:1241:: with SMTP id j1mr11419328wrx.42.1589666625599; Sat, 16 May 2020 15:03:45 -0700 (PDT) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id o205sm9534209wmo.32.2020.05.16.15.03.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 16 May 2020 15:03:44 -0700 (PDT) In-Reply-To: <87h7wggjht.fsf@gmx.de> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:180411 Archived-At: On 16.05.2020 15:19, Michael Albinus wrote: >> On 14.05.2020 18:49, Michael Albinus wrote: >>> I understand (and sympathize) both positions. However, Tramp has >>> returned for decades no strings for process-file, so I don't expect any >>> code in the wild which expects this. >> >> But is there code in the wild that expects the _current_ behavior? > > Don't know. But at least Philipp has reported this inconsistency, so > there are prople who care. Care for the remote case to behave like the local one, right? Not the reverse? >> It sounds rather odd to me, given that such code would only be >> intended to run on remote systems, but never on the local one. Is that >> about right? > > Emacs has no problem to detect, whether a local process has been > interrupted by a signal. It does it on C level. OK, so if I understand you right, Tramp ends up doing some extra computations to get that info, and that makes it slower. I suppose this could be a reason to make the "correct" behavior disabled by default.