aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2008-12-04 20:44:11 +0000
committerMichael Albinus2008-12-04 20:44:11 +0000
commitccb4a48152f46c56eadb8bd94218aaa06de94dca (patch)
tree1220e7decaa6400cf462f57a01e05d028d5eca24
parent063e5167c85d40df6c49ae35d7c74285eb2612c8 (diff)
downloademacs-ccb4a48152f46c56eadb8bd94218aaa06de94dca.tar.gz
emacs-ccb4a48152f46c56eadb8bd94218aaa06de94dca.zip
* net/tramp.el (top): Write a message, when loading Tramp.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/net/tramp.el13
2 files changed, 20 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0699978fb95..53a9806f613 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12008-12-04 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp.el (top): Write a message, when loading Tramp.
4
5 * net/tramp-cache.el (tramp-dump-connection-properties): Polish
6 the check, whether to dump the data.
7
12008-12-04 Lute Kamstra <lute@gnu.org> 82008-12-04 Lute Kamstra <lute@gnu.org>
2 9
3 * vc-cvs.el (vc-cvs-could-register): Don't use file-directory-p to 10 * vc-cvs.el (vc-cvs-could-register): Don't use file-directory-p to
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 290fa2b8e89..83f87472dfd 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -59,6 +59,13 @@
59 59
60;;; Code: 60;;; Code:
61 61
62;; Since Emacs 23.1, loading messages have been disabled during
63;; autoload. However, loading Tramp takes a while, and it could
64;; happen while typing a filename in the minibuffer. Therefore, Tramp
65;; shall inform about.
66(when (and load-in-progress (null (current-message)))
67 (message "Loading tramp..."))
68
62;; The Tramp version number and bug report address, as prepared by configure. 69;; The Tramp version number and bug report address, as prepared by configure.
63(require 'trampver) 70(require 'trampver)
64(add-hook 'tramp-unload-hook 71(add-hook 'tramp-unload-hook
@@ -7463,6 +7470,9 @@ Only works for Bourne-like shells."
7463 (unload-feature 'tramp 'force) 7470 (unload-feature 'tramp 'force)
7464 (error nil))) 7471 (error nil)))
7465 7472
7473(when (and load-in-progress (string-match "Loading tramp..." (current-message)))
7474 (message "Loading tramp...done"))
7475
7466(provide 'tramp) 7476(provide 'tramp)
7467 7477
7468;;; TODO: 7478;;; TODO:
@@ -7562,6 +7572,9 @@ Only works for Bourne-like shells."
7562;; "-t". (Markus Triska) 7572;; "-t". (Markus Triska)
7563;; * Support IPv6 hostnames. Use "/[some:ip:v6:address:for:tramp]:/", 7573;; * Support IPv6 hostnames. Use "/[some:ip:v6:address:for:tramp]:/",
7564;; which is the syntax used on web browsers. (Óscar Fuentes) 7574;; which is the syntax used on web browsers. (Óscar Fuentes)
7575;; * Add gvfs support.
7576;; * Set `tramp-copy-size-limit' to 0, when there is no remote
7577;; encoding routine.
7565 7578
7566;; Functions for file-name-handler-alist: 7579;; Functions for file-name-handler-alist:
7567;; diff-latest-backup-file -- in diff.el 7580;; diff-latest-backup-file -- in diff.el