unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: help-gnu-emacs@gnu.org
Subject: Re: tramp complains about host not in localhost regexp when using nextcloud
Date: Tue, 20 Jul 2021 16:31:14 +0200	[thread overview]
Message-ID: <8735s99hvx.fsf@gmx.de> (raw)
In-Reply-To: <878s229lwj.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Mon, 19 Jul 2021 19:52:12 +0100")

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> Hello,

Hi Eric,

> I'm sure I'm doing something silly but I am unable to use tramp to
> connect to a nextcloud instance.  Emacs complains that the host name
> 'does not match ...' where '...' is the local host regex.
>
> I have tried: /nextcloud:user@cloud.xxx.org: which I am *convinced*
> (famous last words) worked before for me.

This is silly, indeed. The nextcloud method shall not care about
tramp-local-host-regexp.

The complaint comes from tramp-compute-multi-hops. Have you tried
multi-hops, with nextcloud?

> My emacs is from git, up to date from sometime last week, using native
> compilation.
>
> So, what am I doing wrong or what have I forgotten to do?

This calls for traces. Set tramp-verbose to 6, rerun your test, and show
the Tramp debug buffer. Preferably, from a new Emacs instance, started
with "emacs -Q".

> Thank you,
> eric

Best regards, Michael.



  reply	other threads:[~2021-07-20 14:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-19 18:52 tramp complains about host not in localhost regexp when using nextcloud Eric S Fraga
2021-07-20 14:31 ` Michael Albinus [this message]
2021-07-21 11:03   ` Eric S Fraga
2021-07-24  9:59     ` Michael Albinus
2021-07-24 14:17       ` Eric S Fraga
2021-07-24 18:49         ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8735s99hvx.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=e.fraga@ucl.ac.uk \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).