Re: tramp does not see bash, inotify-tools on my android/termux
Michael Albinus <[email protected]> Wed, 20 Nov 2024 16:44:32 +0100
| Newsgroups | gmane.emacs.tramp |
|---|---|
| Message-ID | <[email protected]> |
Gregor Zattler <[email protected]> writes: > Hi Michael, Hi Gregor, > Is the string "android" in this setting : > > (connection-local-set-profiles > '(:application tramp :machine "android") > 'tramp-connection-local-termux-profile) > > a regexp? No. It is the host name (plus port, if specified). > I'm having trouble to have one setting > which covers various ways to name the > same machine, hiere: > > andrid > android.lan > android.lan#2222 > > etc. But this is a minor concern, i can > use the same way of addressing the machine. > (connection-local-set-profiles > '(:application tramp :machine "android") > 'tramp-connection-local-termux-profile) (dolist (host '("android" "android.lan" "android.lan#2222")) (connection-local-set-profiles `(:application tramp :machine ,host) 'tramp-connection-local-termux-profile)) Untested, of course :-) > Ciao; Gregor Best regards, Michael.