diff options
| author | Michael Albinus | 2009-08-25 10:26:16 +0000 |
|---|---|---|
| committer | Michael Albinus | 2009-08-25 10:26:16 +0000 |
| commit | 0b35b48e669bea042d07ceda09e029be5e9ff3f0 (patch) | |
| tree | 390f3eb2128e872f21c235712836136d7039bb8f | |
| parent | 93fb0645d6ab5d42f9cf6943b476f44ad0d0ae82 (diff) | |
| download | emacs-0b35b48e669bea042d07ceda09e029be5e9ff3f0.tar.gz emacs-0b35b48e669bea042d07ceda09e029be5e9ff3f0.zip | |
* net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
daemon. Replace ping by checking for running service for bluez
and zeroconf. (Bug#4239)
| -rw-r--r-- | lisp/ChangeLog | 24 | ||||
| -rw-r--r-- | lisp/net/tramp-gvfs.el | 6 |
2 files changed, 27 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e7eba8aeac1..cb2b6ebe789 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,27 @@ | |||
| 1 | 2009-08-25 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * simple.el (process-file-side-effects): New defvar. | ||
| 4 | |||
| 5 | * dired-aux.el (dired-show-file-type): | ||
| 6 | * vc.el (vc-diff-internal): | ||
| 7 | * vc-arch.el (vc-arch-diff): | ||
| 8 | * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table): | ||
| 9 | * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table): | ||
| 10 | * vc-git.el (vc-git-registered, vc-git-working-revision) | ||
| 11 | (vc-git-find-revision, vc-git-diff, vc-git-revision-table) | ||
| 12 | (vc-git--empty-db-p): | ||
| 13 | * vc-hooks.el (vc-user-login-name): | ||
| 14 | * vc-svn.el (vc-svn-registered, vc-svn-state) | ||
| 15 | (vc-svn-dir-extra-headers, vc-svn-find-revision): | ||
| 16 | * progmodes/grep.el (grep-probe): Let-bind | ||
| 17 | `process-file-side-effects' with nil. | ||
| 18 | |||
| 19 | * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT. | ||
| 20 | |||
| 21 | * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS | ||
| 22 | daemon. Replace ping by checking for running service for bluez | ||
| 23 | and zeroconf. (Bug#4239) | ||
| 24 | |||
| 1 | 2009-08-25 Kevin Ryde <user42@zip.com.au> | 25 | 2009-08-25 Kevin Ryde <user42@zip.com.au> |
| 2 | 26 | ||
| 3 | * net/dig.el (dig): Add autoload cookie. | 27 | * net/dig.el (dig): Add autoload cookie. |
diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el index 3091197cad8..8ef65459cb7 100644 --- a/lisp/net/tramp-gvfs.el +++ b/lisp/net/tramp-gvfs.el | |||
| @@ -144,7 +144,7 @@ | |||
| 144 | "The well known name of the GVFS daemon.") | 144 | "The well known name of the GVFS daemon.") |
| 145 | 145 | ||
| 146 | ;; Check that GVFS is available. | 146 | ;; Check that GVFS is available. |
| 147 | (unless (dbus-ping :session tramp-gvfs-service-daemon) | 147 | (unless (dbus-ping :session tramp-gvfs-service-daemon 100) |
| 148 | (throw 'tramp-loading nil)) | 148 | (throw 'tramp-loading nil)) |
| 149 | 149 | ||
| 150 | (defconst tramp-gvfs-path-mounttracker "/org/gtk/vfs/mounttracker" | 150 | (defconst tramp-gvfs-path-mounttracker "/org/gtk/vfs/mounttracker" |
| @@ -1177,7 +1177,7 @@ be used." | |||
| 1177 | (tramp-bluez-list-devices))) | 1177 | (tramp-bluez-list-devices))) |
| 1178 | 1178 | ||
| 1179 | ;; Add completion function for OBEX method. | 1179 | ;; Add completion function for OBEX method. |
| 1180 | (when (dbus-ping :system tramp-bluez-service) | 1180 | (when (member tramp-bluez-service (dbus-list-known-names :system)) |
| 1181 | (tramp-set-completion-function | 1181 | (tramp-set-completion-function |
| 1182 | "obex" '((tramp-bluez-parse-device-names "")))) | 1182 | "obex" '((tramp-bluez-parse-device-names "")))) |
| 1183 | 1183 | ||
| @@ -1210,7 +1210,7 @@ be used." | |||
| 1210 | (zeroconf-list-services "_webdav._tcp"))) | 1210 | (zeroconf-list-services "_webdav._tcp"))) |
| 1211 | 1211 | ||
| 1212 | ;; Add completion function for DAV and DAVS methods. | 1212 | ;; Add completion function for DAV and DAVS methods. |
| 1213 | (when (dbus-ping :system zeroconf-service-avahi) | 1213 | (when (member zeroconf-service-avahi (dbus-list-known-names :system)) |
| 1214 | (zeroconf-init tramp-gvfs-zeroconf-domain) | 1214 | (zeroconf-init tramp-gvfs-zeroconf-domain) |
| 1215 | (tramp-set-completion-function | 1215 | (tramp-set-completion-function |
| 1216 | "sftp" '((tramp-zeroconf-parse-workstation-device-names ""))) | 1216 | "sftp" '((tramp-zeroconf-parse-workstation-device-names ""))) |