|
From: | Mark Geary |
Subject: | Re: How do I debug this? |
Date: | Wed, 6 Sep 2017 14:24:22 -0400 (EDT) |
User-agent: | Alpine 2.21 (BSF 202 2017-01-01) |
On Wed, 6 Sep 2017, Michael Albinus wrote:
Mark Geary <address@hidden> 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!
[Prev in Thread] | Current Thread | [Next in Thread] |