tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I debug this?


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!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]