Commit graph

118 commits

Author SHA1 Message Date
Glenn Morris
cbd12ed70a (tramp-perl-encode, tramp-perl-decode): Update copyrights. 2007-01-21 20:38:00 +00:00
Michael Albinus
d8bba37c56 * net/tramp.el (tramp-handle-file-local-copy): Set
`enable-multibyte-characters' to nil.  Reported by Chris Moore
<christopher.ian.moore@gmail.com>.
2007-01-11 20:08:04 +00:00
Michael Albinus
e64666972e * net/tramp.el: (tramp-process-one-action): Remove `with-timeout'.
(tramp-process-actions): Add optional parameter TIMEOUT.
(tramp-open-connection-telnet, tramp-open-connection-rsh)
(tramp-open-connection-su): Add timeout of 60".
2007-01-09 05:04:15 +00:00
Michael Albinus
496f830892 * net/tramp.el (tramp-default-method): Don't call `symbol-function'.
Apply `funcall' directly on 'executable-find.
2006-12-31 15:03:51 +00:00
Michael Albinus
658052a2ce Sync with Tramp 2.0.55. 2006-12-30 16:17:10 +00:00
Michael Albinus
83e20b5c89 * net/tramp.el (tramp-default-method): We still need to check for
`executable-find', because it is not bound under Emacs 20.
2006-12-20 21:29:46 +00:00
Michael Albinus
e1e17cae49 * net/ange-ftp.el (ange-ftp-file-name-completion): Handle optional
parameter PREDICATE.

