From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#41099: 28.0.50; TRAMP process-file ignores exit status of remote process Date: Wed, 06 May 2020 21:33:07 +0200 Message-ID: <87h7wssvt8.fsf@gmx.de> References: <871rnyyyio.fsf@gmx.de> <87sggdmp9s.fsf@gmx.de> <87eerxwbjo.fsf@gmx.de> <87zhalrxyf.fsf@gmx.de> <87o8r1rmwv.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="127734"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 41099@debbugs.gnu.org To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 06 21:34:59 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 1jWPop-000X6P-16 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 May 2020 21:34:59 +0200 Original-Received: from localhost ([::1]:40434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWPon-00062a-Q1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 May 2020 15:34:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWPnu-000621-TU for bug-gnu-emacs@gnu.org; Wed, 06 May 2020 15:34:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57922) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jWPnu-0008Og-Kg for bug-gnu-emacs@gnu.org; Wed, 06 May 2020 15:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jWPnu-0001uX-Ha for bug-gnu-emacs@gnu.org; Wed, 06 May 2020 15:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 May 2020 19:34:02 +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.15887935977279 (code B ref 41099); Wed, 06 May 2020 19:34:02 +0000 Original-Received: (at 41099) by debbugs.gnu.org; 6 May 2020 19:33:17 +0000 Original-Received: from localhost ([127.0.0.1]:41232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWPnB-0001tK-Ct for submit@debbugs.gnu.org; Wed, 06 May 2020 15:33:17 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:53283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWPn8-0001t5-Sj for 41099@debbugs.gnu.org; Wed, 06 May 2020 15:33:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1588793588; bh=2ABHjcLTrjwpzevLx2Ls0IS6qysaiC9zXHijn0IrYss=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=LA9U0vr3oUbB3bWVqoT1PNb4U93E0S/jF4KcJn3J+wAyBbKVF1ulFbkcB+j9PCZbl bvXjXNmVgb0PewIT3vW9IalbsOZu+Yctpw8lTH3qBuPFP4mfJ1B2zlNqNzWAJ326ud RT/bfzc0NKyDkJTflxkXamfZgU8iRlfcww6wFRzo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.86.42.197]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MxUnz-1jCXUL0nP7-00xuDB; Wed, 06 May 2020 21:33:08 +0200 In-Reply-To: (Philipp Stephani's message of "Wed, 6 May 2020 19:57:53 +0200") X-Provags-ID: V03:K1:7obB+ZFRcaYA43S3vfwDUoQBM6hfhINGqYBXlNhwlCmxIAlmJ+N tVowRp+dZ802NPprY7lpmoAzPnEdW1OjC+k4UMLl8My0lXTjFS7/pIbpqRC5hI6qojOWR9Y 01VPNHapvMWf2h0lRzbhKwEr1sFGe58S/Mn6cms9P31lsqd9iPC82y7YjXmDAgXRhacGkRf 0Pb/IUX4Np+MuCC/b970w== X-UI-Out-Filterresults: notjunk:1;V03:K0:fnORD3ipVaE=:FuddksULvxdRPI0qzA63K+ 3fDpIW/qy81zeFOVJDZjtodsNfKRuoH/mI5ImiQWMLl05WjD5h9SnCcFruYWELQnvN5I1qgyb kfWpO7qYV6R29tGnGpFY/ZrTUhTS6pS1hVMrx18RO5O0YSLwYyW/zZBE1I/S7GQ8p9JF6+DO7 rsbZ2FN7Q3CAbOlLDg8COsPPFBrWoW2LALJftEPsEiROYcPGM6dGcJ0QyRTIuilSe9ognjxuf XTW2RRBEOYDk1CkQzo3iBuPEdlA0iI5fyl9blsNQAlh9BlB+M1oOX1rAySTyzJQjEV+Oqly4+ AgcFJT1ESC8k1Lyk49En2dJOY6oqICAUG7Y67i8FcZseO6n1Q0fTHdGtmIJllPBu0H5KMO6QR mTcOwZAprBBV8dIEqvpBf9zbQqFE+YVbXLX1KaWHsXB3BpOSTCd4RIOKqt+mwminSZyEaMHzM 2hkXETyxnRh7W9Q/kbBAhmAz7F/OLsm2nPHE+QDpEAYq6FEKoGrLpQ09wDYX94RX7msy0/y0H vB1evS+GdYLYfSOa9a/MbGux059H1SKFGk/UWmAMylIGihKG84mRGJG7upLuYdrjR1zzbfTlZ M/UHNL4A9Si8eq6mJrCJdiMOvy3WGIDXu788tm0N/VPfe5+FZyPdo5YzB1ZEo1IzUAiAn4L0Q lfluy7ZbUsxVA9kRSXCVpDJhK5UK/Ulr3v8DYd8UU80WVAYBAZs4pGwBpJOlFYSotHQjMOpXo 8fApiWv8+6akgftshGF6zQJQ10fW0JSnx3Y4TcVJ5xvp6LPbjWbTu/SWM17H+PmjADbisSPK 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:179843 Archived-At: Philipp Stephani writes: > What I suggest here would be something like the following: > > (defun tramp-process-file (...) > (let ((code (...original code...))) > (if (> code 128) > ;; Probably a signal > (format "Signal %d" (- code 128)) > code)) Yes. Or maybe there's a chance to access sys_siglist from sysdep.c via Lisp. Best regards, Michael.