all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Daniel Kraus <daniel@kraus.my>
Cc: emacs-devel@gnu.org
Subject: Re: Tramp rclone
Date: Tue, 27 Nov 2018 13:18:55 +0100	[thread overview]
Message-ID: <87ftvmd87k.fsf@gmx.de> (raw)
In-Reply-To: 87bm6akg7m.fsf@kraus.my

[-- Attachment #1: Type: text/plain, Size: 1118 bytes --]

Daniel Kraus <daniel@kraus.my> writes:

> Hi!

Hi Daniel,

> It is still the same (no rclone process and nothing mounted)
> (see log below where I try do visit dired /rclone:drive: )
>
> Maybe I'm doing something wrong?
> After `emacs --debug-init -Q` I just eval (setq tramp-verbose 10)
> and then M-x dired with /rclone:drive:

> ;; Emacs: 27.0.50 Tramp: 2.4.1-pre -*- mode: outline; -*-
> ;; Location: /usr/share/emacs/27.0.50/lisp/net/tramp.elc Git: makepkg/ed3ae3fc58c12bb413f52026c06320a5fff84084

Hmm, this one looks strange. You are using git branch makepkg (a local
one), which points to git revision ed3ae3fc58c12bb413f52026c06320a5fff84084.
This is, at least in the master branch, a newer revision than my commit
from yesterday (f3328f995ee316cffa1a86117e6da2ba299d2c90). I guess, you
have merged the master branch into your makepkg branch.

However, tramp.elc is located at /usr/share/emacs/27.0.50/lisp/net/tramp.elc.
Do you have installed your latest Emacs compilation at this location?

Furthermore, does it help to remove the check for `non-essential' in
`tramp-rclone-maybe-open-connection'? That is


[-- Attachment #2: Type: text/plain, Size: 597 bytes --]

diff --git a/lisp/tramp-rclone.el b/lisp/tramp-rclone.el
index a1767ab3..a2cf8e64 100644
--- a/lisp/tramp-rclone.el
+++ b/lisp/tramp-rclone.el
@@ -489,7 +489,7 @@ file names."
   "Maybe open a connection VEC.
 Does not do anything if a connection is already open, but re-opens the
 connection if a previous connection has died for some reason."
-  (unless (or (null non-essential) (tramp-rclone-mounted-p vec))
+  (unless (tramp-rclone-mounted-p vec)
     (let ((host (tramp-file-name-host vec)))
       (if (zerop (length host))
 	  (tramp-error vec 'file-error "Storage %s not connected" host))

[-- Attachment #3: Type: text/plain, Size: 183 bytes --]


> `find-file` and `cd` in eshell doesn't recognise the tramp rclone path
> at all.

That's something else we don't need to care just now.

> Best,
>   Daniel

Best regards, Michael.

  reply	other threads:[~2018-11-27 12:18 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-24 13:16 Tramp rclone Michael Albinus
2018-11-24 13:56 ` Eli Zaretskii
2018-11-25  3:01 ` John Wiegley
2018-11-25  8:38   ` Michael Albinus
2018-11-26  1:39   ` Richard Stallman
2018-11-26  3:39     ` Eli Zaretskii
2018-11-26 20:50       ` Richard Stallman
2018-11-27 16:00         ` Michael Albinus
2018-11-28 11:25           ` Michael Albinus
2018-11-29  0:19             ` Richard Stallman
2018-11-30  9:46               ` Michael Albinus
2018-11-30 22:44                 ` Richard Stallman
2018-11-26 19:15     ` Michael Albinus
2018-11-27 22:55       ` Richard Stallman
2018-11-25  3:56 ` Daniel Kraus
2018-11-25  8:43   ` Michael Albinus
2018-11-25 11:33     ` Daniel Kraus
2018-11-25 12:02       ` Michael Albinus
2018-11-26 12:35         ` Daniel Kraus
2018-11-26 18:55           ` Michael Albinus
2018-11-27  9:44             ` Daniel Kraus
2018-11-27 12:18               ` Michael Albinus [this message]
2018-11-27 13:14                 ` Daniel Kraus
2018-11-27 13:32                   ` 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

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

  git send-email \
    --in-reply-to=87ftvmd87k.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=daniel@kraus.my \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.