Hi Michael,
* Michael Albinus <[email protected]> [2024-11-20; 16:44 +01]:
> Gregor Zattler <[email protected]> writes:
>> 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).
thanks.
> (dolist (host '("android" "android.lan" "android.lan#2222"))
> (connection-local-set-profiles
> `(:application tramp :machine ,host)
> 'tramp-connection-local-termux-profile))
>
> Untested, of course :-)
Works very well. Thanks again.
Ciao; Gregor
--
-... --- .-. . -.. ..--.. ...-.-