[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master babe6a5e948 1/2: Introduce a new TRAMP method `androidsu'
From: |
Michael Albinus |
Subject: |
Re: master babe6a5e948 1/2: Introduce a new TRAMP method `androidsu' |
Date: |
Sun, 03 Mar 2024 11:00:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Po Lu <luangruo@yahoo.com> writes:
Hi,
>> Btw, all what I propose in the following is just based on code reading. I
>> have no chance to test it. Does there exist an emulation, where I could
>> run Emacs in an Android environment? Note that I'm a n00b wrt Android
>> development. tramp-adb.el was contributed by somebody else, and I test
>> it on my Samsung Galaxy S6 and Pixel 6.
Do you have a recommendation how I could use an emulator?
>> This is not very convenient. Why not using the method "su"? It is
>> obvious, that on `android' systems `tramp-androidsu-file-name-handler'
>> is used, and `tramp-sh-file-name-handler' otherwise. We have already a
>> similar constellation: the "smb" method is implemented in both
>> tramp-smb.el and tramp-gvfs.el.
>
> That's fine by me, but please explain how to implement this or direct me
> to documentation with this information, because I did not find any that
> covered writing new methods.
It's not documented :-(
I cannot test myself, but the appended patch might do. Could you, pls, check?
Best regards, Michael.
txtGugGtIXtl7.txt
Description: Text Data
- Re: master babe6a5e948 1/2: Introduce a new TRAMP method `androidsu', Michael Albinus, 2024/03/02
- Re: master babe6a5e948 1/2: Introduce a new TRAMP method `androidsu', Po Lu, 2024/03/02
- Re: master babe6a5e948 1/2: Introduce a new TRAMP method `androidsu',
Michael Albinus <=
- Re: master babe6a5e948 1/2: Introduce a new TRAMP method `androidsu', Po Lu, 2024/03/03
- Re: master babe6a5e948 1/2: Introduce a new TRAMP method `androidsu', Michael Albinus, 2024/03/03
- Re: master babe6a5e948 1/2: Introduce a new TRAMP method `androidsu', Po Lu, 2024/03/03
- Re: master babe6a5e948 1/2: Introduce a new TRAMP method `androidsu', Michael Albinus, 2024/03/03
- Re: master babe6a5e948 1/2: Introduce a new TRAMP method `androidsu', Po Lu, 2024/03/03
- Re: master babe6a5e948 1/2: Introduce a new TRAMP method `androidsu', Michael Albinus, 2024/03/04
Re: master babe6a5e948 1/2: Introduce a new TRAMP method `androidsu', Michael Albinus, 2024/03/03