* lisp/tramp.el (tramp-handle-file-name-completion)
(tramp-completion-handle-file-name-completion): Handle optional
parameter PREDICATE.
(tramp-find-default-method): Add code for default values.
2006-12-20 05:57:41 +00:00
Michael Albinus
bb8792de32 *** empty log message *** 2006-12-19 07:26:25 +00:00
Michael Albinus
572b79d819 * net/tramp.el (tramp-methods): Introduce new method `scpc'.
Remove "ControlMaster" option from the other `scp*' methods.
(tramp-default-method): Check for ssh-agent before setting to
`scp'.
2006-12-19 06:56:27 +00:00
Michael Albinus
210a7c2c92 * net/tramp.el (tramp-default-method): Before setting to "pscp",
check whether package password.el is loaded, or Pageant is running.
2006-12-17 12:58:04 +00:00
Michael Albinus
5717642238 * net/tramp.el (tramp-methods): Add "ControlPath" and
"ControlMaster" to scp, scp1 and scp2 methods.  Suggested by
Andreas Schwab <schwab@suse.de>.
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-open-connection-rsh): Compute format spec for ?t.
(tramp-process-actions): Trace command parameters.
2006-12-04 06:51:21 +00:00
Lars Hansen
6b2633cced (tramp-default-method): Under Windows, change from plink to pscp.
(tramp-copy-failed-regexp, tramp-action-copy-failed): Add.
(tramp-actions-copy-out-of-band): Add pair (tramp-copy-failed-regexp tramp-action-copy-failed).
(tramp-action-out-of-band): Move "Permission denied" handling to tramp-action-copy-failed.
(tramp-do-copy-or-rename-file-out-of-band): unwind-protect killing of process buffer.
2006-11-24 19:14:46 +00:00
Michael Albinus
d8d555f293 * net/tramp.el (top): cl and custom are always required. 2006-11-18 17:42:32 +00:00
Glenn Morris
95bb178f0c (tramp-unified-filenames): Improve previos doc fix. 2006-11-11 04:01:02 +00:00
Glenn Morris
3b004a2d9e (tramp-unified-filenames): Doc fix (Nil -> nil). 2006-11-10 09:10:07 +00:00
Michael Albinus
1d1c19ca25 * lisp/net/tramp.el (tramp-default-method): scp is the default method.
* man/tramp.texi (Configuration): scp is the default method.
(Default Method): Use ssh as example for another method.
2006-11-07 10:58:19 +00:00
Lars Hansen
8e7225a262 (with-parsed-tramp-file-name): Correct debug spec. Highlight as keyword.
(tramp-do-copy-or-rename-file): Correct data for 'file-already-exists.
Don't call tramp-method-out-of-band-p for local files.
(tramp-touch): Quote file name.
2006-10-29 12:55:35 +00:00
Michael Albinus
1a762140f1 Sync with Tramp 2.0.54. 2006-08-29 05:48:40 +00:00
Michael Albinus
d163f71e86 * net/tramp.el (tramp-handle-shell-command): Preserve current-buffer. 2006-07-02 20:29:20 +00:00
Michael Albinus
08b1eb21d5 * net/rcompile.el (remote-compile): Replace ange-ftp based
implementation by Tramp functions.  Based on a patch published by
Marc Abramowitz <msabramo@gmail.com>.

* net/tramp.el (tramp-unload-tramp): Provide a doc string.
2006-06-25 21:05:03 +00:00
Michael Albinus
8a7269eb1b * net/tramp.el (tramp-touch): Use UTC to express time. 2006-06-15 21:55:39 +00:00
Michael Albinus
b5bbf8f27d * net/tramp.el (tramp-register-file-name-handlers): Enable Tramp
completion also when ido is loaded.
2006-05-09 04:26:23 +00:00
Michael Albinus
a01b1e220c * net/tramp.el (tramp-completion-file-name-handler-alist)
(tramp-run-real-handler, tramp-completion-run-real-handler)
(tramp-completion-handle-file-name-all-completions)
(tramp-completion-handle-file-name-completion): Autoload them.
(tramp-completion-handle-file-exists-p)
(tramp-completion-handle-file-name-directory)
(tramp-completion-handle-file-name-nondirectory)
(tramp-completion-handle-expand-file-name): Remove them.
(tramp-handle-file-name-directory): Return the real directory
name.  Returning "/" only doesn't need to be necessary any longer.
(tramp-file-name-handler): Make special attention when in hostname
completion mode.
(tramp-completion-file-name-handler): Revert patch from
2006-04-28.
(tramp-register-file-name-handlers): Register
`tramp-completion-file-name-handler' only when
`partial-completion-mode� is enabled.
(tramp-completion-handle-file-name-all-completions): Delete
directory part from results.
(tramp-get-completion-methods, tramp-get-completion-user-host):
Discard deleting "/", it doesn't work after the change of
`tramp-handle-file-name-directory' above.
2006-05-01 13:22:15 +00:00
Richard M. Stallman
41c8e348f2 tramp-file-name-handler-alist): Delete expand-file-name and other
operations that can cause spurious loading.
2006-04-29 15:58:42 +00:00
Michael Albinus
1ecc6145d8 * net/tramp.el (tramp-completion-file-name-handler): Disable
Tramp's functionality while loading Tramp itself.
(tramp-register-file-name-handlers): That's a defsubst now.  Code
from `tramp-repair-jka-compr' moved here.  Apply it via
`after-init-hook'.
(tramp-repair-jka-compr): Removed.
2006-04-28 04:06:16 +00:00
Michael Albinus
8c04e197f2 * net/tramp.el (tramp-register-file-name-handlers): New defun.
Added with autoload cookie.
(tramp-unload-file-name-handlers): Renamed from
`tramp-unload-file-name-handler-alist'.
2006-04-23 21:45:28 +00:00
Juanma Barranquero
aa04257e45 (tramp-completion-file-name-handler): Revert change of 2006-04-17. 2006-04-18 10:02:40 +00:00
Michael Albinus
8580639069 Sync with Tramp 2.0.53. 2006-04-17 12:56:56 +00:00
Michael Albinus
32f9593c7c * net/tramp.el (tramp-display-shell-command-buffer): New defvar.
(tramp-handle-shell-command): Display output buffer only when
`tramp-display-shell-command-buffer' is true.
(tramp-handle-process-file): Set `tramp-display-shell-command-buffer'.
2006-04-13 19:51:04 +00:00
Michael Albinus
7dbde7dd2e * net/tramp.el (tramp-remote-path): Add "/usr/xpg4/bin" on top,
because on Solaris a POSIX compatible "id" is needed.  Reported by
Magnus Henoch <mange@freemail.hu>.
2006-02-12 20:22:28 +00:00
Sam Steingold
df2a9b125d (tramp-maybe-open-connection): Do not wait for output from a dead connection. 2006-02-08 15:47:31 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Michael Albinus
ca637b2a27 * net/tramp.el (tramp-convert-file-attributes): Set file's gid
change bit only when id-format is 'integer.  Reported by Matt
Hodges <M.P.Hodges@rl.ac.uk>.
2006-02-01 22:26:45 +00:00
Michael Albinus
a69c01a0b7 Sync with Tramp 2.0.52. 2006-01-22 21:59:55 +00:00
Lars Hansen
e89cd3e696 (tramp-action-out-of-band): Handle scp message "Permission denied". 2005-11-02 07:05:56 +00:00
Michael Albinus
55880756f1 * net/tramp.el (tramp-chunksize): Escape parentheses in docstring
starting at beginning of line.  Fontification is messed up when
`open-paren-in-column-0-is-defun-start' set to t.  Reported
by John Paul Wallington <jpw@pobox.com>.
2005-10-30 19:58:40 +00:00
Richard M. Stallman
8cee983d52 (tramp-completion-mode): defvar moved up. 2005-10-28 16:23:55 +00:00
Michael Albinus
c1253aade3 * net/tramp.el (tramp-completion-mode): New defvar. Used in
`tramp-completion-mode' for checking if we are in completion mode.
(tramp-completion-handle-file-name-all-completions): Reorder code
in order to complete for file names only in case there are no
method/user/host completions.  This is necessary for cooperation
with ido.  Reported by Kim F. Storm  <storm@cua.dk>.
2005-10-17 04:46:46 +00:00
Lars Hansen
8cb0a5590f (tramp-perl-directory-files-and-attributes): Add error handling.
(tramp-handle-directory-files-and-attributes): Handle error perl error message.
2005-10-08 18:26:14 +00:00
Michael Albinus
1194817210 Sync with Tramp 2.0.51. 2005-10-08 14:53:17 +00:00
Richard M. Stallman
f9f51bbf9e Pacify byte compiler warnings in pacification code.
(tramp-handle-file-local-copy): Use insert-buffer-substring.
2005-10-02 17:37:34 +00:00
Michael Albinus
bc103d0011 * net/tramp.el (tramp-login-prompt-regexp): Expand regexp in order to
cover prompts like "login as:".  Reported by Slawomir Nowaczyk
<slawomir.nowaczyk.847@student.lu.se>.
2005-09-18 20:01:57 +00:00
Michael Albinus
553f03bcd2 * woman.el (top): Remap man' command by woman' in
`woman-mode-map'.
(Man-getpage-in-background-advice): Remove defadvice; it isn't
necessary any longer with the remapped command.
(Man-bgproc-sentinel-advice): Remove defadvice which counts
formatting time only.

