1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-02 20:16:25 +00:00

913 Commits

Author SHA1 Message Date
Michael Albinus
d5b5c94a11 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
(tramp-cache-inhibit-cache): Extend doc string.  It allows also
timestamps.
(tramp-get-file-property): Check for timestamps in
`tramp-cache-inhibit-cache'.
(tramp-set-file-property): Write timestamp.
2009-08-27 13:50:59 +00:00
Michael Albinus
946a5aeb7d * net/tramp.el (tramp-methods): New method "rsyncc".
(top): Add completion function for "rsyncc".
(tramp-message-show-message): New defvar.
(tramp-message, tramp-error): Use it.
(tramp-do-copy-or-rename-file-directly): Extend check for direct
remote copying.
(tramp-do-copy-or-rename-file-out-of-band): Handle new
`tramp-methods' entry `copy-env' of "rsyncc".
((tramp-handle-process-file): Do not flush all
caches when `process-file-side-effects' is set.
tramp-vc-registered-read-file-names): New defconst.
(tramp-vc-registered-file-names): New defvar.
(tramp-handle-vc-registered): Implement optimization strategy.
(tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
(tramp-vc-file-name-handler): New defun.
(tramp-get-ls-command, tramp-get-test-command)
(tramp-get-file-exists-command, tramp-get-remote-ln)
(tramp-get-remote-perl, tramp-get-remote-stat)
(tramp-get-remote-id): Remove
superfluous `with-current-buffer'.
2009-08-27 13:47:55 +00:00
Michael Albinus
0b35b48e66 * 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)
2009-08-25 10:26:16 +00:00
Michael Albinus
93fb0645d6 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT. 2009-08-25 10:13:54 +00:00
Glenn Morris
d54cc599f5 Kevin Ryde <user42 at zip.com.au>
(dig): Add autoload cookie.
2009-08-25 03:21:14 +00:00
Glenn Morris
a337468045 Remove code for defunct system-types emx, macos, mswindows,
unisoft-unix, vax-vms, win32, w32.
2009-08-22 21:59:40 +00:00
Stefan Monnier
5443c9b759 * net/newst-treeview.el (newsticker-groups-filename):
* net/newst-backend.el (newsticker-cache-filename):
* speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
(speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
(speedbar-add-ignored-path-regexp, speedbar-line-path)
(speedbar-buffers-line-path, speedbar-path-line)
(speedbar-buffers-line-path):
* epg.el (epg-passphrase-callback-function, epg-start-sign-keys,epg-sign-keys):
* epa.el (epa-display-verify-result):
* progmodes/pascal.el (pascal-outline): Add version of obsolescence.
2009-08-21 14:59:49 +00:00
Michael Albinus
9e84652313 * net/dbus.el (top): Initialize only when `dbusbind' is loaded. 2009-08-21 06:45:22 +00:00
Michael Albinus
6fd2d19a36 * net/dbus.el (top): Don't check for (getenv
"DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
2009-08-20 15:24:58 +00:00
Michael Albinus
720c7cd6a9 * net/dbus.el (top): Apply `dbus-init-bus' for the :session bus
only if it is running already.
2009-08-19 07:15:28 +00:00
Michael Albinus
ba6f7d8640 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
and :session buses.
2009-08-18 15:12:14 +00:00
Michael Albinus
56c195afd0 * net/tramp.el (tramp-register-completion-file-name-handler):
Check also for (member 'partial-completion completion-styles).
2009-08-17 19:12:10 +00:00
Michael Albinus
8e754ea218 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
(tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
2009-08-09 14:29:11 +00:00
Chong Yidong
ce299d55e7 * net/net-utils.el (net-utils-font-lock-keywords): New var.
(nslookup-font-lock-keywords): Make it a variable.
(net-utils-mode): New mode for viewing diagnostic network output.
(net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
(net-utils-run-simple): New function.
(ifconfig, iwconfig, netstat, arp, route): Use it.
2009-08-08 18:26:36 +00:00
Michael Albinus
2ac338048e * net/tramp.el (top): Make check for tramp-gvfs loading more
robust.
(tramp-handle-insert-file-contents): `unwind-protect' must be
inside `with-parsed-tramp-file-name'.
2009-08-04 03:32:33 +00:00
Michael Albinus
33e8d4fa2d * net/tramp-gvfs.el (top): Remove superfluous message when loading
fails.
2009-08-04 03:29:54 +00:00
Michael Albinus
adcbca532b * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp) New
defconst.
(tramp-rfn-eshadow-update-overlay): Use it.
2009-08-03 08:22:04 +00:00
Chong Yidong
30924b0b32 * net/newst-backend.el (newsticker--raw-url-list-defaults): Update
freshmeat link.  Delete newsforge.com as it seems gone.
2009-08-02 23:51:54 +00:00
Michael Albinus
736ac90f59 * net/tramp.el (tramp-debug-message): Print also microseconds.
(tramp-handle-insert-file-contents): Optimize, when BEG
or END is non-nil.
(tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
(tramp-get-debug-buffer): Change `outline-regexp' according to new
format.
2009-08-02 17:16:39 +00:00
Michael Albinus
afae3a3777 * net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
(tramp-get-file-property): Use it.
2009-08-02 17:15:42 +00:00
Michael Albinus
905fb90eb1 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
Simplify check for out-of-band methods.
(tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
2009-07-28 20:36:57 +00:00
Michael Albinus
3dec5c364b * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
function returns nil.
(dbus-handle-event): Handle special return value :ignore.
Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
2009-07-27 10:02:50 +00:00
Michael Albinus
51768bc824 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
instead of "IsNSSSupportAvailable".  Avahi ought to work also when
"IsNSSSupportAvailable" method is not available.  Reported by
Steve Youngs <steve@sxemacs.org>.
2009-07-25 08:31:40 +00:00
Glenn Morris
855b42a23d Kevin Ryde <user42 at zip.com.au>
Hyperlink urls in docstrings with URL `...'.
2009-07-22 03:07:18 +00:00
Michael Albinus
bede3e9f87 * net/tramp.el (tramp-wait-for-output): Handle the case when
commands do not return a newline but a null byte before the shell
prompt.  (Bug#3858)
2009-07-16 10:24:07 +00:00
Chong Yidong
c0db3477b4 * net/rcirc.el (rcirc): Use history variables.
(rcirc-server-name-history, rcirc-nick-name-history)
(rcirc-server-port-history): New variables.
2009-07-15 15:07:39 +00:00
Michael Albinus
93c3eb7c61 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
remote user is root, on the local host.
(tramp-local-host-p): Either the local user or the remote user
must be root.
2009-07-08 12:43:42 +00:00
Michael Albinus
3e2fa35354 * net/tramp.el (tramp-handle-write-region): Flush file properties
in case of short track.
2009-07-06 13:37:29 +00:00
Michael Albinus
f0dbdc25ca * net/tramp-gvfs.el (tramp-gvfs-methods)
(tramp-gvfs-zeroconf-domain)
(tramp-bluez-discover-devices-timeout): Add version flag.
(tramp-gvfs-handler-mounted-unmounted)
(tramp-gvfs-connection-mounted-p): Polish handling of
incompatibilities between GVFS 0.2 and 1.0.
2009-07-03 14:54:14 +00:00
Juri Linkov
baf1a55e82 (tramp-gvfs-connection-mounted-p): Use elt' instead of mount-info'. 2009-07-02 22:49:30 +00:00
Michael Albinus
d04bc496de * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
(tramp-gvfs-connection-mounted-p): Handle changed mount-info
interface.
2009-07-02 15:27:37 +00:00
Michael Albinus
99278f8a61 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add
handler for `process-file', `shell-command' and
`start-file-process'.
(tramp-gvfs-handle-shell-command)
(tramp-gvfs-handle-start-file-process)
(tramp-gvfs-handle-process-file): New defuns.
(tramp-synce-list-devices): Simplify check for existence of
property.
2009-07-01 15:21:45 +00:00
Michael Albinus
02cecbfe64 * net/trampver.el: Update release number. 2009-06-30 21:15:19 +00:00
Michael Albinus
d557e7a69b * net/tramp-gvfs.el (top): Add a default for "synce" in
`tramp-default-user-alist'.
(tramp-hal-service, tramp-hal-path-manager)
(tramp-hal-interface-manager, tramp-hal-interface-device): New
defconst.
(tramp-synce-list-devices, tramp-synce-parse-device-names): New
defuns.
2009-06-30 21:13:29 +00:00
Michael Albinus
551b8e0b8c Remove todo items. 2009-06-30 21:10:55 +00:00
Michael Albinus
974647ac91 * net/tramp.el (tramp-default-file-modes) Remove execute permissions. 2009-06-30 15:23:50 +00:00
Michael Albinus
7ae3ea65e3 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
(tramp-gvfs-connection-mounted-p): Handle empty user name for
synce.
(tramp-synce-list-devices, tramp-synce-parse-device-names): New
defuns.
(top): Add completion function for "synce" method.
2009-06-30 14:48:06 +00:00
Michael Albinus
4f4126e6a3 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Handle
also the 'rename case, when setting file modes.  (Bug#3712)
2009-06-30 11:55:41 +00:00
Michael Albinus
1f107aed49 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
modes mandatory.  (Bug#3712)
2009-06-29 20:41:17 +00:00
Michael Albinus
d984860028 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
but `filename'.
2009-06-24 05:12:51 +00:00
Glenn Morris
e65f32c1d8 Trivial header format fixes. 2009-06-23 07:44:08 +00:00
Miles Bader
a91a2316ad Add arch tagline 2009-06-23 06:44:04 +00:00
Michael Albinus
e3610693bc * net/trampver.el: Update release number. Make version check fit
for SXEmacs 22.
2009-06-22 21:09:25 +00:00
Michael Albinus
fffba733ad * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add
handler for `dired-uncache'.
(tramp-smb-handle-file-local-copy): Cleanup in case of error.
2009-06-22 21:08:29 +00:00
Michael Albinus
d904dc8652 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
for `dired-uncache'.
2009-06-22 21:07:52 +00:00
Michael Albinus
b41b828aac * net/tramp-compat.el (tramp-compat-split-string)
(tramp-compat-process-running-p): New defuns.
2009-06-22 21:07:27 +00:00
Michael Albinus
6fa5052f06 * net/tramp-cmds.el (tramp-bug): Recommend
`tramp-cleanup-all-connections' in the bug mail.
2009-06-22 21:06:49 +00:00
Michael Albinus
70c11b0be3 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
when a loading of a package fails.  Completion function for rsync
is `tramp-completion-function-alist-ssh'.
(all): Replace all calls of `split-string' and
`tramp-split-string' by `tramp-compat-split-string'.
(tramp-default-method): Use `tramp-compat-process-running-p'.
(tramp-default-proxies-alist): Allow also Lisp forms.
(tramp-remote-path): Add choice "Private Directories".
(tramp-wrong-passwd-regexp): Remove "Tramp connection closed"
option.
(tramp-domain-regexp): Allow also "-", "_" and ".".
(tramp-end-of-output): Remove newlines, and add "$" at the end.
(tramp-file-name-handler-alist): Add handler for `dired-uncache'.
(tramp-debug-message): Insert header line in debug buffer.
(tramp-handle-directory-files-and-attributes-with-stat): Care
about filenames with spaces, or starting with "-".
(tramp-handle-dired-uncache): New defun.
(tramp-handle-insert-directory): Don't flush the directory from
cache, this is handled by `dired-uncache' now.
(tramp-handle-insert-file-contents): Improve error handling.
(tramp-find-shell, tramp-open-connection-setup-interactive-shell):
Quote `tramp-end-of-output'.
(tramp-action-password): Improve trace message.
(tramp-check-for-regexp): Both echoes must be present, before
removing.
(tramp-open-connection-setup-interactive-shell): Trace coding
system.
(tramp-compute-multi-hops): Eval cons cells of
`tramp-default-proxies-alist'.
(tramp-maybe-open-connection): Use the same command pattern for
first hop and further hops.
(tramp-wait-for-output): Remove handling of newlines.
(tramp-get-remote-path): Handle also `tramp-own-remote-path'.
(tramp-split-string): Remove function.  It is handled in
tramp-compat now.
2009-06-22 21:05:54 +00:00
Michael Albinus
eeb4465560 * net/tramp-gvfs.el: New package. 2009-06-22 21:04:49 +00:00
Michael Albinus
917b89a691 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Make direct
copy more robust, especially when "chown" is not applicable.
2009-06-07 16:17:03 +00:00