From: Michael Albinus <michael.albinus@gmx.de>
To: Po Lu <luangruo@yahoo.com>
Cc: emacs-devel@gnu.org
Subject: Re: master babe6a5e948 1/2: Introduce a new TRAMP method `androidsu'
Date: Mon, 04 Mar 2024 15:47:46 +0100 [thread overview]
Message-ID: <87edcqf3zh.fsf@gmx.de> (raw)
In-Reply-To: <87edcq1xot.fsf@yahoo.com> (Po Lu's message of "Mon, 04 Mar 2024 11:29:54 +0800")
Po Lu <luangruo@yahoo.com> writes:
Hi,
>> Good question. So perhaps we must improve the check like (untested)
>>
>> (defsubst tramp-androidsu-file-name-p (vec-or-filename)
>> "Check whether VEC-OR-FILENAME is for the `androidsu' method."
>> (when-let* ((vec (tramp-ensure-dissected-file-name vec-or-filename)))
>> (and (eq system-type 'android)
>> (equal (tramp-file-name-method vec) tramp-androidsu-method)
>> (null (tramp-file-name-hop vec)))))
>
> Too bad the two methods still cannot share the same name, as in that
> case their respective entries in tramp-methods cannot coexist.
Hmm. Perhaps this could be fixed by using special `tramp-androidsu-*'
parameters in the "su" entry of `tramp-methods'. But this might go to
far; I let it for you whether you want to try it.
Best regards, Michael.
next prev parent reply other threads:[~2024-03-04 14:47 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <170892805989.23297.10872025500935567738@vcs2.savannah.gnu.org>
[not found] ` <20240226061420.EF1D4C00231@vcs2.savannah.gnu.org>
2024-02-26 8:51 ` master babe6a5e948 1/2: Introduce a new TRAMP method `androidsu' Michael Albinus
2024-02-26 9:02 ` Po Lu
2024-02-26 9:19 ` Michael Albinus
2024-02-26 10:54 ` Po Lu
2024-02-28 15:38 ` Michael Albinus
2024-03-02 14:53 ` Michael Albinus
2024-03-03 3:10 ` Po Lu
2024-03-03 10:00 ` Michael Albinus
2024-03-03 11:03 ` Po Lu
2024-03-03 11:31 ` Michael Albinus
2024-03-03 12:09 ` Po Lu
2024-03-03 12:17 ` Michael Albinus
2024-03-03 12:35 ` Po Lu
2024-03-03 12:50 ` Michael Albinus
2024-03-04 3:29 ` Po Lu
2024-03-04 14:47 ` Michael Albinus [this message]
2024-03-03 11:30 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87edcqf3zh.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=emacs-devel@gnu.org \
--cc=luangruo@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).