Thierry Volpiatto <[email protected]> writes: > Michael Albinus <[email protected]> writes: > >> And indeed, it is overwritten by another value for "sudo" in >> tramp-methods: >> >> --8<---------------cut here---------------start------------->8--- >> ("sudo" >> (tramp-login-program "sudo") >> (tramp-login-args >> (("-u" "%u") >> ("-s") >> ("-H") >> ("-p" "Password:"))) >> (tramp-remote-shell "/bin/sh") >> (tramp-remote-shell-args >> ("-c")) >> (tramp-connection-timeout 10)) >> --8<---------------cut here---------------end--------------->8--- > > So what is the purpose of having a defcustom for `tramp-connection-timeout'? > (Setting it globally from here will have no effect on some methods)
The final idea is to let set it (and all parameters in tramp-methods) depending on host etc, like you could already do it with default method, user, host. That's not implemented yet. Maybe I should give it a drive. > BTW 10s for sudo (and others) is far to low and annoying especially when > 2 passwd have to be entered (gpg+local). Hmm, different use cases. I have introduced the 10 sec delay for sudo-alike methods, when I was blamed for the long 60 seconds for them. But 10 seconds might be too short in some cases, indeed. Maybe 20 seconds is a better compromise. I'll think about. > Thanks. Best regards, Michael. _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
