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: master 4808c63d43f: Add Tramp method "apptainer" Date: Tue, 07 May 2024 17:34:10 +0200 Message-ID: <87h6f94owd.fsf@gmx.de> References: <171506857890.22154.1102080900890818821@vcs2.savannah.gnu.org> <20240507075619.C1E19C2BC75@vcs2.savannah.gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17373"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 07 17:35:22 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 1s4Mqf-0004Kq-Vn for ged-emacs-devel@m.gmane-mx.org; Tue, 07 May 2024 17:35:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4Mpz-0004nK-Cy; Tue, 07 May 2024 11:34:39 -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 1s4Mpk-0004lX-1o for emacs-devel@gnu.org; Tue, 07 May 2024 11:34:24 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s4Mpg-0005VK-O8 for emacs-devel@gnu.org; Tue, 07 May 2024 11:34:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1715096051; x=1715700851; i=michael.albinus@gmx.de; bh=ppEDjLzpesILxLPp+QgwcxIcImO8daNk3vt2lXjZ0M0=; 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=llR7NG+Df+nvRVrjbVE+NKa2YJzr1C4mOww6zDhT+mrD1HLEsaJ1qki7yoZMjwWY 9u68UlJwOTgxZTm8fN9xa9z93D71O5SEPKTmTtBKahwlt+r1aE2yo7QDE5dncraLO sw5XcGab6oERF5OPMD9i8TGib09gDpoOu6ASgE1+qmomo/O3bmV3bSSrh7wksD/5X HZjiZZIRu2QVo27Ahu4jk+sr15xy0FRK/bPeprAxS53pwH6x8n3KXAZ1WujYFibvP f7mPGRWZW0oNSGKHT2NgWUuWBxNfccjGhLQUWeu3kwSsSsoFMAWQnuUin/hk60LGD xEfgtwA7ch/Xsnm9hw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.4]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MdNY2-1sdha72GDg-00bBu5; Tue, 07 May 2024 17:34:11 +0200 In-Reply-To: (Po Lu's message of "Tue, 07 May 2024 22:59:30 +0800") X-Provags-ID: V03:K1:H+ZFDziRgpDaCeV/v3bAOtXtNfxED8Kv1Mwyybc1W0GlJo2q9Yw iAufUkOQn1kIx5lohLeqyg3z1B/AprCGp/ODExHzylxMQVFgmpSFgqBVqycJGpRaRBsBcfJ mZsFkIGPhjnhu0+KNZPYs4FlGkVe7BfRPHwKMi5EN/Cf30j4rfObrjYHmP8JcEUqHG13dWl 37T5Fk+f/tsOG2/3zL65Q== UI-OutboundReport: notjunk:1;M01:P0:/Pbz+Ti1IjY=;QCyd5riKdBi9fk0/u+KxNCLOVGD WlZMbCFxU7mql+/ESlddEtyPyA40ZoZdMNc+0vCyCjP2Cd6ebMI4CwtWk1d+7ASHk4TVgSCZD DzcMDG8suMX4W6gJkzGbe8bOi45xIeXpppA2e1MpSrcc6ScKAjoN558j1w4gwVDlQSNaEW48/ k1iz+o505vl6F/vFySkExNBK14nl+Y4Jj2qmuarsE2rAcU8Gxon4TwCzHedXrk8TlLh1fxxri TI7PZ8lN3MsPMgsj8c5SJn2Fb2PqpeMSI2aUBbRGeDo/f34+Xd/CkOm+SdCP0Tb5dDNNpsrEn ObSMf+DDCmKVy3GHw79+pAfVhEznF47BH0zfPWuXGeqRnd9qtNik4jMT2zOnGevxD5JJod9k8 SGILGMDahkDRGm+GqfMn4Eyv/is8aGHhqqdkX69u2XpYPW6osgxya9IevGmbHkVdbHBd+dGNy BSrL0yGO8rolakItx9F0zZnRtWivGZzwOTGaOP8mCjnnFASeY0MFCTZmPlDHMfWHpdwWQ5l25 1lLCzctqH2dHDjVJXJGLj+QYMTpVuuMELU/PDs/acG29BR00Z7LVBFlCWAosPT3WqqIbZ9SK8 h63jEyhvZHoSFb+PoQ4T9AcBLSn7+oLz5+l7JVC1wTPuEAnMHwt3yVTN07s3yaxaxB0GxUgCR 2U7tF6zp5Hv/LN8V7LLBbpPwjpv8wMycQ6BdIJPiQAOysaKofmg4DYIGP8rWxQquYzrmSSOEv 0uAlvf08llohqZ+zor16z+z9R+3JSO8AKj+T2zI5ovmPnyEAxMDtB1UL903bVv4hxut7TeHL Received-SPF: pass client-ip=212.227.15.18; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: 18 X-Spam_score: 1.8 X-Spam_bar: + X-Spam_report: (1.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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_SBL_CSS=3.335, RCVD_IN_VALIDITY_RPBL=1.31, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:318952 Archived-At: --=-=-= Content-Type: text/plain Po Lu writes: Hi, > With this change, Tramp ceases to be autoloaded on Android, and when > manually required, signals an error as follows: Oops. Does this help? --=-=-= Content-Type: text/x-patch Content-Disposition: inline Content-Transfer-Encoding: quoted-printable diff --git a/lisp/tramp-androidsu.el b/lisp/tramp-androidsu.el index 3dcee8e2..09dcd4d7 100644 =2D-- a/lisp/tramp-androidsu.el +++ b/lisp/tramp-androidsu.el @@ -94,8 +94,9 @@ may edit files belonging to any and all applications." `(,tramp-androidsu-method nil ,tramp-root-id-string))) ;;;###tramp-autoload -(when (eq system-type 'android) - (tramp-enable-androidsu-method)) +(tramp--with-startup + (when (eq system-type 'android) + (tramp-enable-androidsu-method))) (defvar android-use-exec-loader) ; androidfns.c. --=-=-=--