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 19:47:59 +0200 Message-ID: <878r0l4ipc.fsf@gmx.de> References: <171506857890.22154.1102080900890818821@vcs2.savannah.gnu.org> <20240507075619.C1E19C2BC75@vcs2.savannah.gnu.org> <87h6f94owd.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32641"; 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 19:48:49 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 1s4Ovp-0008GM-FH for ged-emacs-devel@m.gmane-mx.org; Tue, 07 May 2024 19:48:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s4Ov9-0005K6-Qm; Tue, 07 May 2024 13:48:07 -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 1s4Ov7-0005Ju-Ek for emacs-devel@gnu.org; Tue, 07 May 2024 13:48:05 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s4Ov5-0004Vl-G3 for emacs-devel@gnu.org; Tue, 07 May 2024 13:48:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de; s=s31663417; t=1715104080; x=1715708880; i=michael.albinus@gmx.de; bh=yYbdYvrgdEcflaXCDpzIVLIfIQKTUM2O903vUB7L4UQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=IWkRiSJW6w/tlfZcSXgmEVONwL9WeSdJpU5EctsFMPIWQE2UYTHqx7W8EphUOv0s Np9UQkOXsex5whq95ZsVPHnhZlg88YNUnYXHazyqI27PUFvLWrwWMehCL+AMXhK1L spIZVjmfhkyP0+hlsp9fEqV9AflhKPan82TEOhBIehclNqb0HvLT9+5Xxg+wbXGe3 UeOkaT/rIo8tC9o2XwHIvpH2lnmtwyTPBuE8XoSMDokiBP6xBUvaNKoB143qm8W6u nRFUUE/3COqgd1QvTm2SPXWE3NWjNfG41CHM4YQbCRh5VFVZGK/zxwYpLu3+gC/Ox xWHEFnuTx41Hu5FhFw== 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 1MKsnP-1sL6Hq44YX-00KbqV; Tue, 07 May 2024 19:48:00 +0200 In-Reply-To: <87h6f94owd.fsf@gmx.de> (Michael Albinus's message of "Tue, 07 May 2024 17:34:10 +0200") X-Provags-ID: V03:K1:2uxvOruZET/n4Ntx5dUYbocKg3HDYJmMkYGMFQKA/h+TTsehaHt CfyG5qmR7cceyV/h7eLREFM4+Yk291/4GqS2eGUlp6HZTI0P/hGzYVoIJ9pQaFORcHOdiHu IMrbKPkA8OPJB0XS4liCQvjQMt/C8uJ+pwhob0miVdY848SE52QJJ5St4Lmu0Tt2qlqQllI dr8K0xkaCJ5914Zkcca3A== UI-OutboundReport: notjunk:1;M01:P0:0uFpz4Ji+aI=;YexOSfRYRtEqLJ/ko96h08aDYff mjS7YdkmO6TeWcrqXhsbhwFlzWHKs8HnFRjaNAy9r6pny0AgFIPW2mQ8SWYUzJUoC8Ma940j1 n37uA0CCoCoK55J1yM/817//pDXSR8zB1BkLrOcjWp8uYQDDUDsmUUSxA3UfgqT+M/GcyQEfG QtKOlGFID5TrkvpTTeUT8btGoIy6JOwonGWzxFn82EQSjhCDyvUdySLyOKNutHjgDCEa/TjrB +bWk35PhfuJhOVexMlrHFO/SiMU25Z86wGgDIPgL46sMuz84Qyi/hNuH5bPAlPFLOj9R9qHx8 JbNMiEHXya6g2v9rhjXO5fIMNqE3ROKoeNwmhDQfA2023LToHZYpM6ftN2T/Lt43US8Rs1nqK k45Hndvw13ZZfD207lS5HvSE2TcnVoiCJGCI7k2CX98WD4iqZKawCmPVZbdsCkeNUV+NFbp5k taPgbIGlE6T4Ms60K4xtr5Mjor1wdlsRyOfrhXL7JSWvqgsxCWpZJO3v8MefwJcOcwwu25RTX v6uFlFcdtgZpY3CW8+cvq91djX1hIxA8AC4awG9noYDDoUJV0Pfi/W9tHa7MEE8Yx7qunMNVm ygNqpNrBJCo7/hNheSTsANTUJUo3Lo/7xPQJVe0IMc6bEw3IMtidmOfo65nd/9cr8d+l7poaS h1YK33wAwq6sqSw5cF/zjRM8bzLWBLbbayfBIz3vKfylZurb9zox82pFjtndcOWnnWogpY7VL VwJyMN2QpW/8rKVDTE6r+2Vm8MuIp8LIdu5OJn7cPomEAj/qEZiU9KT9Ssk1/34iWaSIMb/3 Received-SPF: pass client-ip=212.227.15.15; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 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_H2=-0.001, RCVD_IN_SBL_CSS=3.335, 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:318966 Archived-At: Michael Albinus 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? > > diff --git a/lisp/tramp-androidsu.el b/lisp/tramp-androidsu.el > index 3dcee8e2..09dcd4d7 100644 > --- 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. I could reproduce the problem locally. The proposed fix cures it, so I have pushed it to master. Best regards, Michael.