comparison lisp/ChangeLog @ 47576:b31c8ab7336a

Sync with version 2.0.20. Lengthy ChangeLog follows: 2002-09-22 Kai Gro?ohann <grossjoh@ls6.informatik.uni-dortmund.de> Version 2.0.20 released. 2002-09-20 Kai Gro?ohann <grossjoh@ls6.informatik.uni-dortmund.de> * net/tramp.el (tramp-completion-function-alist): Escape open paren in docstring. (tramp-user-regexp, tramp-host-regexp): Allow empty strings. (tramp-handle-insert-file-contents): Call tramp-message-for-buffer instead of tramp-message. (tramp-open-connection-rsh): Handle empty string as user name. (tramp-open-connection-su): Handle empty string as host name. Handle nil user name. (tramp-handle-file-local-copy, tramp-handle-write-region) (tramp-completion-handle-file-name-all-completions) (tramp-open-connection-telnet, tramp-open-connection-rsh) (tramp-open-connection-su, tramp-post-connection) (tramp-maybe-open-connection, tramp-method-out-of-band-p) (tramp-get-connection-function, tramp-get-remote-sh) (tramp-get-rsh-program, tramp-get-rsh-args) (tramp-get-rcp-program, tramp-get-rcp-args) (tramp-get-rcp-keep-date-arg, tramp-get-su-program) (tramp-get-su-args, tramp-get-telnet-program) (tramp-get-telnet-args): Use `tramp-find-method', perhaps require additional args USER, HOST. (tramp-action-password, tramp-open-connection-telnet) (tramp-open-connection-su, tramp-open-connection-multi) (tramp-method-out-of-band-p): `tramp-method-out-of-band-p' now takes USER and HOST arguments, to be able to use `tramp-find-method'. Update callers. (tramp-find-method): New function. 2002-09-20 Kai Gro?ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> * net/tramp.el (tramp-handle-insert-directory): Handle "--dired" in SWITCHES (by removing it). 2002-09-18 Kai Gro?ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> * net/tramp.el (tramp-file-name-handler): Add `file-remote-p' property. 2002-09-17 Kai Gro?ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> * net/tramp.el (top-level): Maybe autoload uudecode-decode-region. 2002-09-16 Kai Gro?ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> * net/tramp.el (tramp-bug): Add tramp-methods. 2002-09-16 Kai Gro?ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> * net/tramp.el (tramp-methods): Update docstring: tramp-encoding-command, tramp-decoding-command, tramp-encoding-function and tramp-decoding-function are not parameters anymore. (tramp-uuencode-region): Autoload it. 2002-09-13 Kai Gro?ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> Version 2.0.19 released. * net/tramp-uu.el: New file, implements uuencode in Lisp. * net/tramp.el (tramp-coding-commands): Use `tramp-uuencode-region' as local encoder for the uuencode based entries. 2002-09-13 Kai Gro?ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> * net/tramp.el (tramp-handle-write-region): Wrong parens. 2002-09-13 Kai Gro?ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> Version 2.0.18 released. * net/tramp.el (tramp-perl-decode): Perl changes to accomodate older versions of Perl. Now tested with 5.004. Suggestion from Michael Albinus. 2002-09-12 Kai Gro?ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> * net/tramp.el (tramp-find-inline-encoding): Call tramp-call-local-coding-command with nil for INPUT and OUTPUT. (tramp-call-local-coding-command): OUTPUT equals nil means to discard the output. INPUT equals nil means /dev/null. 2002-09-12 Kai Gro?ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> * net/tramp.el (tramp-encoding-shell): Default to environment variable COMSPEC on Windows. (tramp-handle-write-region): More debugging output. (tramp-find-inline-encoding): Ditto. 2002-09-11 Michael Albinus <Michael.Albinus@alcatel.de> * net/tramp.el (tramp-completion-handle-file-name-all-completions): Define `result1'. (tramp-parse-hosts-group): Discard IPv6 entries. 2002-09-11 Kai Gro?ohann <grossjoh@ls6.informatik.uni-dortmund.de> * net/tramp.el (tramp-post-connection): Only send Perl mime-encode/decode implementations when using inline method. (tramp-handle-file-local-copy) (tramp-handle-write-region, tramp-post-connection) (tramp-coding-commands, tramp-find-inline-encoding): For the inline encodings, distinguish between local and remote commands, instead of between commands and functions. (The local commands can be functions, too.) If the local host is a Windows machine, we can't expect the same commands to work there as on the remote host. (tramp-call-local-coding-command): New function for calling local encoding and decoding commands. (tramp-set-remote-encoding, tramp-get-remote-encoding) (tramp-set-remote-decoding, tramp-get-remote-decoding) (tramp-set-local-encoding, tramp-get-local-encoding) (tramp-set-local-decoding, tramp-get-local-decoding): New functions. (tramp-get-encoding-command, tramp-set-encoding-command) (tramp-get-decoding-command, tramp-set-decoding-command) (tramp-get-encoding-function, tramp-set-encoding-function) (tramp-get-decoding-function, tramp-set-decoding-function): Old functions, removed. 2002-09-10 Kai Gro?ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> * net/tramp.el (tramp-open-connection-setup-interactive-shell): Change command to invoke /bin/sh slightly to make it compatible with the `rc' shell. Suggested by Daniel Pittman. 2002-09-10 Michael Albinus <Michael.Albinus@alcatel.de> * net/tramp.el (tramp-handle-write-region): Added missing `)'. Hope it's the right place. 2002-09-09 Kai Gro?ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> * net/tramp.el (tramp-open-connection-setup-interactive-shell): Do "exec env PS1='$ ' /bin/sh" instead of just "exec /bin/sh" in order to get a sane shell prompt. If people have ${CWD}, say, in their shell prompt, then the default login shell might display something harmless, but the /bin/sh will display a dollar sign which confused the subsequent prompt recognition. (tramp-multi-action-password): More debugging output. (tramp-encoding-shell): Renamed from tramp-sh-program. More documentation. Default to cmd.exe on Windows NT. (tramp-encoding-command-switch): New variable. Use instead of hard-wired "-c" which is only good for /bin/sh. (tramp-encoding-reads-stdin): New variable. If t, commands are called like "/bin/sh -c COMMAND <INPUT", if nil, they are called like "/bin/sh -c COMMAND INPUT", ie the input file is the last argument. (tramp-multi-sh-program): Always default to tramp-encoding-shell. (tramp-handle-file-local-copy, tramp-handle-write-region): Respect tramp-encoding-shell and friends. (tramp-find-inline-encoding): Use new-style calls for checking if the local commands work. 2002-09-07 Michael Albinus <Michael.Albinus@alcatel.de> * net/tramp.el (tramp-methods): Remove `tramp-completion-function' entries. They are handled now by `tramp-completion-function-alist'. (tramp-completion-function): Defvar removed. I've never used it. Hmm. (tramp-get-completion-function) (tramp-get-completion-rsh, tramp-get-completion-ssh) (tramp-get-completion-telnet, tramp-get-completion-su): Functions removed as well. Not necessary any longer due to extended customization means. (tramp-completion-function-alist): New defcustom. Holds all FUNCTION FILE pairs used for user and host name completion relevant for METHOD. (tramp-completion-function-alist-rsh) (tramp-completion-function-alist-ssh) (tramp-completion-function-alist-telnet) (tramp-completion-function-alist-su): Defconst for initializing `tramp-completion-function-alist'. Unfortunately, mainly UNIX-like values are known for me until now. Needs to be completed for at least VMS++ like operating systems. (tramp-set-completion-function) (tramp-get-completion-function): New functions for configuration of `tramp-completion-function-alist'. The old definition of `tramp-get-completion-function' has been discarded. (tramp-completion-handle-file-name-all-completions): Change function call for user/host completion according to definition in `tramp-completion-function-alist'. (tramp-parse-passwd): Added exception handling for "root", because `tramp-get-completion-su' (the previous place for this stuff) doesn't exist any longer. 2002-09-07 Kai Gro?ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> * net/tramp.el (tramp-enter-password): Use `tramp-password-end-of-line' to terminate the line. (tramp-bug): Include new variable `tramp-password-end-of-line'. (tramp-password-end-of-line): New variable. People who use plink under Windows might have to issue "\r\n" after the password, but they need to send just "\n" after the other commands. So this variable was introduced to complement `tramp-rsh-end-of-line'. (tramp-wait-for-output, tramp-post-connection): Allow "\r" at end of line of the output delimiter. 2002-09-06 Kai Gro?ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> * net/tramp.el (tramp-handle-file-local-copy, tramp-find-shell) (tramp-open-connection-setup-interactive-shell): Add some comments about Douglas Grey Stephen's suggestions to make Tramp work better with plink under Windows. I'm not sure what to think of them, but now I have a guinea pig to try it out on. Said guinea pig is having other problems, though... Also remove some commented-out code. 2002-09-06 Michael Albinus <Michael.Albinus@alcatel.de> * net/tramp.el (tramp-get-completion-methods): Algorithm slightly tuned. (tramp-get-completion-user-host): Accept user names as they are if typed until "@". (tramp-completion-mode): Replace `last-input-char' by modern `last-input-event'. Check for `event-modifiers'. 2002-09-06 Kai Gro?ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> * net/tramp.el (file-expand-wildcards): Corrected check to see if advising is necessary. 2002-09-05 Michael Albinus <Michael.Albinus@alcatel.de> * net/tramp.el (tramp-postfix-single-method-format) (tramp-postfix-multi-method-format) (tramp-postfix-multi-hop-format) (tramp-postfix-user-format): New format strings. (tramp-postfix-single-method-regexp) (tramp-postfix-multi-method-regexp) (tramp-postfix-multi-hop-regexp) (tramp-postfix-user-regexp) (tramp-make-multi-tramp-file-format) (tramp-make-tramp-file-name): Apply them. (tramp-completion-handle-file-name-all-completions): Fix for invoking ange-ftp in case of "/ftp:xxx" file names. 2002-09-04 Michael Albinus <Michael.Albinus@alcatel.de> * net/tramp.el (tramp-prefix-format) (tramp-postfix-host-format): New format strings. (tramp-prefix-regexp, tramp-method-regexp) (tramp-postfix-single-method-regexp) (tramp-postfix-multi-method-regexp) (tramp-postfix-multi-hop-regexp) (tramp-user-regexp, tramp-postfix-user-regexp) (tramp-host-regexp, tramp-postfix-host-regexp) (tramp-path-regexp): New atomar regular expressions. If corresponding format strings exist, derived from them. (tramp-file-name-structure) (tramp-multi-file-name-structure) (tramp-multi-file-name-hop-structure) (tramp-make-multi-tramp-file-format) (tramp-completion-mode) (tramp-completion-dissect-file-name) (tramp-parse-rhosts-group) (tramp-parse-shosts-group) (tramp-parse-hosts-group) (tramp-parse-passwd-group): Apply these expressions. (tramp-file-name-structure-unified) (tramp-file-name-structure-separate) (tramp-make-tramp-file-format-unified) (tramp-make-tramp-file-format-separate) (tramp-make-tramp-file-format) (tramp-make-tramp-file-user-nil-format-unified) (tramp-make-tramp-file-user-nil-format-separate) (tramp-make-tramp-file-user-nil-format) (tramp-multi-file-name-structure-unified) (tramp-multi-file-name-structure-separate) (tramp-multi-file-name-hop-structure-unified) (tramp-multi-file-name-hop-structure-separate) (tramp-make-multi-tramp-file-format-unified) (tramp-make-multi-tramp-file-format-separate): Removed. (tramp-make-tramp-file-name): Allow partial tramp file names. Generate tramp file format on-the-fly depending on parameters. Apply atomar format strings resp expressions. (tramp-get-completion-methods) (tramp-get-completion-user-host): Apply `tramp-make-tramp-file-name'. (tramp-parse-hosts-group): Take all host names and IP addresses into account. (tramp-bug): Remove `tramp-make-tramp-file-format'. 2002-09-01 Michael Albinus <Michael.Albinus@alcatel.de> * net/tramp.el (tramp-methods): Add `tramp-completion-function' for "su" and "sudo". (tramp-get-completion-telnet): Implement it. (tramp-parse-hosts) (tramp-parse-hosts-group) (tramp-get-completion-su) (tramp-parse-passwd) (tramp-parse-passwd-group): New functions. 2002-08-31 Michael Albinus <Michael.Albinus@alcatel.de> * net/tramp.el (tramp-completion-mode): Check for `last-input-char'. (tramp-completion-file-name-handler-alist): Add handler for `file-exists-p. (tramp-completion-handle-file-exists-p): New function. (tramp-completion-handle-file-name-completion): Simplified. (tramp-completion-dissect-file-name): Regexp's reorganised. (tramp-completion-handle-file-name-all-completions): Call completion-function only if `user' or `host' is given. (tramp-get-completion-user-host): New function. (tramp-get-completion-rsh) (tramp-get-completion-ssh): Apply it. 2002-08-29 Michael Albinus <Michael.Albinus@alcatel.de> * net/tramp.el (tramp-completion-file-name-handler-alist): Add handler for `expand-file-name'. (tramp-completion-handle-expand-file-name): New function. 2002-08-26 Michael Albinus <Michael.Albinus@alcatel.de> * net/tramp.el (tramp-completion-mode): New function. (tramp-completion-handle-file-name-directory) (tramp-completion-handle-file-name-all-completions): Apply it. (tramp-methods): Remove double definition of `ssh1-old' and `ssh2-old'. (tramp-point-at-eol): New defalias. (tramp-parse-rhosts-group) (tramp-parse-shosts-group):: Apply it. 2002-08-25 Michael Albinus <Michael.Albinus@alcatel.de> * net/tramp.el (tramp-get-completion-methods) (tramp-get-completion-rsh) (tramp-get-completion-ssh): Add "[" for Xemacs. (tramp-completion-file-name-regexp-separate): Expression adapted. (tramp-completion-file-name-handler-alist): Add handler for `file-name-directory' and `file-name-nondirectory'. (tramp-completion-handle-file-name-directory) (tramp-completion-handle-file-name-nondirectory) (tramp-completion-run-real-handler): New functions. (tramp-completion-file-name-handler) (tramp-completion-handle-file-name-all-completions): Apply `tramp-completion-run-real-handler'. (tramp-parse-rhosts) (tramp-parse-shosts): Use `with-temp-buffer'. `result? renamed to `res' (otherwise side effects in XEmacs). 2002-08-24 Michael Albinus <Michael.Albinus@alcatel.de> * net/tramp.el (tramp-completion-file-name-regexp) (tramp-completion-file-name-handler-alist) (tramp-flatten-list) (tramp-completion-dissect-file-name) (tramp-get-completion-rsh) (tramp-parse-rhosts) (tramp-parse-rhosts-group) (tramp-get-completion-ssh): Doc string tuned. (tramp-methods): Doc string and custom type extended for `tramp-completion-function'. (tramp-completion-function): Variable added. Is it really used? Other variables like `tramp-completion-function' aren't used. (tramp-completion-file-name-handler-alist): Add handler for `file-name-completion'. (tramp-completion-handle-file-name-completion): New function. 2002-08-18 Michael Albinus <Michael.Albinus@alcatel.de> * net/tramp.el (tramp-parse-rhosts) (tramp-parse-rhosts-group) (tramp-parse-shosts) (tramp-parse-shosts-group): New functions. 2002-08-17 Michael Albinus <Michael.Albinus@alcatel.de> * net/tramp.el (tramp-completion-dissect-file-name) (tramp-completion-dissect-file-name1): New functions. 2002-08-16 Michael Albinus <Michael.Albinus@alcatel.de> * net/tramp.el (tramp-get-completion-function) (tramp-get-completion-rsh) (tramp-get-completion-ssh) (tramp-get-completion-telnet): New functions. (tramp-methods): Add `tramp-completion-function' for all methods. 2002-08-15 Michael Albinus <Michael.Albinus@alcatel.de> * net/tramp.el (tramp-get-completion-methods): New function. (tramp-find-default-method): Allow host to be nil (like user). 2002-08-14 Michael Albinus <Michael.Albinus@alcatel.de> * net/tramp.el (tramp-completion-file-name-regexp-unified) (tramp-completion-file-name-regexp-separate) (tramp-completion-file-name-regexp) (tramp-completion-file-name-handler-alist): New defcustoms. (tramp-completion-file-name-handler): New function. Add `tramp-completion-file-name-handler' to `file-name-handler-alist'. (tramp-run-real-handler): Add `tramp-completion-file-name-handler' to `inhibit-file-name-handlers'. (tramp-completion-handle-file-name-all-completions) (tramp-completion-handle-file-name-completion): New functions. 2002-08-12 Michael Albinus <Michael.Albinus@alcatel.de> * net/tramp.el (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp' must be called again after activating `ange-ftp'. (tramp-ange-ftp-file-name-p): Check for Xemacs. 2002-08-08 Michael Albinus <Michael.Albinus@alcatel.de> * net/tramp.el (tramp-do-copy-or-rename-file): Don't pass KEEP-DATE to tramp-invoke-ange-ftp 'rename. (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to tramp-invoke-ange-ftp 'write-region. (tramp-handle-set-file-modes): Change order of FILENAME and MODE passing to tramp-invoke-ange-ftp 'set-file-modes. (tramp-flatten-list): New function. Maybe this functionality does exist already elsewhere in the libraries. (tramp-invoke-ange-ftp): Apply `tramp-flatten-list' to parameter list in order to avoid nested lists, f.e. when invoked from `tramp-handle-dired-call-process'. 2002-09-05 Kai Gro?ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> * net/tramp.el (tramp-chunksize): New kluge variable. (tramp-send-region): If tramp-chunksize is non-nil, send region in parts and sleep 0.1 seconds between chunks. 2002-09-03 Kai Gro?ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> * net/tramp.el (tramp-handle-insert-directory): Use `insert-buffer-substring' instead of `insert-buffer', which is not supposed to be used from Lisp. Remember old point in a variable instead of using `mark'. Suggestion from Stefan Monnier. (tramp-unified-filenames): New variable. Use it in default value of other filename variables. (file-expand-wildcards): Don't advise unless "[" and "]" are used in the filename format. 2002-09-01 Kai Gro?ohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> * net/tramp.el (tramp-methods): Remove duplicate definition of ssh1-old and ssh2-old.
author Kai Großjohann <kgrossjo@eu.uu.net>
date Sun, 22 Sep 2002 13:23:36 +0000
parents 4d9f899a5963
children 20336ef6b20a
comparison
equal deleted inserted replaced
47575:4d9f899a5963 47576:b31c8ab7336a
1 2002-09-22 Kai Gro,b_(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
2
3 Version 2.0.20 released.
4
5 2002-09-20 Kai Gro,b_(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
6
7 * net/tramp.el (tramp-completion-function-alist): Escape open
8 paren in docstring.
9 (tramp-user-regexp, tramp-host-regexp): Allow empty strings.
10 (tramp-handle-insert-file-contents): Call tramp-message-for-buffer
11 instead of tramp-message.
12 (tramp-open-connection-rsh): Handle empty string as user name.
13 (tramp-open-connection-su): Handle empty string as host name.
14 Handle nil user name.
15 (tramp-handle-file-local-copy, tramp-handle-write-region)
16 (tramp-completion-handle-file-name-all-completions)
17 (tramp-open-connection-telnet, tramp-open-connection-rsh)
18 (tramp-open-connection-su, tramp-post-connection)
19 (tramp-maybe-open-connection, tramp-method-out-of-band-p)
20 (tramp-get-connection-function, tramp-get-remote-sh)
21 (tramp-get-rsh-program, tramp-get-rsh-args)
22 (tramp-get-rcp-program, tramp-get-rcp-args)
23 (tramp-get-rcp-keep-date-arg, tramp-get-su-program)
24 (tramp-get-su-args, tramp-get-telnet-program)
25 (tramp-get-telnet-args): Use `tramp-find-method', perhaps require
26 additional args USER, HOST.
27 (tramp-action-password, tramp-open-connection-telnet)
28 (tramp-open-connection-su, tramp-open-connection-multi)
29 (tramp-method-out-of-band-p): `tramp-method-out-of-band-p' now
30 takes USER and HOST arguments, to be able to use
31 `tramp-find-method'. Update callers.
32 (tramp-find-method): New function.
33
34 2002-09-20 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
35
36 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
37 in SWITCHES (by removing it).
38
39 2002-09-18 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
40
41 * net/tramp.el (tramp-file-name-handler): Add `file-remote-p'
42 property.
43
44 2002-09-17 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
45
46 * net/tramp.el (top-level): Maybe autoload uudecode-decode-region.
47
48 2002-09-16 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
49
50 * net/tramp.el (tramp-bug): Add tramp-methods.
51
52 2002-09-16 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
53
54 * net/tramp.el (tramp-methods): Update docstring:
55 tramp-encoding-command, tramp-decoding-command,
56 tramp-encoding-function and tramp-decoding-function are not
57 parameters anymore.
58 (tramp-uuencode-region): Autoload it.
59
60 2002-09-13 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
61
62 Version 2.0.19 released.
63
64 * net/tramp-uu.el: New file, implements uuencode in Lisp.
65
66 * net/tramp.el (tramp-coding-commands): Use
67 `tramp-uuencode-region' as local encoder for the uuencode based
68 entries.
69
70 2002-09-13 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
71
72 * net/tramp.el (tramp-handle-write-region): Wrong parens.
73
74 2002-09-13 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
75
76 Version 2.0.18 released.
77
78 * net/tramp.el (tramp-perl-decode): Perl changes to accomodate
79 older versions of Perl. Now tested with 5.004. Suggestion from
80 Michael Albinus.
81
82 2002-09-12 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
83
84 * net/tramp.el (tramp-find-inline-encoding): Call
85 tramp-call-local-coding-command with nil for INPUT and OUTPUT.
86 (tramp-call-local-coding-command): OUTPUT equals nil means to
87 discard the output. INPUT equals nil means /dev/null.
88
89 2002-09-12 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
90
91 * net/tramp.el (tramp-encoding-shell): Default to environment
92 variable COMSPEC on Windows.
93 (tramp-handle-write-region): More debugging output.
94 (tramp-find-inline-encoding): Ditto.
95
96 2002-09-11 Michael Albinus <Michael.Albinus@alcatel.de>
97
98 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
99 Define `result1'.
100 (tramp-parse-hosts-group): Discard IPv6 entries.
101
102 2002-09-11 Kai Gro,b_(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
103
104 * net/tramp.el (tramp-post-connection): Only send Perl
105 mime-encode/decode implementations when using inline method.
106 (tramp-handle-file-local-copy)
107 (tramp-handle-write-region, tramp-post-connection)
108 (tramp-coding-commands, tramp-find-inline-encoding): For the
109 inline encodings, distinguish between local and remote commands,
110 instead of between commands and functions. (The local commands
111 can be functions, too.) If the local host is a Windows machine,
112 we can't expect the same commands to work there as on the remote
113 host.
114 (tramp-call-local-coding-command): New function for calling local
115 encoding and decoding commands.
116 (tramp-set-remote-encoding, tramp-get-remote-encoding)
117 (tramp-set-remote-decoding, tramp-get-remote-decoding)
118 (tramp-set-local-encoding, tramp-get-local-encoding)
119 (tramp-set-local-decoding, tramp-get-local-decoding): New
120 functions.
121 (tramp-get-encoding-command, tramp-set-encoding-command)
122 (tramp-get-decoding-command, tramp-set-decoding-command)
123 (tramp-get-encoding-function, tramp-set-encoding-function)
124 (tramp-get-decoding-function, tramp-set-decoding-function): Old
125 functions, removed.
126
127 2002-09-10 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
128
129 * net/tramp.el (tramp-open-connection-setup-interactive-shell):
130 Change command to invoke /bin/sh slightly to make it compatible
131 with the `rc' shell. Suggested by Daniel Pittman.
132
133 2002-09-10 Michael Albinus <Michael.Albinus@alcatel.de>
134
135 * net/tramp.el (tramp-handle-write-region): Added missing
136 `)'. Hope it's the right place.
137
138 2002-09-09 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
139
140 * net/tramp.el (tramp-open-connection-setup-interactive-shell): Do
141 "exec env PS1='$ ' /bin/sh" instead of just "exec /bin/sh" in
142 order to get a sane shell prompt. If people have ${CWD}, say, in
143 their shell prompt, then the default login shell might display
144 something harmless, but the /bin/sh will display a dollar sign
145 which confused the subsequent prompt recognition.
146 (tramp-multi-action-password): More debugging output.
147 (tramp-encoding-shell): Renamed from tramp-sh-program. More
148 documentation. Default to cmd.exe on Windows NT.
149 (tramp-encoding-command-switch): New variable. Use instead of
150 hard-wired "-c" which is only good for /bin/sh.
151 (tramp-encoding-reads-stdin): New variable. If t, commands are
152 called like "/bin/sh -c COMMAND <INPUT", if nil, they are called
153 like "/bin/sh -c COMMAND INPUT", ie the input file is the last
154 argument.
155 (tramp-multi-sh-program): Always default to tramp-encoding-shell.
156 (tramp-handle-file-local-copy, tramp-handle-write-region): Respect
157 tramp-encoding-shell and friends.
158 (tramp-find-inline-encoding): Use new-style calls for checking if
159 the local commands work.
160
161 2002-09-07 Michael Albinus <Michael.Albinus@alcatel.de>
162
163 * net/tramp.el (tramp-methods): Remove `tramp-completion-function'
164 entries. They are handled now by
165 `tramp-completion-function-alist'.
166 (tramp-completion-function): Defvar removed. I've never used
167 it. Hmm.
168 (tramp-get-completion-function)
169 (tramp-get-completion-rsh, tramp-get-completion-ssh)
170 (tramp-get-completion-telnet, tramp-get-completion-su): Functions
171 removed as well. Not necessary any longer due to extended
172 customization means.
173 (tramp-completion-function-alist): New defcustom. Holds all
174 FUNCTION FILE pairs used for user and host name completion
175 relevant for METHOD.
176 (tramp-completion-function-alist-rsh)
177 (tramp-completion-function-alist-ssh)
178 (tramp-completion-function-alist-telnet)
179 (tramp-completion-function-alist-su): Defconst for initializing
180 `tramp-completion-function-alist'. Unfortunately, mainly UNIX-like
181 values are known for me until now. Needs to be completed for at
182 least VMS++ like operating systems.
183 (tramp-set-completion-function)
184 (tramp-get-completion-function): New functions for configuration
185 of `tramp-completion-function-alist'. The old definition of
186 `tramp-get-completion-function' has been discarded.
187 (tramp-completion-handle-file-name-all-completions): Change
188 function call for user/host completion according to definition in
189 `tramp-completion-function-alist'.
190 (tramp-parse-passwd): Added exception handling for "root", because
191 `tramp-get-completion-su' (the previous place for this stuff)
192 doesn't exist any longer.
193
194 2002-09-07 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
195
196 * net/tramp.el (tramp-enter-password): Use
197 `tramp-password-end-of-line' to terminate the line.
198 (tramp-bug): Include new variable `tramp-password-end-of-line'.
199 (tramp-password-end-of-line): New variable. People who use plink
200 under Windows might have to issue "\r\n" after the password, but
201 they need to send just "\n" after the other commands. So this
202 variable was introduced to complement `tramp-rsh-end-of-line'.
203 (tramp-wait-for-output, tramp-post-connection): Allow "\r" at end
204 of line of the output delimiter.
205
206 2002-09-06 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
207
208 * net/tramp.el (tramp-handle-file-local-copy, tramp-find-shell)
209 (tramp-open-connection-setup-interactive-shell): Add some comments
210 about Douglas Grey Stephen's suggestions to make Tramp work better
211 with plink under Windows. I'm not sure what to think of them, but
212 now I have a guinea pig to try it out on. Said guinea pig is
213 having other problems, though... Also remove some commented-out
214 code.
215
216 2002-09-06 Michael Albinus <Michael.Albinus@alcatel.de>
217
218 * net/tramp.el (tramp-get-completion-methods): Algorithm slightly
219 tuned.
220 (tramp-get-completion-user-host): Accept user names as they are if
221 typed until "@".
222 (tramp-completion-mode): Replace `last-input-char' by modern
223 `last-input-event'. Check for `event-modifiers'.
224
225 2002-09-06 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
226
227 * net/tramp.el (file-expand-wildcards): Corrected check to see if
228 advising is necessary.
229
230 2002-09-05 Michael Albinus <Michael.Albinus@alcatel.de>
231
232 * net/tramp.el (tramp-postfix-single-method-format)
233 (tramp-postfix-multi-method-format)
234 (tramp-postfix-multi-hop-format)
235 (tramp-postfix-user-format): New format strings.
236 (tramp-postfix-single-method-regexp)
237 (tramp-postfix-multi-method-regexp)
238 (tramp-postfix-multi-hop-regexp)
239 (tramp-postfix-user-regexp)
240 (tramp-make-multi-tramp-file-format)
241 (tramp-make-tramp-file-name): Apply them.
242 (tramp-completion-handle-file-name-all-completions): Fix for
243 invoking ange-ftp in case of "/ftp:xxx" file names.
244
245 2002-09-04 Michael Albinus <Michael.Albinus@alcatel.de>
246
247 * net/tramp.el (tramp-prefix-format)
248 (tramp-postfix-host-format): New format strings.
249 (tramp-prefix-regexp, tramp-method-regexp)
250 (tramp-postfix-single-method-regexp)
251 (tramp-postfix-multi-method-regexp)
252 (tramp-postfix-multi-hop-regexp)
253 (tramp-user-regexp, tramp-postfix-user-regexp)
254 (tramp-host-regexp, tramp-postfix-host-regexp)
255 (tramp-path-regexp): New atomar regular expressions. If
256 corresponding format strings exist, derived from them.
257 (tramp-file-name-structure)
258 (tramp-multi-file-name-structure)
259 (tramp-multi-file-name-hop-structure)
260 (tramp-make-multi-tramp-file-format)
261 (tramp-completion-mode)
262 (tramp-completion-dissect-file-name)
263 (tramp-parse-rhosts-group)
264 (tramp-parse-shosts-group)
265 (tramp-parse-hosts-group)
266 (tramp-parse-passwd-group): Apply these expressions.
267 (tramp-file-name-structure-unified)
268 (tramp-file-name-structure-separate)
269 (tramp-make-tramp-file-format-unified)
270 (tramp-make-tramp-file-format-separate)
271 (tramp-make-tramp-file-format)
272 (tramp-make-tramp-file-user-nil-format-unified)
273 (tramp-make-tramp-file-user-nil-format-separate)
274 (tramp-make-tramp-file-user-nil-format)
275 (tramp-multi-file-name-structure-unified)
276 (tramp-multi-file-name-structure-separate)
277 (tramp-multi-file-name-hop-structure-unified)
278 (tramp-multi-file-name-hop-structure-separate)
279 (tramp-make-multi-tramp-file-format-unified)
280 (tramp-make-multi-tramp-file-format-separate): Removed.
281 (tramp-make-tramp-file-name): Allow partial tramp file
282 names. Generate tramp file format on-the-fly depending on
283 parameters. Apply atomar format strings resp expressions.
284 (tramp-get-completion-methods)
285 (tramp-get-completion-user-host): Apply
286 `tramp-make-tramp-file-name'.
287 (tramp-parse-hosts-group): Take all host names and IP addresses
288 into account.
289 (tramp-bug): Remove `tramp-make-tramp-file-format'.
290
291 2002-09-01 Michael Albinus <Michael.Albinus@alcatel.de>
292
293 * net/tramp.el (tramp-methods): Add `tramp-completion-function'
294 for "su" and "sudo".
295 (tramp-get-completion-telnet): Implement it.
296 (tramp-parse-hosts)
297 (tramp-parse-hosts-group)
298 (tramp-get-completion-su)
299 (tramp-parse-passwd)
300 (tramp-parse-passwd-group): New functions.
301
302 2002-08-31 Michael Albinus <Michael.Albinus@alcatel.de>
303
304 * net/tramp.el (tramp-completion-mode): Check for
305 `last-input-char'.
306 (tramp-completion-file-name-handler-alist): Add handler for
307 `file-exists-p.
308 (tramp-completion-handle-file-exists-p): New function.
309 (tramp-completion-handle-file-name-completion): Simplified.
310 (tramp-completion-dissect-file-name): Regexp's reorganised.
311 (tramp-completion-handle-file-name-all-completions): Call
312 completion-function only if `user' or `host' is given.
313 (tramp-get-completion-user-host): New function.
314 (tramp-get-completion-rsh)
315 (tramp-get-completion-ssh): Apply it.
316
317 2002-08-29 Michael Albinus <Michael.Albinus@alcatel.de>
318
319 * net/tramp.el (tramp-completion-file-name-handler-alist): Add
320 handler for `expand-file-name'.
321 (tramp-completion-handle-expand-file-name): New function.
322
323 2002-08-26 Michael Albinus <Michael.Albinus@alcatel.de>
324
325 * net/tramp.el (tramp-completion-mode): New function.
326 (tramp-completion-handle-file-name-directory)
327 (tramp-completion-handle-file-name-all-completions): Apply it.
328 (tramp-methods): Remove double definition of `ssh1-old' and
329 `ssh2-old'.
330 (tramp-point-at-eol): New defalias.
331 (tramp-parse-rhosts-group)
332 (tramp-parse-shosts-group):: Apply it.
333
334 2002-08-25 Michael Albinus <Michael.Albinus@alcatel.de>
335
336 * net/tramp.el (tramp-get-completion-methods)
337 (tramp-get-completion-rsh)
338 (tramp-get-completion-ssh): Add "[" for Xemacs.
339 (tramp-completion-file-name-regexp-separate): Expression adapted.
340 (tramp-completion-file-name-handler-alist): Add handler for
341 `file-name-directory' and `file-name-nondirectory'.
342 (tramp-completion-handle-file-name-directory)
343 (tramp-completion-handle-file-name-nondirectory)
344 (tramp-completion-run-real-handler): New functions.
345 (tramp-completion-file-name-handler)
346 (tramp-completion-handle-file-name-all-completions): Apply
347 `tramp-completion-run-real-handler'.
348 (tramp-parse-rhosts)
349 (tramp-parse-shosts): Use `with-temp-buffer'. `result,b4(B renamed to
350 `res' (otherwise side effects in XEmacs).
351
352 2002-08-24 Michael Albinus <Michael.Albinus@alcatel.de>
353
354 * net/tramp.el (tramp-completion-file-name-regexp)
355 (tramp-completion-file-name-handler-alist)
356 (tramp-flatten-list)
357 (tramp-completion-dissect-file-name)
358 (tramp-get-completion-rsh)
359 (tramp-parse-rhosts)
360 (tramp-parse-rhosts-group)
361 (tramp-get-completion-ssh): Doc string tuned.
362 (tramp-methods): Doc string and custom type extended for
363 `tramp-completion-function'.
364 (tramp-completion-function): Variable added. Is it really used?
365 Other variables like `tramp-completion-function' aren't used.
366 (tramp-completion-file-name-handler-alist): Add handler for
367 `file-name-completion'.
368 (tramp-completion-handle-file-name-completion): New function.
369
370 2002-08-18 Michael Albinus <Michael.Albinus@alcatel.de>
371
372 * net/tramp.el (tramp-parse-rhosts)
373 (tramp-parse-rhosts-group)
374 (tramp-parse-shosts)
375 (tramp-parse-shosts-group): New functions.
376
377 2002-08-17 Michael Albinus <Michael.Albinus@alcatel.de>
378
379 * net/tramp.el (tramp-completion-dissect-file-name)
380 (tramp-completion-dissect-file-name1): New functions.
381
382 2002-08-16 Michael Albinus <Michael.Albinus@alcatel.de>
383
384 * net/tramp.el (tramp-get-completion-function)
385 (tramp-get-completion-rsh)
386 (tramp-get-completion-ssh)
387 (tramp-get-completion-telnet): New functions.
388 (tramp-methods): Add `tramp-completion-function' for all methods.
389
390 2002-08-15 Michael Albinus <Michael.Albinus@alcatel.de>
391
392 * net/tramp.el (tramp-get-completion-methods): New function.
393 (tramp-find-default-method): Allow host to be nil (like user).
394
395 2002-08-14 Michael Albinus <Michael.Albinus@alcatel.de>
396
397 * net/tramp.el (tramp-completion-file-name-regexp-unified)
398 (tramp-completion-file-name-regexp-separate)
399 (tramp-completion-file-name-regexp)
400 (tramp-completion-file-name-handler-alist): New defcustoms.
401 (tramp-completion-file-name-handler): New function. Add
402 `tramp-completion-file-name-handler' to `file-name-handler-alist'.
403 (tramp-run-real-handler): Add `tramp-completion-file-name-handler'
404 to `inhibit-file-name-handlers'.
405 (tramp-completion-handle-file-name-all-completions)
406 (tramp-completion-handle-file-name-completion): New functions.
407
408 2002-08-12 Michael Albinus <Michael.Albinus@alcatel.de>
409
410 * net/tramp.el (tramp-invoke-ange-ftp): `tramp-disable-ange-ftp'
411 must be called again after activating `ange-ftp'.
412 (tramp-ange-ftp-file-name-p): Check for Xemacs.
413
414 2002-08-08 Michael Albinus <Michael.Albinus@alcatel.de>
415
416 * net/tramp.el (tramp-do-copy-or-rename-file): Don't pass
417 KEEP-DATE to tramp-invoke-ange-ftp 'rename.
418 (tramp-handle-write-region): Don't pass LOCKNAME and CONFIRM to
419 tramp-invoke-ange-ftp 'write-region.
420 (tramp-handle-set-file-modes): Change order of FILENAME and MODE
421 passing to tramp-invoke-ange-ftp 'set-file-modes.
422 (tramp-flatten-list): New function. Maybe this functionality does
423 exist already elsewhere in the libraries.
424 (tramp-invoke-ange-ftp): Apply `tramp-flatten-list' to parameter
425 list in order to avoid nested lists, f.e. when invoked from
426 `tramp-handle-dired-call-process'.
427
428 2002-09-05 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
429
430 * net/tramp.el (tramp-chunksize): New kluge variable.
431 (tramp-send-region): If tramp-chunksize is non-nil, send region in
432 parts and sleep 0.1 seconds between chunks.
433
434 2002-09-03 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
435
436 * net/tramp.el (tramp-handle-insert-directory): Use
437 `insert-buffer-substring' instead of `insert-buffer', which is not
438 supposed to be used from Lisp. Remember old point in a variable
439 instead of using `mark'. Suggestion from Stefan Monnier.
440 (tramp-unified-filenames): New variable. Use it in default value
441 of other filename variables.
442 (file-expand-wildcards): Don't advise unless "[" and "]" are used
443 in the filename format.
444
445 2002-09-01 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
446
447 * net/tramp.el (tramp-methods): Remove duplicate definition of
448 ssh1-old and ssh2-old.
449
1 2002-09-22 Kai Gro,b_(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de> 450 2002-09-22 Kai Gro,b_(Bjohann <grossjoh@ls6.informatik.uni-dortmund.de>
2 451
3 * dired.el (dired-insert-directory): Always add "--dired" to to 452 * dired.el (dired-insert-directory): Always add "--dired" to to
4 SWITCHES for remote files. 453 SWITCHES for remote files.
5 * files.el (insert-directory): Comment saying that "--dired" 454 * files.el (insert-directory): Comment saying that "--dired"