Commit graph

901 commits

Author SHA1 Message Date
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
Michael Albinus
661aaece10 * tramp.el (tramp-open-connection-setup-interactive-shell): Apply
workaround for OpenSolaris bug.
2009-06-06 23:25:56 +00:00
Michael Albinus
65a099b679 * net/tramp.el (tramp-handle-directory-files-and-attributes-with-stat)
(tramp-handle-file-name-all-completions): Don't use "-b" as ls
arg.  It does not work on OpenBSD.  Reported by Taylor Venable
<taylor@metasyntax.net>.
2009-04-24 13:54:50 +00:00
Chong Yidong
d893706458 * net/rcirc.el (rcirc): Use correct property names (Bug#3037). 2009-04-18 03:44:57 +00:00
Chong Yidong
3257a7340a browse-url.el (browse-url-filename-alist): Update :version for last change. 2009-04-16 04:08:15 +00:00
Chong Yidong
dee8ac1084 * net/browse-url.el (browse-url-filename-alist): Correct file
URI (Bug#2922).
2009-04-15 22:51:26 +00:00
Ulf Jasper
b0f439fc19 newsticker: enable jump to virtual feeds 2009-04-15 18:13:41 +00:00
Michael Albinus
e09349c517 * net/tramp-cmds.el (tramp-cleanup-connection): Flush cache data
of directory "".
2009-04-14 14:39:46 +00:00
Michael Albinus
260821d3d5 * net/tramp.el (tramp-handle-dired-recursive-delete-directory):
Fix an error in flushing cache data.
(tramp-handle-process-file): Flush all file cache values for the
connection, because the remote process could have changed them.
Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
Handle QUIT.
2009-04-14 14:36:38 +00:00
Michael Albinus
5ab38c3c5a * tramp.el (tramp-do-copy-or-rename-file-directly): Overwrite
always the tmpfile.  (Bug#2962).
2009-04-12 19:26:36 +00:00
Michael Albinus
4909640742 * net/tramp.el (tramp-file-name-handler-alist): Add
`vc-registered'.
(tramp-handle-vc-registered ): New defun.  (Bug#1741).
2009-04-09 13:46:27 +00:00
Michael Albinus
5ec2288f4a * tramp-cache.el (tramp-flush-directory-property): Use the
localname of KEY for check.
2009-04-09 13:40:19 +00:00
Michael Albinus
86a9be47c8 * net/tramp-fish.el (tramp-fish-do-copy-or-rename-file-directly):
Use `tramp-default-file-modes'.
2009-04-05 18:07:41 +00:00