tramp-devel
[Top][All Lists]
Advanced

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

Re: Rclone?


From: Michael Albinus
Subject: Re: Rclone?
Date: Wed, 28 Nov 2018 09:27:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

"Ben Hyde" <address@hidden> writes:

Hi Ben,

> I spy:
>
> Tramp: Opening connection for dropbox_ben using rclone...
> Host name ‘dropbox_ben’ does not match 
> ‘\`\(127\.0\.0\.1\|::1\|elm-3\.local\|localhost6?\)\'’

This looks like tramp-rclone.el hasn't been loaded.

> when I try to visit “/rclone:dropbox_ben:”
>
> The rclone config for dropbox_ben is fine, i.e. I can rclone mount it,
> ls, etc.
>
> I set this up as so:
>
>   (use-package tramp
>     :quelpa (tramp :fetcher git
>                    :url "git://git.savannah.gnu.org/tramp.git"
>                    :files ("lisp/*.el"))
>     :commands (tramp-file-prefix)
>     :config
>     (progn
>       (require 'tramp-compat)
>      ….)
>
> The :quelpa clause is new, so I now get a fresher tramp, and the
> require of tramp-compat seemed to
> help so I had tramp-with-mutex.

I don't know the :quelpa argument, but likely it does what it says:
fetching the Tramp sources "lisp/*.el". However, Tramp's *.el files
cannot be taken as-is. Additionally, trampver.el and tramp-autoloads.el
must be generated, this is what Tramp's Makefile does.

I rather recommend you to clone Tramp's git repository, and to run the
usual "./configure; make".

And maybe somebody who knows the `use-package' :quelpa mechanism could
enhance your recipe to a proper installation. There's also something
like ":commands (tramp-file-prefix)" I don't understand. I'm not aware
of a Lisp object `tramp-file-prefix'. I would be willing to help (and to
add the final recipe to the Tramp manual, when working).

> * ben

Best regards, Michael.



reply via email to

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