Commit graph

97 commits

Author SHA1 Message Date
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
Michael Albinus
ebd06e2873 Revert copyright years back to original ones. Tramp has a life
outside GNU Emacs.
2005-06-19 14:20:06 +00:00
Juanma Barranquero
ff12e78d4b (tramp-find-file-exists-command, tramp-find-shell): Follow error conventions. 2005-06-14 15:22:35 +00:00
Thien-Thi Nguyen
aa1e26d477 Update years in copyright notice; nfc. 2005-05-17 16:24:37 +00:00
Michael Albinus
7177e2a315 Sync with Tramp 2.0.49. 2005-05-14 15:39:15 +00:00
Michael Albinus
340b8d4f63 Sync with Tramp 2.0.48. 2005-03-20 20:00:20 +00:00
Andreas Schwab
b71c9e7554 (tramp-file-name-for-operation): Fix misapplied
change from sync with Tramp 2.0.47.
2005-02-27 17:31:56 +00:00
Eli Zaretskii
74f69b9388 (tramp-file-name-for-operation): Use dired-call-process instead of
dired-call-process-command.
2005-02-19 12:49:02 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Michael Albinus
01917a18b4 Sync with Tramp 2.0.47. 2005-01-16 13:18:31 +00:00
Michael Albinus
c08e6004ef Sync with Tramp 2.0.46. 2004-12-17 19:35:45 +00:00
Sam Steingold
c95e9af380 (tramp-handle-file-accessible-directory-p):
Fixed `tramp-time-diff' comparison logic
2004-12-05 21:42:45 +00:00
Lars Hansen
c82c572724 (tramp-handle-directory-files-and-attributes): New function.
(tramp-perl-directory-files-and-attributes): New constant.
(tramp-file-name-handler-alist): Delete file-directory-files, add directory-files-and-attributes.
(tramp-perl-file-attributes): Surround uid and gid by double quotes.
Change parameter id-format from nonnumeric.
(tramp-convert-file-attributes): New function.
(tramp-handle-file-attributes): Use it.
(tramp-maybe-send-perl-script): New function.
(tramp-handle-file-attributes-with-perl): Use it. Don't convert	file mode.
Change parameter id-format from nonnumeric.
(tramp-handle-file-attributes-with-ls): Change parameter id-format from nonnumeric.
(tramp-post-connection): Don't send tramp-perl-file-attributes script.
Reset connection property "perl-scripts".
(tramp-handle-insert-directory): Run real handler when ls-lisp is in use.
2004-11-26 21:39:27 +00:00
Richard M. Stallman
589d30dd8b (tramp group): Add :version. 2004-11-07 03:59:21 +00:00
Kai Großjohann
c37ee7cb84 (tramp-uudecode): Mention `uudecode -o /dev/stdout'. 2004-11-06 20:32:24 +00:00
Kai Großjohann
e7b52b6db2 (tramp-coding-commands): Additionally try "uudecode -o /dev/stdout"
before trying "uudecode -o -".  Suggested by Han Boetes.
2004-11-06 20:27:16 +00:00
Kai Großjohann
0457dd5538 * simple.el (process-file): New function, similar to call-process
but supports file handlers.
* vc.el (vc-do-command): Use it, instead of call-process.
* net/tramp-vc.el (vc-do-command): Do not advise it if
process-file is fboundp.
* net/tramp.el (tramp-file-name-handler-alist): Add entry for
process-file.
(tramp-handle-process-file): New function.
(tramp-file-name-for-operation): Support process-file.
2004-10-23 19:52:18 +00:00
Michael Albinus
b15d0c4c32 * net/tramp.el: Redo sync with Tramp 2.0.45. Last commit did not
work correctly.
2004-10-17 14:05:51 +00:00
Michael Albinus
414da5abeb Sync with Tramp 2.0.45. 2004-10-12 21:02:43 +00:00
Michael Albinus
48ddd622ab Sync with Tramp 2.0.44. 2004-08-10 21:18:38 +00:00
Kai Großjohann
cdfa3eccb1 (tramp-handle-verify-visited-file-modtime): New
docstring.  From Luc Teirlinck.
2004-07-17 21:33:32 +00:00
Kai Großjohann
07dfe73898 Sync with Tramp 2.0.43.
(tramp-handle-verify-visited-file-modtime): Remove
outdated comment.
(tramp-locked, tramp-locker): New variables for implementing a
global lock.
(tramp-sh-file-name-handler): Use them to implement the global
lock.
2004-07-17 17:28:43 +00:00