From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Daniel Kraus Newsgroups: gmane.emacs.devel Subject: Re: Tramp rclone Date: Tue, 27 Nov 2018 17:44:13 +0800 Message-ID: <87bm6akg7m.fsf@kraus.my> References: <87in0m8vl9.fsf@gmx.de> <87tvk57qtz.fsf@kraus.my> <8736rp8s39.fsf@gmx.de> <87sgzp75od.fsf@kraus.my> <87va4l1i1n.fsf@gmx.de> <87k1l0yq1u.fsf@kraus.my> <87mupv8y9i.fsf@gmx.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1543312401 31468 195.159.176.226 (27 Nov 2018 09:53:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 27 Nov 2018 09:53:21 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 27 10:53:17 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gRa3R-00084L-CG for ged-emacs-devel@m.gmane.org; Tue, 27 Nov 2018 10:53:17 +0100 Original-Received: from localhost ([::1]:41009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRa5X-0001iM-UD for ged-emacs-devel@m.gmane.org; Tue, 27 Nov 2018 04:55:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gRZx4-0002Zs-TJ for emacs-devel@gnu.org; Tue, 27 Nov 2018 04:46:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gRZwz-0007YY-QH for emacs-devel@gnu.org; Tue, 27 Nov 2018 04:46:42 -0500 Original-Received: from mx2.mailbox.org ([80.241.60.215]:49084) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gRZwz-0007Xm-Ie for emacs-devel@gnu.org; Tue, 27 Nov 2018 04:46:37 -0500 Original-Received: from smtp2.mailbox.org (unknown [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id D32A0A1051 for ; Tue, 27 Nov 2018 10:46:35 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Original-Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id ZEKXD63RwuCc for ; Tue, 27 Nov 2018 10:46:34 +0100 (CET) In-reply-to: <87mupv8y9i.fsf@gmx.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 80.241.60.215 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:231439 Archived-At: Hi! Michael Albinus writes: > I have pushed a patch to master which should make tramp-rclone-mounted-p > more mature. There is still the edge case that using an rclone remote > file name as emacs argument in batch mode does not mount in all cases > (something like "emacs /rclone:drive:/"), but this is a corner case I'll > continue to investigate. Visiting an rclone remote file interactively > seems to work better now. 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: `find-file` and `cd` in eshell doesn't recognise the tramp rclone path at all. Best, Daniel ;; Emacs: 27.0.50 Tramp: 2.4.1-pre -*- mode: outline; -*- ;; Location: /usr/share/emacs/27.0.50/lisp/net/tramp.elc Git: makepkg/ed3ae= 3fc58c12bb413f52026c06320a5fff84084 17:26:25.403174 tramp-get-connection-property (7) # case-insensitive undef 17:26:25.403827 tramp-get-connection-property (7) # uid-integer nil 17:26:25.403880 tramp-set-connection-property (7) # uid-integer 1000 17:26:25.403928 tramp-set-connection-property (7) # gid-integer 1000 17:26:25.403971 tramp-set-connection-property (7) # uid-string daniel 17:26:25.404055 tramp-set-connection-property (7) # gid-string daniel 17:26:25.404518 tramp-get-connection-property (7) # uid-integer 1000 17:26:25.406463 tramp-handle-insert-directory (0) # Opening directory /rclo= ne:drive:... 17:26:25.425088 tramp-get-connection-property (7) # uid-integer 1000 17:26:25.425465 tramp-get-connection-property (7) # uid-integer 1000 17:26:25.426043 tramp-get-connection-property (7) # uid-integer 1000 17:26:25.426415 tramp-get-connection-property (7) # uid-integer 1000 17:26:25.426585 tramp-rclone-handle-file-system-info (5) # file system info: 17:26:25.426606 tramp-get-connection-property (7) # process-buffer nil 17:26:25.426627 tramp-get-connection-property (7) # process-buffer nil 17:26:25.426641 tramp-set-connection-property (7) # process-buffer nil 17:26:25.426667 tramp-get-connection-property (7) # about-args undef 17:26:25.426696 tramp-call-process (6) # =E2=80=98rclone about drive: --ful= l=E2=80=99 nil *tramp/rclone drive* 17:26:28.640146 tramp-call-process (6) # 0 Total: 128849018880 Used: 453080042 Free: 79889333029 Trashed: 4707349 Other: 48506605809 17:26:28.640272 tramp-get-connection-property (7) # process-buffer nil 17:26:28.640434 tramp-set-file-property (8) # used-bytes 453080042 17:26:28.640828 tramp-handle-insert-directory (0) # Opening directory /rclo= ne:drive:...done 17:26:28.641603 tramp-get-connection-property (7) # uid-integer 1000