From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74219: 29.4; TRAMP uses the same ad-hoc proxy for every docker container on remote hosts Date: Sat, 09 Nov 2024 10:40:37 +0100 Message-ID: <87fro0d9t6.fsf@gmx.de> References: <87msiaev7g.fsf@gmx.de> Reply-To: Michael Albinus Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11238"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 74219@debbugs.gnu.org To: Artem Smushkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 09 10:41:22 2024 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 1t9hy4-0002lF-E0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Nov 2024 10:41:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9hxo-0007pN-Qr; Sat, 09 Nov 2024 04:41:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9hxn-0007p6-7B for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2024 04:41:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t9hxm-0004AH-Ud for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2024 04:41:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=UyeaCUhBeyQ8OBhV/65aT6XhNba0ATd6T1uAyYpF+io=; b=eV7Mpl35f18uF3b2gWO+jEDcDX1tncr4HY2JrPfU9vUQ9uEvjzV16GHoyZVVIRWq1Ew6pcutfbCIH4PJmfVj/QKstG5VqYSti1U/tNaYcnRXxfBOkd78d/gmSkGA/XkiebkA8bJ2OOwf8a+c8cN9tGr0MOl8gtQXNmkyQSWFZh6GEob9pWD2vZD/eFjdMaQsxhqCcNXYz5e/dLrvOW0V+y8ICdjtalRr/lRcFX4sl1mw5kpFvsRo6kygDWAbodJSxGaLkfNx6EEee+DIMgyabpZC5l470JiVkEclYjE3tCd8wTUPKxi395xH5Ge6HwmWOLGOzx/AkCgG+plWgUW9Xg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9hxl-0002eE-Ok for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2024 04:41:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Nov 2024 09:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74219 X-GNU-PR-Package: emacs Original-Received: via spool by 74219-submit@debbugs.gnu.org id=B74219.173114524810147 (code B ref 74219); Sat, 09 Nov 2024 09:41:01 +0000 Original-Received: (at 74219) by debbugs.gnu.org; 9 Nov 2024 09:40:48 +0000 Original-Received: from localhost ([127.0.0.1]:53456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9hxY-0002da-2h for submit@debbugs.gnu.org; Sat, 09 Nov 2024 04:40:48 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:34297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9hxV-0002dH-Mz for 74219@debbugs.gnu.org; Sat, 09 Nov 2024 04:40:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1731145239; x=1731750039; i=michael.albinus@gmx.de; bh=UyeaCUhBeyQ8OBhV/65aT6XhNba0ATd6T1uAyYpF+io=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=aU+sm3MxyUo/1EcTXKj5sOQZcHjDgGgODBVnPxTeeDfct6UW8NgWiO5rxwF7Bug0 7xM0FZISuRWnbHU38Eoa0/+HlIzaXTOK0LjyDM5AHkIdmIpnBWH8Jwn75Z5T1jkU2 YK3XjjxOOZBCk7hTFpk6ajzLQXQo79/aPnEOG8Q6IecgLeW5o3FvqGl0iidTlAg/K vkDTa4rD7U5Cv8gKccalfxhXZhNd1upTMDmPDKuzV1upmv7hsMuJ2FTv41l8RpciN ssct0ABRe5dipj+5amiXSSFxll+7URZzRXHe2V3yFk6jVQXDVUZgMC+PLqGCy8rVx QOXexrSdbojWWvc09w== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MXp5Q-1tJe8Z06MG-00WIuE; Sat, 09 Nov 2024 10:40:39 +0100 In-Reply-To: <87msiaev7g.fsf@gmx.de> (Michael Albinus's message of "Thu, 07 Nov 2024 19:48:35 +0100") X-Provags-ID: V03:K1:OhUIiuaw38+LuadHlQ27hTBgu0atffuigMc8CpSDtWRqh5wDKDd vSvcIGqNDx6jbm/dfyqnw8h74X1MESdQ+fGKUacdFyAmv7Oj7qd0TSsAfqxuw9HBFR7BdlB 4x8yVtKHBdGOencWqFWqBINlimzH/+6Xo2cDpuy76fh+wcz4Y7Na+swULybAR2r0mIac44t WeqN4FsKElBb2QFJB9yYw== UI-OutboundReport: notjunk:1;M01:P0:wbtKlhZ8n60=;1O3F+nkwIK4OdJr4I2FKZsxdX+Z 8HNsL1/pYSQUkY9OeaKm/5ntFRNqOfWnhjOfSuquuB/DAAQA4UUyMQ1BiU1Y2toXQTMG4bXBz O9BbNbhF/3WtGaXObReBSL2hdu6/J4jk0PM5AALaNpKGseQLdHirgvi7xpCuXNch17ZXOUwz3 zXzlkZTUi0rFUg+q65IMvVY/kLLCqy/GRzm0quLCkl4Td4+9DEkA6pgidLcmH7I0AJI1steSY 8CWz2plOkMo/hfNUoRgom7wdsxYArx0EcCtmQlrWEp14WA/Rio0Mgf+iKf93kah4uqNpH6s+W JwKtxqmgjCZJzgQfTl1IgtnrovU9wiO7BjHEHKhJZyaIp+fO4ZMnNIMiZSUCIiaYuE8Zs+HvP Vc3NQid4bCMCDndLtNo/pxVIFB2TWOi+i7/Tq22tQ8J8hM/VSzwJT2adXrgg1citlDuR2cax3 P4a+xik+R7WO+baJubHAQVKoOuPjvVE8isxelt3eBGr5BAgE+bdXH1eUANPy/k9Yzvsvz59cm MY94liSLNrxaa4kf3SbLTiutlpd02pYPn92vefDLqlLLH8kLkzbAFHWk3iCoAHw8uxxhSg+mc 9BIeOow46iYSQV3T0iFp8rFM5c3PBPp4wxJLY/9MFV0tl03EMo46wEWfnAJ7Bi6FTj4YZ5a18 +CQ4hx2PyFSdI+hY6U4622vfkbdMq9P04mtUgDHNSEGCc5b2bAfTfrQub/ooIvGXhxi40Oibf cRkDlQdnI3KFj89/6z72+U3ppkdU++rlpe5CXcs8QXySrgWPP5bUwtlKVJPbwrxeW5Y6PCKT 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295115 Archived-At: Michael Albinus writes: Hi Artem, > That's not possible with Tramp. Not with the current design. The proxy > definitions are kept internally, and they apply in reverse order of > their appearance in the remote file names. I've checked the implementation, and it looks like adding this feature is not as expensive as I thought. So I have implemented it. Pushed to both Emacs and Tramp git repo, master branch. The Tramp manual has a new subsection "5.4.1 Using different proxies for the same destination" which explains this. In short, you must set tramp-show-ad-hoc-proxies to t. Do you have a chance to test it? Best regards, Michael.