[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp-gvfs: parsing issues when using locale
From: |
Michael Albinus |
Subject: |
Re: tramp-gvfs: parsing issues when using locale |
Date: |
Fri, 16 Oct 2015 20:07:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Jürgen Hötzel <address@hidden> writes:
> Hi Michael,
Hi Jürgen,
> Another point: I'm still unsure, whether we shall call the method
> "google-drive", this sounds too long. Something like "gd" sounds
> better to me. See `tramp-gvfs-mount-spec', where we map already
> Tramp "smb" to FUSE "smb-share".
>
> Well thats the method used in Nautilus and all other GIO programs.
They have a GUI where you could select it in a widget. In Emacs, you
type it (modulo completion). And with Tramp names, one line in the
minibuffer is often too short; personally I dislike too long file names
there. Unreadable.
> And we shall declare "gmail.com" as default host, and maybe
> (user-login-name) as default user name for this method (I know,
> the latter one is questionable). Then one could access as
> "/gd::/path/to/file".
>
> Or user-mail-adress to get host and user-name?
Yes, but only if it contains a Google mail address. Otherwise, it would
be a too wide guess. Personally, I own a gmail.com account, but I don't
use it in my `user-mail-address'.
Well, `user-login-name' might also be misleading. So we could agree on this?
;;;###tramp-autoload
(when (string-match "\\(.+\\)@\\(gmail\\|googlemail\\)\\.com" user-mail-address)
(add-to-list 'tramp-default-user-alist
`("\\`gd\\'" nil ,(match-string 1 user-mail-address)))
(add-to-list 'tramp-default-host-alist
'("\\`gd\\'" nil "gmail.com")))
(Yes, the method name is not agreed yet between us ...)
> Regards
>
> Jürgen
Best regards, Michael.
- tramp-gvfs: parsing issues when using locale, Jürgen Hötzel, 2015/10/12
- Re: tramp-gvfs: parsing issues when using locale, Michael Albinus, 2015/10/13
- Re: tramp-gvfs: parsing issues when using locale, Jürgen Hötzel, 2015/10/13
- Re: tramp-gvfs: parsing issues when using locale, Michael Albinus, 2015/10/14
- Re: tramp-gvfs: parsing issues when using locale, Jürgen Hötzel, 2015/10/15
- Re: tramp-gvfs: parsing issues when using locale, Michael Albinus, 2015/10/15
- Re: tramp-gvfs: parsing issues when using locale, Jürgen Hötzel, 2015/10/15
- Re: tramp-gvfs: parsing issues when using locale, Michael Albinus, 2015/10/16
- Re: tramp-gvfs: parsing issues when using locale, Jürgen Hötzel, 2015/10/16
- Re: tramp-gvfs: parsing issues when using locale,
Michael Albinus <=
- Re: tramp-gvfs: parsing issues when using locale, Jürgen Hötzel, 2015/10/18
- Re: tramp-gvfs: parsing issues when using locale, Michael Albinus, 2015/10/19
- Re: tramp-gvfs: parsing issues when using locale, Jürgen Hötzel, 2015/10/21
- Re: tramp-gvfs: parsing issues when using locale, Michael Albinus, 2015/10/22
- Re: tramp-gvfs: parsing issues when using locale, Michael Albinus, 2015/10/20
- Re: tramp-gvfs: parsing issues when using locale, Jürgen Hötzel, 2015/10/20