On Wed, 6 Sep 2017, Michael Albinus wrote:
Mark Geary <[email protected]> writes:(add-to-list 'tramp-connection-properties (list (regexp-quote "\(scp\|ssh\):sfmg1[0-4]:") "remote-shell" "/usr/bin/bash")) doesn't work.(regexp-quote "\(scp\|ssh\):sfmg1[0-4]:") => "(scp|ssh):sfmg1\\[0-4]:" This is not what you want. You want (add-to-list 'tramp-connection-properties (list "\\(scp\\|ssh\\):sfmg1[0-4]:" "remote-shell" "/usr/bin/bash"))
Ah, I understand. I guessed at the function of regexp-quote and guessed wrong. Thanks. Mark Geary -- Fifty-four Forty or Fight! _______________________________________________ Tramp-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/tramp-devel
