From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: emacs-30 f050b9c5033: Fix Tramp IPv6 handling in tests Date: Mon, 05 Aug 2024 18:57:07 +0200 Message-ID: <87mslqoql8.fsf@gmx.de> References: <172163502862.25672.12565431460737995012@vcs2.savannah.gnu.org> <20240722075709.1C23CC41F06@vcs2.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23792"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Madhu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 05 18:58:03 2024 Return-path: Envelope-to: ged-emacs-devel@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 1sb123-0005wc-3a for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Aug 2024 18:58:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sb11O-0007j4-7F; Mon, 05 Aug 2024 12:57:22 -0400 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 1sb11L-0007aH-Rp for emacs-devel@gnu.org; Mon, 05 Aug 2024 12:57:20 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sb11H-0005RA-Tp for emacs-devel@gnu.org; Mon, 05 Aug 2024 12:57:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1722877028; x=1723481828; i=michael.albinus@gmx.de; bh=8T+nrGlpAHXVQFf7nQXynlwFzNZcXojJEoZibPPeODs=; 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=haoq92I5U7d8mUxNbG31RoeI1TijcJXYmcnc5m0snGxb3TCxM31h6LW6E067f8VB ANDzpsCNPeEeToBRvfxw/EBkw0W+SYHJgXc2bOGIT55rCIM06TcUhjtmr4sgw/+Q/ tfss3aMWYIzIRVvWH0e5nZzzt4cFkfhvofObnGKJKfIWLeStebOJRaA88qMpkZnzk wLgCTK4TBvOP4/C+WtBbkszTTvqtwslbjDXoyZYKmb+pjrZLxPPnAAsTlSIZ1zKND TI2MMvOpConMIRsm8mK9LjqPw8yL4aH2Cgv+pY+/9ZjP4LNx1jaqq4S0/1tQ+PaTW o49aUQDd7tjF5/52ig== 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 1M1Ygt-1sdVC32e1z-00HLV9; Mon, 05 Aug 2024 18:57:08 +0200 In-Reply-To: (Madhu's message of "Mon, 05 Aug 2024 20:00:38 +0530") X-Provags-ID: V03:K1:Sh8eW57BYecqvAxjzA2eNgLya/76yD+3NxMITY4aMk17vmL4lY4 Qmi1OQe8Mbc4pnEJuBOaUfU4d7NtY3/ZCrlEVrcH5S369jSNXPz3nCFV/33JrkTGp0gDLMp Rc+gZ/dsAFmHZF7pET3Ts/sWQzbnK8zsGvI+6NCkPYyiZqO28a1mRlXEOPrFwKuGFQ8y3iy 6QUN2l1CPT+zxES4kvCaQ== UI-OutboundReport: notjunk:1;M01:P0:jQUKPVZdWqA=;kvXwgw3jCExx8aV9yQeFemFsiYV xT+UVNvsYYmyeCn35BxFc3ZcGGV+13mS+/iZT+Af2COyLiiOdEZwNgRJJd3WRTQEdEm08rM4+ JxmcAhz4N9zhQQFdcUmjh4jx8qhA2XnV1FTTSNgtxW3q9I16TVPkEDaH5uovgD4Omy4xO/cG9 4iyqw+8hLOmd8d7GD2cN1CahkkoQYF5F6zLWoUugdy2ASLKWsBCGNVbZOmccFc+hevLja8rbZ jplWXI9ayBBhxjiBNrgZ8nDUdNivR5uIcOIBtr6VpCUn7g8PaKjJCbONLizxu74p3SxJE7EyE 2bk2/sDcoecxPyiiwCVGOXseQP1ggM4c2HdVRMK16jis7afSkGK1hPX3OnT0pkGqkC5+mJi99 fwV+5TLSZg7kGQfses/I+1+AVbDofpxTs5ricYv30MyFNksH0jRydHaVEUEw0os/Hl4i8C3d3 bR6BUdNpxJsSzIGIX/E/AmBG96Is65B0RNbxnLMdnb5g15Zox6uHNitIccS9Gv8OhoXk2+Xrc kpfVypcm6B/w2xXachtgsyUcHoe9ZLZopkX5pKln1Tslwxlcxt+UykmgdRT0jIkhj4zeVqKh1 FdELAxBDWrbiumXpkQ+rdkD3LZytpysIS3fZXwH8GCorMkynFocbaqn8V9iIj79s04UYofrAC KZ/6e7yxqsHkEvyKorxCYzo69LzOvPmLsjRoG7VkbyVB8GjOvbGAUHYxjKFOfCmIVNHM1K9qM ZdqrVRJISE0tftXc+T+M1x9Lof9R3ZqrTZBiSu0YnYK2FJ7Kab/H3fqRdumBukgqCpNYyOaI Received-SPF: pass client-ip=212.227.17.21; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:322396 Archived-At: Madhu writes: Hi Madhu, >> ;;; Integration of shortdoc.el: >> >> (with-eval-after-load 'shortdoc >> - (dolist (elem '((file-remote-p >> + (dolist (elem `((file-remote-p >> :eval (file-remote-p "/ssh:user@host:/tmp/foo") >> - :eval (file-remote-p "/ssh:user@host:/tmp/foo" 'method)) >> + :eval (file-remote-p "/ssh:user@host:/tmp/foo" 'method) >> + :eval (file-remote-p "/ssh:user@[::1]#1234:/tmp/foo" 'host) >> + ;; We don't want to see the text properties. >> + :no-eval (file-remote-p "/sudo::/tmp/foo" 'user) >> + :result ,(substring-no-properties >> + (file-remote-p "/sudo::/tmp/foo" 'user))) > > just a caveat that substring-no-properties can end up being called on > nil here. I agree it is unlikely, but I managed to trigger it with the > `swiper' package, where an unconditional (require 'tramp) in the midst > of code kept failing. In that case (file-remote-p returns nil) the whole block doesn't make sense. How did they manage to manipulate Tramp this way? Setting tramp-mode to nil? Manipulating file-name-handler-alist? Best regards, Michael.