From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 16 07:18:42 2022 Received: (at submit) by debbugs.gnu.org; 16 Jan 2022 12:18:42 +0000 Received: from localhost ([127.0.0.1]:42639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n94Uc-0007d0-E7 for submit@debbugs.gnu.org; Sun, 16 Jan 2022 07:18:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:51990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n94Ua-0007cs-Sh for submit@debbugs.gnu.org; Sun, 16 Jan 2022 07:18:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n94UX-0008DV-8F for bug-gnu-emacs@gnu.org; Sun, 16 Jan 2022 07:18:38 -0500 Received: from kamnitnik.top ([209.250.245.214]:48842) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n94UU-0005TF-R7 for bug-gnu-emacs@gnu.org; Sun, 16 Jan 2022 07:18:36 -0500 Received: from localhost (BSN-77-156-43.static.siol.net [193.77.156.43]) by kamnitnik.top (Postfix) with ESMTPSA id DFDEC9C719 for ; Sun, 16 Jan 2022 12:18:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kamnitnik.top; s=mail; t=1642335511; bh=yMuBOU+LYBVggwviBwi3Wtk0ZroCZn3Do+crsyIjufA=; h=From:To:Subject:Date:From; b=ALXmgxKRDWKHad3A83RtCfvZ+i2eLUYMiP1lwYAASp+eXQrmN6eAJVhxcVE1FNPYM uBtRbzpt1tf0r4SeopZButX3bMvoqVE8nrOtO+r5EJPYsZt6bk3I/iesOGQ8yearSF dC16y4UrCSh/aH5lba4ZLDnkvr2A9hIu5nPrrpylmcx/alBX+gP68n7/IGE073Iofd W+YFHJQAYZwoQ+w5n6LyRnGxGa+eSAoHbk8R6cWoPUSeXAq/RAHJqVFClsRIy1YG3G YxO9XOTlKXZTUUTKaUZwrnpYW+igawrPNR7Fp+7W2N/Enq4I8+SmVCg39bzeZBkyZ3 f6d4wm2jbEqiA== From: miha@kamnitnik.top To: bug-gnu-emacs@gnu.org Subject: 29.0.50; shell-command-on-region doesn't execute the command remotely Date: Sun, 16 Jan 2022 13:24:43 +0100 Message-ID: <87v8yjdg1g.fsf@miha-pc> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=209.250.245.214; envelope-from=miha@kamnitnik.top; helo=kamnitnik.top X-Spam_score_int: 13 X-Spam_score: 1.3 X-Spam_bar: + X-Spam_report: (1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=0.894, PDS_OTHER_BAD_TLD=1.999, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: If default-directory is a remote directory, shell-command (M-!) executes the command on the remote machine, but shell-command-on-region (M-|) executes it locally. This is more of a feature request rather than a bug report, but it might be nice if shell-command-on-region executed the command remotely as well. Or perhaps, a new command called something like 'shel [...] Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: kamnitnik.top (top)] 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=miha%40kamnitnik.top; ip=209.51.188.17; r=debbugs.gnu.org] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.51.188.17 listed in wl.mailspike.net] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.1 (/) --=-=-= Content-Type: text/plain If default-directory is a remote directory, shell-command (M-!) executes the command on the remote machine, but shell-command-on-region (M-|) executes it locally. This is more of a feature request rather than a bug report, but it might be nice if shell-command-on-region executed the command remotely as well. Or perhaps, a new command called something like 'shell-command-on-region-file' could be added that executed the command remotely. Thanks, best regards. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCAAxFiEEmxVnesoT5rQXvVXnswkaGpIVmT8FAmHkDosTHG1paGFAa2Ft bml0bmlrLnRvcAAKCRCzCRoakhWZPwldEACnptJa29OglSXDTmwpmJ83e2n/hhU0 wtvP6h9THHKY0S/fZir5QxVwUSuBecVAkftM7sxhTsshpqidmFHISwjXarFQa8hp x7ftXH3QXu8vAT4YDNH1VJwMn4GlawobwcGUBile2acqA8PL3/Qf3FkruMW8Cjoz c/kyk2i4vYgRDVF+g060241whDaHr1/9SlBwaMxH6baOa4EVD1V6bbXxMlqXeteb fgdRCiLw4SROQFw096cwL/B2HwKYmAVlA2ntX04AAtqdYHqqrPQLzbiK7qpqPl+A wKAE/IVNGHjCwDMaF3bid/tSpQnLBrBgqRrc0DlTQVk43kSp+ztVERLk0fwYpa2m kpZTVdAqkfg8lJiJ5VgwgTGT6F2eF2PIn/MMcfU3pECI6udhTA5YPlE+A82piCTA tBvsEuW3NNi07xPNF+dgAuv/YCGUF9VnMzB++wKfUN8r1mzNgxqF9HCYFEIVBAsB AkRgbzAd94BJnhBkPGDVOMvgbCYnSciX6sSMXir2rvdyNxfli4GyDzjZvHB9GzdU YR/X+PvnQOglrvmyaY3Dj9pbHrqHf9Cw4bGRwujX8O00ogqQhYhp4aSj6oZIJgVT ec6FwBjeobYovvKXiO3p6BtbX+Ece/Ep60FLKhGvJ6mCdYGfERpms01GjCxgNZGy QQjHdWWvbPauoQ== =Ws9h -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 16 07:49:21 2022 Received: (at submit) by debbugs.gnu.org; 16 Jan 2022 12:49:21 +0000 Received: from localhost ([127.0.0.1]:42661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n94yH-0002Aa-AC for submit@debbugs.gnu.org; Sun, 16 Jan 2022 07:49:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:39202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n94yF-0002AS-PR for submit@debbugs.gnu.org; Sun, 16 Jan 2022 07:49:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n94yF-0003mM-6H for bug-gnu-emacs@gnu.org; Sun, 16 Jan 2022 07:49:19 -0500 Received: from mout.gmx.net ([212.227.17.20]:45529) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n94y9-0004an-Ve for bug-gnu-emacs@gnu.org; Sun, 16 Jan 2022 07:49:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1642337342; bh=hOvxaCI7LFaw/XJ2odNtV0GzvSWGBIsS1AsyL+TZ2OY=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=F4vs0VJ8IqDE0dw03tSAZwAqGms/O6mZdzV3pMVTsVq2lRNvmHMtY8uRAzztkCPw3 P0qX5q/94YM432YkCAvHQFmPUm56oV28OYvU/znGFHlZYgX+f8xItccJKyA8Q9y8Ux CLswLLRrMF9xfuhsYQuL2ZouLtuppUIR65qMF4Ks= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.91.238.39]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N6sit-1mG2UL1P6l-018N9m; Sun, 16 Jan 2022 13:49:02 +0100 From: Michael Albinus To: miha--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Subject: Re: bug#53302: 29.0.50; shell-command-on-region doesn't execute the command remotely References: <87v8yjdg1g.fsf@miha-pc> Date: Sun, 16 Jan 2022 13:49:00 +0100 In-Reply-To: <87v8yjdg1g.fsf@miha-pc> (miha's message of "Sun, 16 Jan 2022 13:24:43 +0100") Message-ID: <87sftnkfr7.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:YeudhjiTOvtMAOvb94frGllyVb84s8by7u2w12y85V2A/vkls0o u12V3eoMANjtbKfjVCeBTQRig5iWMhXSvInmpC/eeWNGU3oh0+ySGvxazHQ+P4jE3OQFsZn MvNrCwDhN9VcEtix98bdGI3cqVHyK1ur6E8CaGrnf6AgvJFKzh9G+5duhMPn8KcLFlLPoQr SULRpq5OBHepHaXa6b4hg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:ej96iI2lMTg=:8/QGnjqVHPncOKPGHZJVI+ e3Pr1aYka7uD4DuXH/5GV895cLkTFYaCwfygxOfxTeYksrSriB77dSiDMTr+9Pi42VwtVU56y uWRZgHhk8OLQnf+nqPmqjStq7ntaoNxi+3mTX+ui1z8ZESZa46akHwYyYy5zI5hPSQPfKT7KH CagWsf/OduGAv1V2qSKjRrKe2/63hBSumy3pWpkcskMA59wwosyZtskp0n2YIzIxqllTm+rOQ mAOwaIDHW+wZkSHQUi3w6pB5qirR17P5lr4I1t7TEfmE6E9HI6W5m8aFiwz8AFM7A/HSa9+y/ Z6XZDnotXUpyYSR8ScGi1NvPArMd/knlJ4dWGzxFxDEf23inn1DBVOgQNCuQJd6ZFkwJC9UFb /zCeafpdKQA+aBghNYruYqmzEgDxP0r+T40MT5eUEyizSPcnSsizxgyNxoy4QA6nU6FlVA542 oPTbXy4Z6S3bvHEbxlifSrpFI+pd0J8SbL4d0tZf1ruA+EC9kTdcgifzLlyINYqL2ripIEBBh 2cgfIqrVqMy4TDxAEDg/tmzKzBh5AY8uPk1J0k9huR5JDz7EYq5bG0lEZcmkA048djDwhraqN 3XGEPgZP7TizUZOBVnZhsi7s3tKhsfOQCRJR6MdWcQ8IHySY9fkAoSd9ntG8Z/rjh3J8JvRUb y4LsO+7+SpXfWkleRCVzCMERkLsWO8ArH27nWOQ2t7Uu4E5GJYFDa5TaO4XO+FfroGG90dkFS /FAOtLc5E6Ff8pZ1fbgM/3VmHZECQtvioHiiZBVphl2FsWwOPEAfGWcsary7h1MR3aZunIBVP ul/q82vJlyu06apmoGfigjvs8z9yd+gte3s6bwIo2s8ohJ7hfmom5SUj+3co77SMm7N4CJguw 3CDxMQ7DqD7jyG2/I+/CwgBU8XcVBvWp6PzlCKJ9YzlLlz4iSMYZ2QDgvAZEmyZQbD5IHdS5A ENsoUh2OIApDBDFz35Fhsrp7ry/npju3rsw2l6R24TX9RZslYFEmWuKops0kz1iaeaA2CBqPD Rqc96Ryd5TrkpPb57Q8Ac8xNv8/XbeiuzjOLu+Tv3R1cZ7vqh75FIc1BB/+edUWW4u3kiStBP vDC8OUzLJAcrlI= Received-SPF: pass client-ip=212.227.17.20; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 53302@debbugs.gnu.org, miha@kamnitnik.top X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) miha--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: Hi, > If default-directory is a remote directory, shell-command (M-!) executes > the command on the remote machine, but shell-command-on-region (M-|) > executes it locally. > > This is more of a feature request rather than a bug report, but it might > be nice if shell-command-on-region executed the command remotely as > well. Indeed, shell-command-on-region uses internally call-process-region, which isn't aware of remote default-directory. > Or perhaps, a new command called something like > 'shell-command-on-region-file' could be added that executed the command > remotely. For consistency reasons, I prefer that shell-command-on-region behaves like the other functions of this family, shell and shell-command. > Thanks, best regards. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 16 07:49:32 2022 Received: (at control) by debbugs.gnu.org; 16 Jan 2022 12:49:32 +0000 Received: from localhost ([127.0.0.1]:42664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n94yS-0002Az-KK for submit@debbugs.gnu.org; Sun, 16 Jan 2022 07:49:32 -0500 Received: from mout.gmx.net ([212.227.15.19]:50079) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n94yQ-0002Am-Hm for control@debbugs.gnu.org; Sun, 16 Jan 2022 07:49:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1642337364; bh=idtGRfXFRHmqCiiXX6bg/0LKFWBryfVpenl8eVurERs=; h=X-UI-Sender-Class:Date:To:From:Subject; b=flKAuMEZGyAAIwyG1oovUpij69r9vVwGgVwm+ZTFQaYmREJ1umiWhcBE/kB+cdJsK 2P5dtH4TtdjxAIrAHPQ5FIL7826KmZFdNpwZsEot3x695vQH5WRLCWkpe1xhWn25tl MKo+XF+0zbAb4xQl6sZm8IDNFjB29aPxLCO+lNP8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.91.238.39]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MJmKh-1mu2851mpt-00KCdY for ; Sun, 16 Jan 2022 13:49:24 +0100 Date: Sun, 16 Jan 2022 13:49:23 +0100 Message-Id: <87r197kfqk.fsf@gmx.de> To: control@debbugs.gnu.org From: Michael Albinus Subject: control message for bug #53302 X-Provags-ID: V03:K1:vGT39zKGa+Od+hEZqJj7qQ5Z9RRgMxOTv/xHQfOFpB5Dxi/wUE5 KS0dlaAYcGVpAif4t33B3SAQRZ+Q2oSjeMZPCd/sRP/RXqCex2os+hy6QCM7DxJlQytUq3k aG7qwhd8lkuHqN36gxexhIf0DoJ4b+neystE2f4qmGyBiSaFkGk+SwewFfSuieVNfItf1La SDYqEsOXd+JUTISGvMLDg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:K8J/cID5zas=:bEBOAmGpZI4PeMhACpXu5p FNaUKehZHMvtqgLfG21U/OhHk+YPa1EnOWclU87k2uWorI9DlBRRzS9CQ+6NGc4zAKzMyRBa2 svXWqQ6+NE7VMtlTC2VIDfzDnA8EKYYt+YKZzjs3LQttvoWw9Popc1kOZb7nrAvPPYIE6/wCA PGurYRhDNKGy+g/zy92zB2PbTk+xnlZNRiHMBAgCXxHHIm+6NkpbV3ldjVm3fWkHPPDaIe5pq s16qndvxYcJackBuzOC+UDMCONGWd72a+Q6vmJG99/aBmitCGop3gVPRnqtlouI+va1BfQ8g1 5OvjAyxI/XqSxd1hlizouFIH/ff1Q3IDCIcFaWWLKnJXMXyyZ+DQurINWKyHbrwuy81HYwKiA 43tinyjvjJfmaINH55hHLbuNUVfQXb2yOWd8MeCbjGMxLa7LlWMzoSlr25gIhD8rTzksXgKJ6 XT7wQVqVe3xaUcQBZSaupiE3X901SnjilFoIE6I9lXRJDeYHvM554Zf+cdbY+yb5f5+lmpzjw zvLmlQE9ZlbkkKNztNARgdG6ORe6ZL4mtPdXUN2JBjbT+IovBw387pj3kgAUX9cHDWIWq3enS s+G/S2+Pp+fGddQ6i/b18VIkx+U0hua4d1uBNlNfKsfnT6G/91wYB3PSpdEzElIQM2lUHrRO1 W/Xeosl04gZ4KD97/0ta+kqQkcuXnRfV7W7OBIQEVwflkuEmZPRVm5SQAH3UjQEtnMgfK6pjK OnT6oDaTZL+lA4QBDdCJ97AdFhWsxyPE6lnbkWur0MVZIoU91je9svfj2rzIWQPGYCIpbuZlh RaSYVHZzSTv32LgPSrghCjjZSDPkZAZXVmqas2MPzPCZb1D4stLG9i0pJTMH5Igxm/mQA2gDy Szh5bDOmRR9JRPNwjLliYezUIWyG8W2YZI3U3M0x6IQSwXpGcw/E0eCJGn6Cw/GRuCs+Ss2Hp si7ao6i8Jr9d6QaEpE64NZofCw69GZpY4kkoHSw788FVbEun7zMg2EWb1GZN0xhTy17dzwHRM b1hhgvaH1D2Keo7VuRQpNomxNukhGCF0FYskEw6To45Bu8gi/04fWdofRRAPfx/LIciRFVQRJ xkLptGa/zo36UU= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) severity 53302 wishlist quit From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 21 07:00:33 2022 Received: (at 53302) by debbugs.gnu.org; 21 Jan 2022 12:00:33 +0000 Received: from localhost ([127.0.0.1]:60461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAsam-00058Y-NG for submit@debbugs.gnu.org; Fri, 21 Jan 2022 07:00:32 -0500 Received: from quimby.gnus.org ([95.216.78.240]:33974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAsal-00051F-NX for 53302@debbugs.gnu.org; Fri, 21 Jan 2022 07:00:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=t3mGUEHrNLIp3M0vLKfXmg5DqfsbHb+8QMzWQjxTvYc=; b=Ea7eIrlR2fIbFjYlhO1+99x/tp /CTlTjrq5EpBOWKwiu4zLqJY29qHy7ruVU2QIgtr29cz/gi2cVQwUQ81L1sy+zxZ9Cgf1kM/LiJrx 3fcn6WMsdRrWlrL9UeZOppeuhXdnTVCXUodKGgPrbNjOPt/zY+DD+GirU9dM+Ol6nfMs=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nAsac-000414-9O; Fri, 21 Jan 2022 13:00:24 +0100 From: Lars Ingebrigtsen To: Michael Albinus Subject: Re: bug#53302: 29.0.50; shell-command-on-region doesn't execute the command remotely References: <87v8yjdg1g.fsf@miha-pc> <87sftnkfr7.fsf@gmx.de> X-Now-Playing: Osees's _Levitation Sessions_: "Block Of Ice (Fade Out)" Date: Fri, 21 Jan 2022 13:00:21 +0100 In-Reply-To: <87sftnkfr7.fsf@gmx.de> (Michael Albinus's message of "Sun, 16 Jan 2022 13:49:00 +0100") Message-ID: <87r191qox6.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Michael Albinus writes: >> Or perhaps, a new command called something like >> 'shell-command-on-region-file' could be added that executed the command >> remotely. > > For consistency reasons, I prefer that shell-command-on-r [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 53302 Cc: 53302@debbugs.gnu.org, miha@kamnitnik.top X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Michael Albinus writes: >> Or perhaps, a new command called something like >> 'shell-command-on-region-file' could be added that executed the command >> remotely. > > For consistency reasons, I prefer that shell-command-on-region behaves > like the other functions of this family, shell and shell-command. And I'd be surprised if shell-command-on-region did anything remotely -- I'm asking Emacs to work on something in the current buffer, which is different from asking Emacs to execute a command in general (which is what `M-!' does). So I think everything here is working as designed, and I'm therefore closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 21 07:00:41 2022 Received: (at control) by debbugs.gnu.org; 21 Jan 2022 12:00:41 +0000 Received: from localhost ([127.0.0.1]:60464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAsav-0005IP-02 for submit@debbugs.gnu.org; Fri, 21 Jan 2022 07:00:41 -0500 Received: from quimby.gnus.org ([95.216.78.240]:33988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAsat-0005Ad-JA for control@debbugs.gnu.org; Fri, 21 Jan 2022 07:00:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=+oCtQ7WcoNmLJ2apidhRmylrxn/RQEZ3OvvWJgAq+N4=; b=jmfPWx62RcMwSDCz0vwhom7q4f Ve4CAPxyKK5swQ9BOY1SIPrysAPJ8EuiiLVlwroMrDGVwGjkhH2LxGEGlgGqdtV1k6kKeGsK/7Vg/ ve5BmP1nPc4vB4LNdKi0AG47TyGdAJg43evAj4cBiotuHAsiEMffEIelW22h+xxNPWb8=; Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nAsal-00041G-SQ for control@debbugs.gnu.org; Fri, 21 Jan 2022 13:00:34 +0100 Date: Fri, 21 Jan 2022 13:00:31 +0100 Message-Id: <87pmolqoww.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #53302 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 53302 wontfix close 53302 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 53302 wontfix close 53302 quit From unknown Fri Sep 05 08:20:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 18 Feb 2022 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator