From: Angus Comber <anguscomber@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Emacs Help <help-gnu-emacs@gnu.org>
Subject: Re: Cannot connect to some hosts using tramp
Date: Thu, 17 Apr 2014 18:07:34 +0100 [thread overview]
Message-ID: <CAAtGUhW=RCuD5=RPmy33zBZcE4VsOi=p05rdKNbfZ_LjT1G_jQ@mail.gmail.com> (raw)
In-Reply-To: <CAAtGUhUTxp5aUD_sBXx2bx8Xu=_hwfBENYLUNb8C2gdjPzjyhA@mail.gmail.com>
Some feedback
It might have been me being dumb...
The first examples I saw for this specified: /<host>:<file> which I used.
But that doesn't work, for me anyway, although it is possible you can
configure a default username somehow.
So I can leave my emacs file as is - it seems the part I was missing was
adding the username.
So /<username>@<host>:<filename> works
As does /<username>@<host>: - where I get a directory listing.
You are prompted for a password of course.
On 17 April 2014 10:11, Angus Comber <anguscomber@gmail.com> wrote:
> Hmmm, yes that works.
>
> But I have nothing in my init.el file which seems to be related to tramp.
> However, I renamed my init.el file and tried without the -Q and it also
> worked.
>
> And it also now works without the plink. Eg /acomber@uk-rhel53qa32:
> works.
>
> Thanks. I will play about re-adding extracts of my init.el file to find
> out what screws it up.
>
>
>
>
> On 16 April 2014 19:53, Michael Albinus <michael.albinus@gmx.de> wrote:
>
>> Angus Comber <anguscomber@gmail.com> writes:
>>
>> > This is what I tried:
>> >
>> > m-x tramp
>>
>> ??? There is no command `tramp' ...
>>
>> > c-x c-f /plink:acomber@uk-rhel53qa32:myextract.txt
>> >
>> > Then I was prompted for my password. I entered password and get these
>> > odd messages in *scratch*:
>> >
>> > Invalid help command foo.
>> > open plink
>> > Unknown host plink.
>> > Invalid help command foo.
>> > open plink
>> > Unknown host plink.
>> >
>> > I am not sure what the bar is called in Emacs but the grey bar at the
>> > foot of Emacs says:
>> >
>> > -1\**- *ftp acomber@plink* All L7 (Internal Ange-ftp:no
>> > process)-------------
>>
>> That means definitely, that ange-ftp's entries in
>> file-name-handler-alist are active. They shouldn't.
>>
>> Let's start from scratch: Start a new Emacs with "emacs -Q". This
>> prevents all user defined settings. In that new Emacs, open a file
>>
>> c-x c-f /plink:acomber@uk-rhel53qa32:myextract.txt
>>
>> Does this work?
>>
>> > Angus
>>
>> Best regards, Michael.
>>
>
>
next prev parent reply other threads:[~2014-04-17 17:07 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-15 13:12 Cannot connect to some hosts using tramp Angus Comber
2014-04-15 14:22 ` Michael Albinus
2014-04-15 14:56 ` Angus Comber
2014-04-15 15:44 ` Grant Rettke
2014-04-15 17:28 ` Michael Albinus
2014-04-16 8:49 ` Angus Comber
2014-04-16 9:03 ` Michael Albinus
2014-04-16 16:02 ` Angus Comber
2014-04-16 18:53 ` Michael Albinus
2014-04-17 9:11 ` Angus Comber
2014-04-17 9:52 ` Michael Albinus
2014-04-17 17:07 ` Angus Comber [this message]
2014-04-17 15:13 ` Robert Thorpe
2014-04-15 14:24 ` Grant Rettke
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='CAAtGUhW=RCuD5=RPmy33zBZcE4VsOi=p05rdKNbfZ_LjT1G_jQ@mail.gmail.com' \
--to=anguscomber@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=michael.albinus@gmx.de \
/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).