* net/tramp.el (tramp-action-password)
(tramp-multi-action-password): Compile the password prompt from
`method', `user' and `host'.  Sometimes it isn't obvious which
password to enter, for example with remote files offered by
recentf.el, or with multiple steps.  Suggested by Robert Marshall
<robert@chezmarshall.freeserve.co.uk>.
2005-09-07 21:23:36 +00:00
Michael Albinus
00cec1673b * net/tramp.el (tramp-handle-make-auto-save-file-name): Deactivate
temporarily advice if active (not needed for Emacs 22, but for
backwards compatibility).
(tramp-exists-file-name-handler): Rewrite.  First implementation
was too simple.
(tramp-advice-make-auto-save-file-name): Call
`tramp-handle-make-auto-save-file-name' (again, just for backwards
compatibility).
2005-08-31 20:28:48 +00:00
Juanma Barranquero
d8aa9ea909 (tramp-handle-make-auto-save-file-name): Pass list of args to
`tramp-run-real-handler', even if it's empty in this case.
2005-08-31 09:06:15 +00:00
Michael Albinus
c1105d052e Make `make-auto-save-file-name' a magic operation. 2005-08-30 22:41:02 +00:00
Michael Albinus
d2a2c17f0f Sync with Tramp 2.0.50. 2005-08-07 15:42:42 +00:00
Thien-Thi Nguyen
5fd6d89f46 Update years in copyright notice; nfc. 2005-08-01 15:47:19 +00:00
Juanma Barranquero
540bd57533 (tramp-handle-load): Fix typo in error message. 2005-07-21 09:49:07 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00