comparison lisp/ChangeLog @ 47616:fb782cfe9a36

*** empty log message ***
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 25 Sep 2002 20:22:57 +0000
parents afae0250f325
children ccda37186e6e
comparison
equal deleted inserted replaced
47615:a298684644ca 47616:fb782cfe9a36
1 2002-09-25 Oliver Scholz <alkibiades@gmx.de> 1 2002-09-25 Stefan Monnier <monnier@cs.yale.edu>
2 2
3 * gamegrid.el (gamegrid-face): new variable to emulate a 3 * server.el: Use built-in network primitives.
4 buffer-local default face. 4 (server-program, server-previous-string): Remove.
5 (gamegrid-xbm): new variable; XBM image as a replacement for 5 (server-previous-strings): New var.
6 `gamegrid-xpm' on Emacsen compiled without XPM-support. 6 (server-socket-name): New var.
7 (gamegrid-colorize-glyph): Ported XEmacs-code for the generation 7 (server-log): Minor change to the output format.
8 of images to Emacs. 8 (server-sentinel): Clean up global state when a client disconnects.
9 (gamegrid-match-spec): Call `gamegrid-make-image-from-vector' to 9 (server-unquote-arg): New fun.
10 convert XEmacs-type image descriptors. 10 (server-start): Use server-socket-name and make-network-process.
11 (gamegrid-color-display-p): Removed. (Use `display-colors-p' 11 (server-process-filter): Now talks to the clients directly.
12 instead.) 12 Normalize file name after unquoting and decoding.
13 (gamegrid-make-image-from-vector): New function. Convert XEmacs' 13 (server-buffer-done): Just close the connection.
14 image descriptors. 14 (server-switch-buffer): Handle the case where all windows are
15 (gamegrid-display-type): Use Emacs' standard `display-.*-p' 15 dedicated or minibuffers.
16 functions to check for display capabilities. Fix the recognition 16
17 of image-support in Emacs 21 by this way. 17 * font-lock.el (fast-lock-mode, lazy-lock-mode, jit-lock-mode):
18 (gamegrid-hide-cursor): Removed. 18 Don't bind them variables.
19 (gamegrid-setup-default-font): Ported the code from XEmacs to 19 (font-lock-turn-off-thing-lock, font-lock-after-fontify-buffer)
20 Emacs: create a new face and assign the variable `gamegrid-face' 20 (font-lock-after-unfontify-buffer): Check that the vars are bound.
21 to it. Make sure that the face is not higher than the smallest 21 (font-lock-dont-widen): New var.
22 image used by the game. 22 (font-lock-default-fontify-region): Use it.
23 (gamegrid-initialize-display): Use `(setq cursor-type nil)' 23
24 instead of `gamegrid-hide-cursor'. 24 * emacs-lisp/find-func.el (find-library-name):
25 (gamegrid-set-face): If `gamegrid-display-mode' is 'glyph, put an 25 Correctly find "file.el.gz" from "file.elc" or "file.elc.gz".
26 image in the buffer, instead of applying a face. [This is because
27 Emacs display-tables are not as capable as the display-tables in
28 XEmacs. Maybe this function should be renamed to reflect the
29 change?]
30 (gamegrid-init-buffer): If `gamegrid-display-mode' is 'glyph, put
31 the face held by `gamegrid-face' in an overlay over the whole
32 buffer to emulate a buffer-local default-face.
33 26
34 2002-09-25 Kenichi Handa <handa@etl.go.jp> 27 2002-09-25 Kenichi Handa <handa@etl.go.jp>
35 28
36 * international/mule-cmds.el (select-safe-coding-system): Handle 29 * international/mule-cmds.el (select-safe-coding-system):
37 safe but rejected default coding systems and unsafe default 30 Handle safe but rejected default coding systems and unsafe default
38 coding systems differently. 31 coding systems differently.
39 32
40 * international/mule-diag.el (list-character-sets): Use the buffer 33 * international/mule-diag.el (list-character-sets): Use the buffer
41 name "*Character Set List*", not "*Help*". List also indirectly 34 name "*Character Set List*", not "*Help*". List also indirectly
42 supported character sets. 35 supported character sets.
61 instead of 'occur and 'occur-point. 54 instead of 'occur and 'occur-point.
62 55
63 * eshell/em-unix.el (eshell-occur-mode-mouse-goto) 56 * eshell/em-unix.el (eshell-occur-mode-mouse-goto)
64 (eshell-poor-mans-grep): Remove references to `occur-buffer'. 57 (eshell-poor-mans-grep): Remove references to `occur-buffer'.
65 58
59 2002-09-24 Stefan Monnier <monnier@cs.yale.edu>
60
61 * descr-text.el (describe-text-category): Use *Help*.
62 Don't kill-buffer.
63 (describe-text-properties, describe-char):
64 Delay self-inspection test. Use *Help*.
65 Use syntax-after. Use `pos' rather than (point).
66 Distinguish the before/after part of a composition.
67
66 2002-09-23 Kenichi Handa <handa@etl.go.jp> 68 2002-09-23 Kenichi Handa <handa@etl.go.jp>
67 69
68 * international/quail.el (quail-completion): Be sure to scroll 70 * international/quail.el (quail-completion): Be sure to scroll
69 quail-completion-buf. 71 quail-completion-buf.
70 72
72 74
73 * ielm.el (*1): Fix previous change. 75 * ielm.el (*1): Fix previous change.
74 76
75 2002-09-22 Oliver Scholz <alkibiades@gmx.de> 77 2002-09-22 Oliver Scholz <alkibiades@gmx.de>
76 78
77 * play/gamegrid.el (gamegrid-face): new variable to emulate a 79 * play/gamegrid.el (gamegrid-face): New variable to emulate a
78 buffer-local default face. 80 buffer-local default face.
79 (gamegrid-xbm): new variable; XBM image as a replacement for 81 (gamegrid-xbm): New variable; XBM image as a replacement for
80 `gamegrid-xpm' on Emacsen compiled without XPM-support. 82 `gamegrid-xpm' on Emacsen compiled without XPM-support.
81 (gamegrid-colorize-glyph): Ported XEmacs-code for the generation 83 (gamegrid-colorize-glyph): Ported XEmacs-code for the generation
82 of images to Emacs. 84 of images to Emacs.
83 (gamegrid-match-spec): Call `gamegrid-make-image-from-vector' to 85 (gamegrid-match-spec): Call `gamegrid-make-image-from-vector' to
84 convert XEmacs-type image descriptors. 86 convert XEmacs-type image descriptors.
85 (gamegrid-color-display-p): Removed. (Use `display-colors-p' 87 (gamegrid-color-display-p): Remove (use `display-colors-p' instead.)
86 instead.) 88 (gamegrid-make-image-from-vector): New function. Convert XEmacs'
87 (gamegrid-make-image-from-vector): New function. Convert XEmacs'
88 image descriptors. 89 image descriptors.
89 (gamegrid-display-type): Use Emacs' standard `display-.*-p' 90 (gamegrid-display-type): Use Emacs' standard `display-.*-p'
90 functions to check for display capabilities. Fix the recognition 91 functions to check for display capabilities. Fix the recognition
91 of image-support in Emacs 21 by this way. 92 of image-support in Emacs 21 by this way.
92 (gamegrid-hide-cursor): Removed. 93 (gamegrid-hide-cursor): Removed.
93 (gamegrid-setup-default-font): Ported the code from XEmacs to 94 (gamegrid-setup-default-font): Ported the code from XEmacs to
94 Emacs: create a new face and assign the variable `gamegrid-face' 95 Emacs: create a new face and assign the variable `gamegrid-face'
95 to it. Make sure that the face is not higher than the smallest 96 to it. Make sure that the face is not higher than the smallest
96 image used by the game. 97 image used by the game.
97 (gamegrid-initialize-display): Use `(setq cursor-type nil)' 98 (gamegrid-initialize-display): Use `(setq cursor-type nil)'
98 instead of `gamegrid-hide-cursor'. 99 instead of `gamegrid-hide-cursor'.
99 (gamegrid-set-face): If `gamegrid-display-mode' is 'glyph, put an 100 (gamegrid-set-face): If `gamegrid-display-mode' is 'glyph, put an
100 image in the buffer, instead of applying a face. [This is because 101 image in the buffer, instead of applying a face. [This is because
101 Emacs display-tables are not as capable as the display-tables in 102 Emacs display-tables are not as capable as the display-tables in
102 XEmacs. Maybe this function should be renamed to reflect the 103 XEmacs. Maybe this function should be renamed to reflect the change?]
103 change?]
104 (gamegrid-init-buffer): If `gamegrid-display-mode' is 'glyph, put 104 (gamegrid-init-buffer): If `gamegrid-display-mode' is 'glyph, put
105 the face held by `gamegrid-face' in an overlay over the whole 105 the face held by `gamegrid-face' in an overlay over the whole
106 buffer to emulate a buffer-local default-face. 106 buffer to emulate a buffer-local default-face.
107 107
108 2002-09-23 Juanma Barranquero <lektu@terra.es> 108 2002-09-23 Juanma Barranquero <lektu@terra.es>
109 109
110 * net/tramp.el (tramp-unified-filenames): Autoload it. 110 * net/tramp.el (tramp-unified-filenames): Autoload it.
111 111
112 2002-09-23 Michael Kifer <kifer@cs.stonybrook.edu> 112 2002-09-23 Michael Kifer <kifer@cs.stonybrook.edu>
113 113
114 * ediff-init.el (ediff-get-next-window): bug fix. 114 * ediff-init.el (ediff-get-next-window): Bug fix.
115 115
116 2002-09-22 Richard M. Stallman <rms@gnu.org> 116 2002-09-22 Richard M. Stallman <rms@gnu.org>
117 117
118 * play/doctor.el (doctor-doc): Add 2 question words. 118 * play/doctor.el (doctor-doc): Add 2 question words.
119 (doctor-getnoun): Parse and save the complete object phrase. 119 (doctor-getnoun): Parse and save the complete object phrase.
132 `add-to-list' for performance reasons. 132 `add-to-list' for performance reasons.
133 (tramp-get-completion-user-host): Return `nil' in case both `user' 133 (tramp-get-completion-user-host): Return `nil' in case both `user'
134 and 'host' are empty (not necessarily `nil'. 134 and 'host' are empty (not necessarily `nil'.
135 (tramp-parse-netrc, tramp-parse-netrc-group): New functions. 135 (tramp-parse-netrc, tramp-parse-netrc-group): New functions.
136 (tramp-user-regexp): " \t" are not user regexp characters. 136 (tramp-user-regexp): " \t" are not user regexp characters.
137 (tramp-completion-handle-file-name-all-completions): Remove 137 (tramp-completion-handle-file-name-all-completions):
138 Ange-FTP cmpletion. It has a bug not handling the "/ftp:" prefix 138 Remove Ange-FTP cmpletion. It has a bug not handling the "/ftp:" prefix
139 completely, and it returns local completions as well. 139 completely, and it returns local completions as well.
140 (tramp-completion-function-alist-ftp): New constant. 140 (tramp-completion-function-alist-ftp): New constant.
141 (tramp-completion-function-alist): Add completion function for 141 (tramp-completion-function-alist): Add completion function for "ftp".
142 "ftp".
143 From Michael Albinus <Michael.Albinus@alcatel.de>. 142 From Michael Albinus <Michael.Albinus@alcatel.de>.
144 143
145 2002-09-22 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 144 2002-09-22 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
146 145
147 * net/tramp.el: Version 2.0.21 released. 146 * net/tramp.el: Version 2.0.21 released.
194 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired" 193 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
195 in SWITCHES (by removing it). 194 in SWITCHES (by removing it).
196 195
197 2002-09-18 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 196 2002-09-18 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
198 197
199 * net/tramp.el (tramp-file-name-handler): Add `file-remote-p' 198 * net/tramp.el (tramp-file-name-handler): Add `file-remote-p' property.
200 property.
201 199
202 2002-09-17 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 200 2002-09-17 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
203 201
204 * net/tramp.el (top-level): Maybe autoload uudecode-decode-region. 202 * net/tramp.el (top-level): Maybe autoload uudecode-decode-region.
205 203
219 217
220 Version 2.0.19 released. 218 Version 2.0.19 released.
221 219
222 * net/tramp-uu.el: New file, implements uuencode in Lisp. 220 * net/tramp-uu.el: New file, implements uuencode in Lisp.
223 221
224 * net/tramp.el (tramp-coding-commands): Use 222 * net/tramp.el (tramp-coding-commands):
225 `tramp-uuencode-region' as local encoder for the uuencode based 223 Use `tramp-uuencode-region' as local encoder for the uuencode based
226 entries. 224 entries.
227 225
228 2002-09-13 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 226 2002-09-13 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
229 227
230 * net/tramp.el (tramp-handle-write-region): Wrong parens. 228 * net/tramp.el (tramp-handle-write-region): Wrong parens.
237 older versions of Perl. Now tested with 5.004. Suggestion from 235 older versions of Perl. Now tested with 5.004. Suggestion from
238 Michael Albinus. 236 Michael Albinus.
239 237
240 2002-09-12 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 238 2002-09-12 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
241 239
242 * net/tramp.el (tramp-find-inline-encoding): Call 240 * net/tramp.el (tramp-find-inline-encoding):
243 tramp-call-local-coding-command with nil for INPUT and OUTPUT. 241 Call tramp-call-local-coding-command with nil for INPUT and OUTPUT.
244 (tramp-call-local-coding-command): OUTPUT equals nil means to 242 (tramp-call-local-coding-command): OUTPUT equals nil means to
245 discard the output. INPUT equals nil means /dev/null. 243 discard the output. INPUT equals nil means /dev/null.
246 244
247 2002-09-12 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 245 2002-09-12 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
248 246
265 (tramp-handle-write-region, tramp-post-connection) 263 (tramp-handle-write-region, tramp-post-connection)
266 (tramp-coding-commands, tramp-find-inline-encoding): For the 264 (tramp-coding-commands, tramp-find-inline-encoding): For the
267 inline encodings, distinguish between local and remote commands, 265 inline encodings, distinguish between local and remote commands,
268 instead of between commands and functions. (The local commands 266 instead of between commands and functions. (The local commands
269 can be functions, too.) If the local host is a Windows machine, 267 can be functions, too.) If the local host is a Windows machine,
270 we can't expect the same commands to work there as on the remote 268 we can't expect the same commands to work there as on the remote host.
271 host.
272 (tramp-call-local-coding-command): New function for calling local 269 (tramp-call-local-coding-command): New function for calling local
273 encoding and decoding commands. 270 encoding and decoding commands.
274 (tramp-set-remote-encoding, tramp-get-remote-encoding) 271 (tramp-set-remote-encoding, tramp-get-remote-encoding)
275 (tramp-set-remote-decoding, tramp-get-remote-decoding) 272 (tramp-set-remote-decoding, tramp-get-remote-decoding)
276 (tramp-set-local-encoding, tramp-get-local-encoding) 273 (tramp-set-local-encoding, tramp-get-local-encoding)
277 (tramp-set-local-decoding, tramp-get-local-decoding): New 274 (tramp-set-local-decoding, tramp-get-local-decoding): New functions.
278 functions.
279 (tramp-get-encoding-command, tramp-set-encoding-command) 275 (tramp-get-encoding-command, tramp-set-encoding-command)
280 (tramp-get-decoding-command, tramp-set-decoding-command) 276 (tramp-get-decoding-command, tramp-set-decoding-command)
281 (tramp-get-encoding-function, tramp-set-encoding-function) 277 (tramp-get-encoding-function, tramp-set-encoding-function)
282 (tramp-get-decoding-function, tramp-set-decoding-function): Old 278 (tramp-get-decoding-function, tramp-set-decoding-function):
283 functions, removed. 279 Old functions, removed.
284 280
285 2002-09-10 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 281 2002-09-10 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
286 282
287 * net/tramp.el (tramp-open-connection-setup-interactive-shell): 283 * net/tramp.el (tramp-open-connection-setup-interactive-shell):
288 Change command to invoke /bin/sh slightly to make it compatible 284 Change command to invoke /bin/sh slightly to make it compatible
289 with the `rc' shell. Suggested by Daniel Pittman. 285 with the `rc' shell. Suggested by Daniel Pittman.
290 286
291 2002-09-10 Michael Albinus <Michael.Albinus@alcatel.de> 287 2002-09-10 Michael Albinus <Michael.Albinus@alcatel.de>
292 288
293 * net/tramp.el (tramp-handle-write-region): Added missing 289 * net/tramp.el (tramp-handle-write-region): Added missing
294 `)'. Hope it's the right place. 290 `)'. Hope it's the right place.
295 291
296 2002-09-09 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 292 2002-09-09 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
297 293
298 * net/tramp.el (tramp-open-connection-setup-interactive-shell): Do 294 * net/tramp.el (tramp-open-connection-setup-interactive-shell):
299 "exec env PS1='$ ' /bin/sh" instead of just "exec /bin/sh" in 295 Do "exec env PS1='$ ' /bin/sh" instead of just "exec /bin/sh" in
300 order to get a sane shell prompt. If people have ${CWD}, say, in 296 order to get a sane shell prompt. If people have ${CWD}, say, in
301 their shell prompt, then the default login shell might display 297 their shell prompt, then the default login shell might display
302 something harmless, but the /bin/sh will display a dollar sign 298 something harmless, but the /bin/sh will display a dollar sign
303 which confused the subsequent prompt recognition. 299 which confused the subsequent prompt recognition.
304 (tramp-multi-action-password): More debugging output. 300 (tramp-multi-action-password): More debugging output.
305 (tramp-encoding-shell): Renamed from tramp-sh-program. More 301 (tramp-encoding-shell): Renamed from tramp-sh-program.
306 documentation. Default to cmd.exe on Windows NT. 302 More documentation. Default to cmd.exe on Windows NT.
307 (tramp-encoding-command-switch): New variable. Use instead of 303 (tramp-encoding-command-switch): New variable. Use instead of
308 hard-wired "-c" which is only good for /bin/sh. 304 hard-wired "-c" which is only good for /bin/sh.
309 (tramp-encoding-reads-stdin): New variable. If t, commands are 305 (tramp-encoding-reads-stdin): New variable. If t, commands are
310 called like "/bin/sh -c COMMAND <INPUT", if nil, they are called 306 called like "/bin/sh -c COMMAND <INPUT", if nil, they are called
311 like "/bin/sh -c COMMAND INPUT", ie the input file is the last 307 like "/bin/sh -c COMMAND INPUT", ie the input file is the last arg.
312 argument.
313 (tramp-multi-sh-program): Always default to tramp-encoding-shell. 308 (tramp-multi-sh-program): Always default to tramp-encoding-shell.
314 (tramp-handle-file-local-copy, tramp-handle-write-region): Respect 309 (tramp-handle-file-local-copy, tramp-handle-write-region):
315 tramp-encoding-shell and friends. 310 Respect tramp-encoding-shell and friends.
316 (tramp-find-inline-encoding): Use new-style calls for checking if 311 (tramp-find-inline-encoding): Use new-style calls for checking if
317 the local commands work. 312 the local commands work.
318 313
319 2002-09-07 Michael Albinus <Michael.Albinus@alcatel.de> 314 2002-09-07 Michael Albinus <Michael.Albinus@alcatel.de>
320 315
321 * net/tramp.el (tramp-methods): Remove `tramp-completion-function' 316 * net/tramp.el (tramp-methods): Remove `tramp-completion-function'
322 entries. They are handled now by 317 entries. They are handled now by `tramp-completion-function-alist'.
323 `tramp-completion-function-alist'.
324 (tramp-completion-function): Defvar removed. I've never used 318 (tramp-completion-function): Defvar removed. I've never used
325 it. Hmm. 319 it. Hmm.
326 (tramp-get-completion-function) 320 (tramp-get-completion-function)
327 (tramp-get-completion-rsh, tramp-get-completion-ssh) 321 (tramp-get-completion-rsh, tramp-get-completion-ssh)
328 (tramp-get-completion-telnet, tramp-get-completion-su): Functions 322 (tramp-get-completion-telnet, tramp-get-completion-su):
329 removed as well. Not necessary any longer due to extended 323 Functions removed as well. Not necessary any longer due to extended
330 customization means. 324 customization means.
331 (tramp-completion-function-alist): New defcustom. Holds all 325 (tramp-completion-function-alist): New defcustom. Holds all
332 FUNCTION FILE pairs used for user and host name completion 326 FUNCTION FILE pairs used for user and host name completion
333 relevant for METHOD. 327 relevant for METHOD.
334 (tramp-completion-function-alist-rsh) 328 (tramp-completion-function-alist-rsh)
340 least VMS++ like operating systems. 334 least VMS++ like operating systems.
341 (tramp-set-completion-function) 335 (tramp-set-completion-function)
342 (tramp-get-completion-function): New functions for configuration 336 (tramp-get-completion-function): New functions for configuration
343 of `tramp-completion-function-alist'. The old definition of 337 of `tramp-completion-function-alist'. The old definition of
344 `tramp-get-completion-function' has been discarded. 338 `tramp-get-completion-function' has been discarded.
345 (tramp-completion-handle-file-name-all-completions): Change 339 (tramp-completion-handle-file-name-all-completions):
346 function call for user/host completion according to definition in 340 Change function call for user/host completion according to definition
347 `tramp-completion-function-alist'. 341 in `tramp-completion-function-alist'.
348 (tramp-parse-passwd): Added exception handling for "root", because 342 (tramp-parse-passwd): Added exception handling for "root", because
349 `tramp-get-completion-su' (the previous place for this stuff) 343 `tramp-get-completion-su' (the previous place for this stuff)
350 doesn't exist any longer. 344 doesn't exist any longer.
351 345
352 2002-09-07 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 346 2002-09-07 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
353 347
354 * net/tramp.el (tramp-enter-password): Use 348 * net/tramp.el (tramp-enter-password):
355 `tramp-password-end-of-line' to terminate the line. 349 Use `tramp-password-end-of-line' to terminate the line.
356 (tramp-bug): Include new variable `tramp-password-end-of-line'. 350 (tramp-bug): Include new variable `tramp-password-end-of-line'.
357 (tramp-password-end-of-line): New variable. People who use plink 351 (tramp-password-end-of-line): New variable. People who use plink
358 under Windows might have to issue "\r\n" after the password, but 352 under Windows might have to issue "\r\n" after the password, but
359 they need to send just "\n" after the other commands. So this 353 they need to send just "\n" after the other commands. So this
360 variable was introduced to complement `tramp-rsh-end-of-line'. 354 variable was introduced to complement `tramp-rsh-end-of-line'.
366 * net/tramp.el (tramp-handle-file-local-copy, tramp-find-shell) 360 * net/tramp.el (tramp-handle-file-local-copy, tramp-find-shell)
367 (tramp-open-connection-setup-interactive-shell): Add some comments 361 (tramp-open-connection-setup-interactive-shell): Add some comments
368 about Douglas Grey Stephen's suggestions to make Tramp work better 362 about Douglas Grey Stephen's suggestions to make Tramp work better
369 with plink under Windows. I'm not sure what to think of them, but 363 with plink under Windows. I'm not sure what to think of them, but
370 now I have a guinea pig to try it out on. Said guinea pig is 364 now I have a guinea pig to try it out on. Said guinea pig is
371 having other problems, though... Also remove some commented-out 365 having other problems, though... Also remove some commented-out code.
372 code.
373 366
374 2002-09-06 Michael Albinus <Michael.Albinus@alcatel.de> 367 2002-09-06 Michael Albinus <Michael.Albinus@alcatel.de>
375 368
376 * net/tramp.el (tramp-get-completion-methods): Algorithm slightly 369 * net/tramp.el (tramp-get-completion-methods): Algorithm slightly
377 tuned. 370 tuned.
408 (tramp-postfix-single-method-regexp) 401 (tramp-postfix-single-method-regexp)
409 (tramp-postfix-multi-method-regexp) 402 (tramp-postfix-multi-method-regexp)
410 (tramp-postfix-multi-hop-regexp) 403 (tramp-postfix-multi-hop-regexp)
411 (tramp-user-regexp, tramp-postfix-user-regexp) 404 (tramp-user-regexp, tramp-postfix-user-regexp)
412 (tramp-host-regexp, tramp-postfix-host-regexp) 405 (tramp-host-regexp, tramp-postfix-host-regexp)
413 (tramp-path-regexp): New atomar regular expressions. If 406 (tramp-path-regexp): New atomar regular expressions.
414 corresponding format strings exist, derived from them. 407 If corresponding format strings exist, derived from them.
415 (tramp-file-name-structure) 408 (tramp-file-name-structure)
416 (tramp-multi-file-name-structure) 409 (tramp-multi-file-name-structure)
417 (tramp-multi-file-name-hop-structure) 410 (tramp-multi-file-name-hop-structure)
418 (tramp-make-multi-tramp-file-format) 411 (tramp-make-multi-tramp-file-format)
419 (tramp-completion-mode) 412 (tramp-completion-mode)
438 (tramp-make-multi-tramp-file-format-separate): Removed. 431 (tramp-make-multi-tramp-file-format-separate): Removed.
439 (tramp-make-tramp-file-name): Allow partial tramp file 432 (tramp-make-tramp-file-name): Allow partial tramp file
440 names. Generate tramp file format on-the-fly depending on 433 names. Generate tramp file format on-the-fly depending on
441 parameters. Apply atomar format strings resp expressions. 434 parameters. Apply atomar format strings resp expressions.
442 (tramp-get-completion-methods) 435 (tramp-get-completion-methods)
443 (tramp-get-completion-user-host): Apply 436 (tramp-get-completion-user-host): Apply `tramp-make-tramp-file-name'.
444 `tramp-make-tramp-file-name'.
445 (tramp-parse-hosts-group): Take all host names and IP addresses 437 (tramp-parse-hosts-group): Take all host names and IP addresses
446 into account. 438 into account.
447 (tramp-bug): Remove `tramp-make-tramp-file-format'. 439 (tramp-bug): Remove `tramp-make-tramp-file-format'.
448 440
449 2002-09-01 Michael Albinus <Michael.Albinus@alcatel.de> 441 2002-09-01 Michael Albinus <Michael.Albinus@alcatel.de>
457 (tramp-parse-passwd) 449 (tramp-parse-passwd)
458 (tramp-parse-passwd-group): New functions. 450 (tramp-parse-passwd-group): New functions.
459 451
460 2002-08-31 Michael Albinus <Michael.Albinus@alcatel.de> 452 2002-08-31 Michael Albinus <Michael.Albinus@alcatel.de>
461 453
462 * net/tramp.el (tramp-completion-mode): Check for 454 * net/tramp.el (tramp-completion-mode): Check for `last-input-char'.
463 `last-input-char'.
464 (tramp-completion-file-name-handler-alist): Add handler for 455 (tramp-completion-file-name-handler-alist): Add handler for
465 `file-exists-p. 456 `file-exists-p.
466 (tramp-completion-handle-file-exists-p): New function. 457 (tramp-completion-handle-file-exists-p): New function.
467 (tramp-completion-handle-file-name-completion): Simplified. 458 (tramp-completion-handle-file-name-completion): Simplified.
468 (tramp-completion-dissect-file-name): Regexp's reorganised. 459 (tramp-completion-dissect-file-name): Regexp's reorganised.
469 (tramp-completion-handle-file-name-all-completions): Call 460 (tramp-completion-handle-file-name-all-completions):
470 completion-function only if `user' or `host' is given. 461 Call completion-function only if `user' or `host' is given.
471 (tramp-get-completion-user-host): New function. 462 (tramp-get-completion-user-host): New function.
472 (tramp-get-completion-rsh) 463 (tramp-get-completion-rsh)
473 (tramp-get-completion-ssh): Apply it. 464 (tramp-get-completion-ssh): Apply it.
474 465
475 2002-08-29 Michael Albinus <Michael.Albinus@alcatel.de> 466 2002-08-29 Michael Albinus <Michael.Albinus@alcatel.de>
476 467
477 * net/tramp.el (tramp-completion-file-name-handler-alist): Add 468 * net/tramp.el (tramp-completion-file-name-handler-alist):
478 handler for `expand-file-name'. 469 Add handler for `expand-file-name'.
479 (tramp-completion-handle-expand-file-name): New function. 470 (tramp-completion-handle-expand-file-name): New function.
480 471
481 2002-08-26 Michael Albinus <Michael.Albinus@alcatel.de> 472 2002-08-26 Michael Albinus <Michael.Albinus@alcatel.de>
482 473
483 * net/tramp.el (tramp-completion-mode): New function. 474 * net/tramp.el (tramp-completion-mode): New function.
484 (tramp-completion-handle-file-name-directory) 475 (tramp-completion-handle-file-name-directory)
485 (tramp-completion-handle-file-name-all-completions): Apply it. 476 (tramp-completion-handle-file-name-all-completions): Apply it.
486 (tramp-methods): Remove double definition of `ssh1-old' and 477 (tramp-methods): Remove double definition of `ssh1-old' and `ssh2-old'.
487 `ssh2-old'.
488 (tramp-point-at-eol): New defalias. 478 (tramp-point-at-eol): New defalias.
489 (tramp-parse-rhosts-group) 479 (tramp-parse-rhosts-group)
490 (tramp-parse-shosts-group):: Apply it. 480 (tramp-parse-shosts-group):: Apply it.
491 481
492 2002-08-25 Michael Albinus <Michael.Albinus@alcatel.de> 482 2002-08-25 Michael Albinus <Michael.Albinus@alcatel.de>
499 `file-name-directory' and `file-name-nondirectory'. 489 `file-name-directory' and `file-name-nondirectory'.
500 (tramp-completion-handle-file-name-directory) 490 (tramp-completion-handle-file-name-directory)
501 (tramp-completion-handle-file-name-nondirectory) 491 (tramp-completion-handle-file-name-nondirectory)
502 (tramp-completion-run-real-handler): New functions. 492 (tramp-completion-run-real-handler): New functions.
503 (tramp-completion-file-name-handler) 493 (tramp-completion-file-name-handler)
504 (tramp-completion-handle-file-name-all-completions): Apply 494 (tramp-completion-handle-file-name-all-completions):
505 `tramp-completion-run-real-handler'. 495 Apply `tramp-completion-run-real-handler'.
506 (tramp-parse-rhosts) 496 (tramp-parse-rhosts)
507 (tramp-parse-shosts): Use `with-temp-buffer'. `result,b4(B renamed to 497 (tramp-parse-shosts): Use `with-temp-buffer'. `result,b4(B renamed to
508 `res' (otherwise side effects in XEmacs). 498 `res' (otherwise side effects in XEmacs).
509 499
510 2002-08-24 Michael Albinus <Michael.Albinus@alcatel.de> 500 2002-08-24 Michael Albinus <Michael.Albinus@alcatel.de>
554 544
555 * net/tramp.el (tramp-completion-file-name-regexp-unified) 545 * net/tramp.el (tramp-completion-file-name-regexp-unified)
556 (tramp-completion-file-name-regexp-separate) 546 (tramp-completion-file-name-regexp-separate)
557 (tramp-completion-file-name-regexp) 547 (tramp-completion-file-name-regexp)
558 (tramp-completion-file-name-handler-alist): New defcustoms. 548 (tramp-completion-file-name-handler-alist): New defcustoms.
559 (tramp-completion-file-name-handler): New function. Add 549 (tramp-completion-file-name-handler): New function.
560 `tramp-completion-file-name-handler' to `file-name-handler-alist'. 550 Add `tramp-completion-file-name-handler' to `file-name-handler-alist'.
561 (tramp-run-real-handler): Add `tramp-completion-file-name-handler' 551 (tramp-run-real-handler): Add `tramp-completion-file-name-handler'
562 to `inhibit-file-name-handlers'. 552 to `inhibit-file-name-handlers'.
563 (tramp-completion-handle-file-name-all-completions) 553 (tramp-completion-handle-file-name-all-completions)
564 (tramp-completion-handle-file-name-completion): New functions. 554 (tramp-completion-handle-file-name-completion): New functions.
565 555
589 (tramp-send-region): If tramp-chunksize is non-nil, send region in 579 (tramp-send-region): If tramp-chunksize is non-nil, send region in
590 parts and sleep 0.1 seconds between chunks. 580 parts and sleep 0.1 seconds between chunks.
591 581
592 2002-09-03 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> 582 2002-09-03 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
593 583
594 * net/tramp.el (tramp-handle-insert-directory): Use 584 * net/tramp.el (tramp-handle-insert-directory):
595 `insert-buffer-substring' instead of `insert-buffer', which is not 585 Use `insert-buffer-substring' instead of `insert-buffer', which is not
596 supposed to be used from Lisp. Remember old point in a variable 586 supposed to be used from Lisp. Remember old point in a variable
597 instead of using `mark'. Suggestion from Stefan Monnier. 587 instead of using `mark'. Suggestion from Stefan Monnier.
598 (tramp-unified-filenames): New variable. Use it in default value 588 (tramp-unified-filenames): New variable. Use it in default value
599 of other filename variables. 589 of other filename variables.
600 (file-expand-wildcards): Don't advise unless "[" and "]" are used 590 (file-expand-wildcards): Don't advise unless "[" and "]" are used
610 * dired.el (dired-insert-directory): Always add "--dired" to to 600 * dired.el (dired-insert-directory): Always add "--dired" to to
611 SWITCHES for remote files. 601 SWITCHES for remote files.
612 * files.el (insert-directory): Comment saying that "--dired" 602 * files.el (insert-directory): Comment saying that "--dired"
613 might be in the SWITCHES. 603 might be in the SWITCHES.
614 * net/ange-ftp.el (ange-ftp-ls): Handle "--dired" in LSARGS. 604 * net/ange-ftp.el (ange-ftp-ls): Handle "--dired" in LSARGS.
615 (ange-ftp-insert-directory): Comment explaining "--dired" 605 (ange-ftp-insert-directory): Comment explaining "--dired" handling.
616 handling.
617 606
618 2002-09-21 Markus Rost <rost@math.ohio-state.edu> 607 2002-09-21 Markus Rost <rost@math.ohio-state.edu>
619 608
620 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Give %!._- 609 * mail/mailabbrev.el (mail-abbrev-make-syntax-table): Give %!._-
621 word constituent syntax. 610 word constituent syntax.