From: Thierry Leurent <thierry.leurent@asgardian.be>
To: help-gnu-emacs@gnu.org
Subject: Tramp too slow to be usefull
Date: Tue, 01 Aug 2017 18:09:20 +0200 [thread overview]
Message-ID: <9945491.03ngrJWQ3Y@e6430> (raw)
Hello,
I'm trying to use tramp but it's very slow even I work with a local file owned
by root.
After asking to the "friend" Google, I don't find any solution.
I use emacs 25 on Linux Testing.
You can see my tramp configuration file.
(use-package tramp
:defer t
:config
(progn
(with-eval-after-load 'tramp-cache
(setq tramp-persistency-file-name "~/.emacs.d/backup_and_other_stuffs/
tramp$"))
(setq tramp-default-user-alist '(("\\`su\\(do\\)?\\'" nil "root"))
;; use the settings in ~/.ssh/config instead of Tramp's
tramp-verbose 9
tramp-default-method "ssh"
tramp-ssh-controlmaster-options
(concat "-o ControlPath=/tmp/tramp.%%r@%%h:%%p "
"-o ControlMaster=auto "
"-o ControlPersist=no")
tramp-use-ssh-controlmaster-options nil
backup-enable-predicate
(lambda (name)
(and (normal-backup-enable-predicate name)
(not (let ((method (file-remote-p name 'method)))
(when (stringp method)
(member method '("su" "sudo"))))))))
(use-package tramp-sh
:config
(progn
(add-to-list 'tramp-remote-path "/usr/local/sbin")
(add-to-list 'tramp-remote-path "/var/www/")
(add-to-list 'tramp-remote-path "~/bin")))))
Thnaks for your help.
Regards,
-----
Thierry Leurent
next reply other threads:[~2017-08-01 16:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-01 16:09 Thierry Leurent [this message]
2017-08-02 6:54 ` Tramp too slow to be usefull Michael Albinus
2017-08-21 20:44 ` Thierry Leurent
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=9945491.03ngrJWQ3Y@e6430 \
--to=thierry.leurent@asgardian.be \
--cc=help-gnu-emacs@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.
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).