aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2005-03-20 20:00:20 +0000
committerMichael Albinus2005-03-20 20:00:20 +0000
commit340b8d4f63cd3d20a3c1883b78111e3768c0265b (patch)
tree48f815e4b5df2c761dc84b2411861f987fc6eb3b
parent92aba9ab38940b642bebd763dac852104c5c0127 (diff)
downloademacs-340b8d4f63cd3d20a3c1883b78111e3768c0265b.tar.gz
emacs-340b8d4f63cd3d20a3c1883b78111e3768c0265b.zip
Sync with Tramp 2.0.48.
-rw-r--r--lisp/ChangeLog23
-rw-r--r--lisp/net/tramp-smb.el138
-rw-r--r--lisp/net/tramp-util.el6
-rw-r--r--lisp/net/tramp-vc.el4
-rw-r--r--lisp/net/tramp.el239
-rw-r--r--lisp/net/trampver.el4
-rw-r--r--man/ChangeLog13
-rw-r--r--man/tramp.texi69
-rw-r--r--man/trampver.texi6
9 files changed, 279 insertions, 223 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 84b7191ac0a..d1a050343ec 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,26 @@
12005-03-20 Michael Albinus <michael.albinus@gmx.de>
2
3 Sync with Tramp 2.0.48.
4
5 * tramp.el (all): Change all addresses to .gnu.org.
6 (tramp-append-tramp-buffers): New defun.
7 (tramp-bug): Apply `tramp-append-tramp-buffers' as post-hook.
8 Catch `dont-send' signal.
9 (tramp-set-auto-save-file-modes): Set always permissions, because
10 there might be an old auto-saved file belonging to another
11 original file. This could be a security threat. Reported by
12 Kjetil Kjernsmo <kjetil@kjernsmo.net>.
13 Check for Emacs 21.3.50 removed.
14
15 * tramp-smb.el (all): Remove debug construct for
16 `with-parsed-tramp-file-name'.
17 (tramp-smb-prompt): Prompt can contain spaces inside directory
18 names.
19 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file):
20 No error message if DIRECTORY or FILENAME doesn't exist.
21 (tramp-smb-open-connection): Check existence of
22 `tramp-smb-program'.
23
12005-03-20 Miles Bader <miles@gnu.org> 242005-03-20 Miles Bader <miles@gnu.org>
2 25
3 * progmodes/gdb-ui.el (gdb-put-breakpoint-icon): Use breakpoint faces 26 * progmodes/gdb-ui.el (gdb-put-breakpoint-icon): Use breakpoint faces
diff --git a/lisp/net/tramp-smb.el b/lisp/net/tramp-smb.el
index 55ab9e693f1..ebdbc354ec4 100644
--- a/lisp/net/tramp-smb.el
+++ b/lisp/net/tramp-smb.el
@@ -1,8 +1,8 @@
1;;; tramp-smb.el --- Tramp access functions for SMB servers -*- coding: iso-8859-1; -*- 1;;; tramp-smb.el --- Tramp access functions for SMB servers -*- coding: iso-8859-1; -*-
2 2
3;; Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4 4
5;; Author: Michael Albinus <Michael.Albinus@alcatel.de> 5;; Author: Michael Albinus <michael.albinus@gmx.de>
6;; Keywords: comm, processes 6;; Keywords: comm, processes
7 7
8;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
@@ -75,7 +75,7 @@
75 :group 'tramp 75 :group 'tramp
76 :type 'string) 76 :type 'string)
77 77
78(defconst tramp-smb-prompt "^smb: \\S-+> \\|^\\s-+Server\\s-+Comment$" 78(defconst tramp-smb-prompt "^smb: .+> \\|^\\s-+Server\\s-+Comment$"
79 "Regexp used as prompt in smbclient.") 79 "Regexp used as prompt in smbclient.")
80 80
81(defconst tramp-smb-errors 81(defconst tramp-smb-errors
@@ -235,10 +235,7 @@ KEEP-DATE is not handled in case NEWNAME resides on an SMB server."
235 (file-exists-p newname)) 235 (file-exists-p newname))
236 (error "copy-file: file %s already exists" newname)) 236 (error "copy-file: file %s already exists" newname))
237 237
238; (with-parsed-tramp-file-name newname nil 238 (with-parsed-tramp-file-name newname nil
239 (let (user host localname)
240 (with-parsed-tramp-file-name newname l
241 (setq user l-user host l-host localname l-localname))
242 (save-excursion 239 (save-excursion
243 (let ((share (tramp-smb-get-share localname)) 240 (let ((share (tramp-smb-get-share localname))
244 (file (tramp-smb-get-localname localname t))) 241 (file (tramp-smb-get-localname localname t)))
@@ -258,59 +255,46 @@ KEEP-DATE is not handled in case NEWNAME resides on an SMB server."
258(defun tramp-smb-handle-delete-directory (directory) 255(defun tramp-smb-handle-delete-directory (directory)
259 "Like `delete-directory' for tramp files." 256 "Like `delete-directory' for tramp files."
260 (setq directory (directory-file-name (expand-file-name directory))) 257 (setq directory (directory-file-name (expand-file-name directory)))
261 (unless (file-exists-p directory) 258 (when (file-exists-p directory)
262 (error "Cannot delete non-existing directory `%s'" directory)) 259 (with-parsed-tramp-file-name directory nil
263; (with-parsed-tramp-file-name directory nil 260 (save-excursion
264 (let (user host localname) 261 (let ((share (tramp-smb-get-share localname))
265 (with-parsed-tramp-file-name directory l 262 (dir (tramp-smb-get-localname (file-name-directory localname) t))
266 (setq user l-user host l-host localname l-localname)) 263 (file (file-name-nondirectory localname)))
267 (save-excursion 264 (tramp-smb-maybe-open-connection user host share)
268 (let ((share (tramp-smb-get-share localname)) 265 (if (and
269 (dir (tramp-smb-get-localname (file-name-directory localname) t)) 266 (tramp-smb-send-command user host (format "cd \"%s\"" dir))
270 (file (file-name-nondirectory localname))) 267 (tramp-smb-send-command user host (format "rmdir \"%s\"" file)))
271 (tramp-smb-maybe-open-connection user host share) 268 ;; Go Home
272 (if (and 269 (tramp-smb-send-command user host (format "cd \\"))
273 (tramp-smb-send-command user host (format "cd \"%s\"" dir)) 270 ;; Error
274 (tramp-smb-send-command user host (format "rmdir \"%s\"" file)))
275 ;; Go Home
276 (tramp-smb-send-command user host (format "cd \\")) 271 (tramp-smb-send-command user host (format "cd \\"))
277 ;; Error 272 (error "Cannot delete directory `%s'" directory)))))))
278 (tramp-smb-send-command user host (format "cd \\"))
279 (error "Cannot delete directory `%s'" directory))))))
280 273
281(defun tramp-smb-handle-delete-file (filename) 274(defun tramp-smb-handle-delete-file (filename)
282 "Like `delete-file' for tramp files." 275 "Like `delete-file' for tramp files."
283 (setq filename (expand-file-name filename)) 276 (setq filename (expand-file-name filename))
284 (unless (file-exists-p filename) 277 (when (file-exists-p filename)
285 (error "Cannot delete non-existing file `%s'" filename)) 278 (with-parsed-tramp-file-name filename nil
286; (with-parsed-tramp-file-name filename nil 279 (save-excursion
287 (let (user host localname) 280 (let ((share (tramp-smb-get-share localname))
288 (with-parsed-tramp-file-name filename l 281 (dir (tramp-smb-get-localname (file-name-directory localname) t))
289 (setq user l-user host l-host localname l-localname)) 282 (file (file-name-nondirectory localname)))
290 (save-excursion 283 (tramp-smb-maybe-open-connection user host share)
291 (let ((share (tramp-smb-get-share localname)) 284 (if (and
292 (dir (tramp-smb-get-localname (file-name-directory localname) t)) 285 (tramp-smb-send-command user host (format "cd \"%s\"" dir))
293 (file (file-name-nondirectory localname))) 286 (tramp-smb-send-command user host (format "rm \"%s\"" file)))
294 (unless (file-exists-p filename) 287 ;; Go Home
295 (error "Cannot delete non-existing file `%s'" filename)) 288 (tramp-smb-send-command user host (format "cd \\"))
296 (tramp-smb-maybe-open-connection user host share) 289 ;; Error
297 (if (and
298 (tramp-smb-send-command user host (format "cd \"%s\"" dir))
299 (tramp-smb-send-command user host (format "rm \"%s\"" file)))
300 ;; Go Home
301 (tramp-smb-send-command user host (format "cd \\")) 290 (tramp-smb-send-command user host (format "cd \\"))
302 ;; Error 291 (error "Cannot delete file `%s'" filename)))))))
303 (tramp-smb-send-command user host (format "cd \\"))
304 (error "Cannot delete file `%s'" filename))))))
305 292
306(defun tramp-smb-handle-directory-files 293(defun tramp-smb-handle-directory-files
307 (directory &optional full match nosort) 294 (directory &optional full match nosort)
308 "Like `directory-files' for tramp files." 295 "Like `directory-files' for tramp files."
309 (setq directory (directory-file-name (expand-file-name directory))) 296 (setq directory (directory-file-name (expand-file-name directory)))
310; (with-parsed-tramp-file-name directory nil 297 (with-parsed-tramp-file-name directory nil
311 (let (user host localname)
312 (with-parsed-tramp-file-name directory l
313 (setq user l-user host l-host localname l-localname))
314 (save-excursion 298 (save-excursion
315 (let* ((share (tramp-smb-get-share localname)) 299 (let* ((share (tramp-smb-get-share localname))
316 (file (tramp-smb-get-localname localname nil)) 300 (file (tramp-smb-get-localname localname nil))
@@ -340,17 +324,14 @@ KEEP-DATE is not handled in case NEWNAME resides on an SMB server."
340 (mapcar 324 (mapcar
341 (lambda (x) 325 (lambda (x)
342 ;; We cannot call `file-attributes' for backward compatibility reasons. 326 ;; We cannot call `file-attributes' for backward compatibility reasons.
343 ;; Its optional parameter ID-FORMAT is introduced with Emacs 22.1. 327 ;; Its optional parameter ID-FORMAT is introduced with Emacs 22.
344 (cons x (tramp-smb-handle-file-attributes 328 (cons x (tramp-smb-handle-file-attributes
345 (if full x (concat (file-name-as-directory directory) x)) id-format))) 329 (if full x (concat (file-name-as-directory directory) x)) id-format)))
346 (directory-files directory full match nosort))) 330 (directory-files directory full match nosort)))
347 331
348(defun tramp-smb-handle-file-attributes (filename &optional id-format) 332(defun tramp-smb-handle-file-attributes (filename &optional id-format)
349 "Like `file-attributes' for tramp files." 333 "Like `file-attributes' for tramp files."
350; (with-parsed-tramp-file-name filename nil 334 (with-parsed-tramp-file-name filename nil
351 (let (user host localname)
352 (with-parsed-tramp-file-name filename l
353 (setq user l-user host l-host localname l-localname))
354 (save-excursion 335 (save-excursion
355 (let* ((share (tramp-smb-get-share localname)) 336 (let* ((share (tramp-smb-get-share localname))
356 (file (tramp-smb-get-localname localname nil)) 337 (file (tramp-smb-get-localname localname nil))
@@ -380,10 +361,7 @@ KEEP-DATE is not handled in case NEWNAME resides on an SMB server."
380 361
381(defun tramp-smb-handle-file-directory-p (filename) 362(defun tramp-smb-handle-file-directory-p (filename)
382 "Like `file-directory-p' for tramp files." 363 "Like `file-directory-p' for tramp files."
383; (with-parsed-tramp-file-name filename nil 364 (with-parsed-tramp-file-name filename nil
384 (let (user host localname)
385 (with-parsed-tramp-file-name filename l
386 (setq user l-user host l-host localname l-localname))
387 (save-excursion 365 (save-excursion
388 (let* ((share (tramp-smb-get-share localname)) 366 (let* ((share (tramp-smb-get-share localname))
389 (file (tramp-smb-get-localname localname nil)) 367 (file (tramp-smb-get-localname localname nil))
@@ -396,10 +374,7 @@ KEEP-DATE is not handled in case NEWNAME resides on an SMB server."
396 374
397(defun tramp-smb-handle-file-exists-p (filename) 375(defun tramp-smb-handle-file-exists-p (filename)
398 "Like `file-exists-p' for tramp files." 376 "Like `file-exists-p' for tramp files."
399; (with-parsed-tramp-file-name filename nil 377 (with-parsed-tramp-file-name filename nil
400 (let (user host localname)
401 (with-parsed-tramp-file-name filename l
402 (setq user l-user host l-host localname l-localname))
403 (save-excursion 378 (save-excursion
404 (let* ((share (tramp-smb-get-share localname)) 379 (let* ((share (tramp-smb-get-share localname))
405 (file (tramp-smb-get-localname localname nil)) 380 (file (tramp-smb-get-localname localname nil))
@@ -433,10 +408,7 @@ KEEP-DATE is not handled in case NEWNAME resides on an SMB server."
433;; files. 408;; files.
434(defun tramp-smb-handle-file-name-all-completions (filename directory) 409(defun tramp-smb-handle-file-name-all-completions (filename directory)
435 "Like `file-name-all-completions' for tramp files." 410 "Like `file-name-all-completions' for tramp files."
436; (with-parsed-tramp-file-name directory nil 411 (with-parsed-tramp-file-name directory nil
437 (let (user host localname)
438 (with-parsed-tramp-file-name directory l
439 (setq user l-user host l-host localname l-localname))
440 (save-match-data 412 (save-match-data
441 (save-excursion 413 (save-excursion
442 (let* ((share (tramp-smb-get-share localname)) 414 (let* ((share (tramp-smb-get-share localname))
@@ -467,10 +439,7 @@ KEEP-DATE is not handled in case NEWNAME resides on an SMB server."
467 (let ((dir (file-name-directory filename))) 439 (let ((dir (file-name-directory filename)))
468 (and (file-exists-p dir) 440 (and (file-exists-p dir)
469 (file-writable-p dir))) 441 (file-writable-p dir)))
470; (with-parsed-tramp-file-name filename nil 442 (with-parsed-tramp-file-name filename nil
471 (let (user host localname)
472 (with-parsed-tramp-file-name filename l
473 (setq user l-user host l-host localname l-localname))
474 (save-excursion 443 (save-excursion
475 (let* ((share (tramp-smb-get-share localname)) 444 (let* ((share (tramp-smb-get-share localname))
476 (file (tramp-smb-get-localname localname nil)) 445 (file (tramp-smb-get-localname localname nil))
@@ -490,10 +459,7 @@ WILDCARD and FULL-DIRECTORY-P are not handled."
490 ;; This check is a little bit strange, but in `dired-add-entry' 459 ;; This check is a little bit strange, but in `dired-add-entry'
491 ;; this function is called with a non-directory ... 460 ;; this function is called with a non-directory ...
492 (setq filename (file-name-as-directory filename))) 461 (setq filename (file-name-as-directory filename)))
493; (with-parsed-tramp-file-name filename nil 462 (with-parsed-tramp-file-name filename nil
494 (let (user host localname)
495 (with-parsed-tramp-file-name filename l
496 (setq user l-user host l-host localname l-localname))
497 (save-match-data 463 (save-match-data
498 (let* ((share (tramp-smb-get-share localname)) 464 (let* ((share (tramp-smb-get-share localname))
499 (file (tramp-smb-get-localname localname nil)) 465 (file (tramp-smb-get-localname localname nil))
@@ -543,10 +509,7 @@ WILDCARD and FULL-DIRECTORY-P are not handled."
543 (setq dir (directory-file-name (expand-file-name dir))) 509 (setq dir (directory-file-name (expand-file-name dir)))
544 (unless (file-name-absolute-p dir) 510 (unless (file-name-absolute-p dir)
545 (setq dir (concat default-directory dir))) 511 (setq dir (concat default-directory dir)))
546; (with-parsed-tramp-file-name dir nil 512 (with-parsed-tramp-file-name dir nil
547 (let (user host localname)
548 (with-parsed-tramp-file-name dir l
549 (setq user l-user host l-host localname l-localname))
550 (save-match-data 513 (save-match-data
551 (let* ((share (tramp-smb-get-share localname)) 514 (let* ((share (tramp-smb-get-share localname))
552 (ldir (file-name-directory dir))) 515 (ldir (file-name-directory dir)))
@@ -564,10 +527,7 @@ WILDCARD and FULL-DIRECTORY-P are not handled."
564 (setq directory (directory-file-name (expand-file-name directory))) 527 (setq directory (directory-file-name (expand-file-name directory)))
565 (unless (file-name-absolute-p directory) 528 (unless (file-name-absolute-p directory)
566 (setq directory (concat default-directory directory))) 529 (setq directory (concat default-directory directory)))
567; (with-parsed-tramp-file-name directory nil 530 (with-parsed-tramp-file-name directory nil
568 (let (user host localname)
569 (with-parsed-tramp-file-name directory l
570 (setq user l-user host l-host localname l-localname))
571 (save-match-data 531 (save-match-data
572 (let* ((share (tramp-smb-get-share localname)) 532 (let* ((share (tramp-smb-get-share localname))
573 (file (tramp-smb-get-localname localname nil))) 533 (file (tramp-smb-get-localname localname nil)))
@@ -597,10 +557,7 @@ WILDCARD and FULL-DIRECTORY-P are not handled."
597 (file-exists-p newname)) 557 (file-exists-p newname))
598 (error "rename-file: file %s already exists" newname)) 558 (error "rename-file: file %s already exists" newname))
599 559
600; (with-parsed-tramp-file-name newname nil 560 (with-parsed-tramp-file-name newname nil
601 (let (user host localname)
602 (with-parsed-tramp-file-name newname l
603 (setq user l-user host l-host localname l-localname))
604 (save-excursion 561 (save-excursion
605 (let ((share (tramp-smb-get-share localname)) 562 (let ((share (tramp-smb-get-share localname))
606 (file (tramp-smb-get-localname localname t))) 563 (file (tramp-smb-get-localname localname t)))
@@ -636,10 +593,7 @@ Catches errors for shares like \"C$/\", which are common in Microsoft Windows."
636 (unless (y-or-n-p (format "File %s exists; overwrite anyway? " 593 (unless (y-or-n-p (format "File %s exists; overwrite anyway? "
637 filename)) 594 filename))
638 (error "File not overwritten"))) 595 (error "File not overwritten")))
639; (with-parsed-tramp-file-name filename nil 596 (with-parsed-tramp-file-name filename nil
640 (let (user host localname)
641 (with-parsed-tramp-file-name filename l
642 (setq user l-user host l-host localname l-localname))
643 (save-excursion 597 (save-excursion
644 (let ((share (tramp-smb-get-share localname)) 598 (let ((share (tramp-smb-get-share localname))
645 (file (tramp-smb-get-localname localname t)) 599 (file (tramp-smb-get-localname localname t))
@@ -969,6 +923,10 @@ then sends the password to the remote host.
969 923
970Domain names in USER and port numbers in HOST are acknowledged." 924Domain names in USER and port numbers in HOST are acknowledged."
971 925
926 (when (and (fboundp 'executable-find)
927 (not (funcall 'executable-find tramp-smb-program)))
928 (error "Cannot find command %s in %s" tramp-smb-program exec-path))
929
972 (save-match-data 930 (save-match-data
973 (let* ((buffer (tramp-get-buffer nil tramp-smb-method user host)) 931 (let* ((buffer (tramp-get-buffer nil tramp-smb-method user host))
974 (real-user user) 932 (real-user user)
diff --git a/lisp/net/tramp-util.el b/lisp/net/tramp-util.el
index 8f195fe4ad8..1621c2c818e 100644
--- a/lisp/net/tramp-util.el
+++ b/lisp/net/tramp-util.el
@@ -34,7 +34,7 @@
34 34
35;; Define a Tramp minor mode. It's intention is to redefine some keys for Tramp 35;; Define a Tramp minor mode. It's intention is to redefine some keys for Tramp
36;; specific functions, like compilation. 36;; specific functions, like compilation.
37;; The key remapping works since Emacs 22.1 only. Unknown for XEmacs. 37;; The key remapping works since Emacs 22 only. Unknown for XEmacs.
38 38
39(when (fboundp 'define-minor-mode) 39(when (fboundp 'define-minor-mode)
40 40
@@ -59,10 +59,10 @@ If remapping functionality for keymaps is defined, this happens for all
59bindings. Otherwise, only bindings active during invocation are taken 59bindings. Otherwise, only bindings active during invocation are taken
60into account. XEmacs menubar bindings are not changed by this." 60into account. XEmacs menubar bindings are not changed by this."
61 (if (functionp 'command-remapping) 61 (if (functionp 'command-remapping)
62 ;; Emacs 22.1 62 ;; Emacs 22
63 (eval 63 (eval
64 `(define-key tramp-minor-mode-map [remap ,old-command] new-command)) 64 `(define-key tramp-minor-mode-map [remap ,old-command] new-command))
65 ;; previous Emacs 21 versions. 65 ;; previous Emacs versions.
66 (mapcar 66 (mapcar
67 '(lambda (x) 67 '(lambda (x)
68 (define-key tramp-minor-mode-map x new-command)) 68 (define-key tramp-minor-mode-map x new-command))
diff --git a/lisp/net/tramp-vc.el b/lisp/net/tramp-vc.el
index 7c75b0f01c9..c58d83504c2 100644
--- a/lisp/net/tramp-vc.el
+++ b/lisp/net/tramp-vc.el
@@ -1,6 +1,6 @@
1;;; tramp-vc.el --- Version control integration for TRAMP.el 1;;; tramp-vc.el --- Version control integration for TRAMP.el
2 2
3;; Copyright (C) 2000, 2001, 2002, 2003, 2004 by Free Software Foundation, Inc. 3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 by Free Software Foundation, Inc.
4 4
5;; Author: Daniel Pittman <daniel@danann.net> 5;; Author: Daniel Pittman <daniel@danann.net>
6;; Keywords: comm, processes 6;; Keywords: comm, processes
@@ -409,7 +409,7 @@ filename we are thinking about..."
409 ;; boundness-checking into this function? 409 ;; boundness-checking into this function?
410 (let* ((file (symbol-value 'file)) 410 (let* ((file (symbol-value 'file))
411 (remote-uid 411 (remote-uid
412 ;; With Emacs 22.1, `file-attributes' has got an optional parameter 412 ;; With Emacs 22, `file-attributes' has got an optional parameter
413 ;; ID-FORMAT. Handle this case backwards compatible. 413 ;; ID-FORMAT. Handle this case backwards compatible.
414 (if (and (functionp 'subr-arity) 414 (if (and (functionp 'subr-arity)
415 (= 2 (cdr (funcall (symbol-function 'subr-arity) 415 (= 2 (cdr (funcall (symbol-function 'subr-arity)
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 14682975fe9..bfdf7ed067a 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -47,16 +47,12 @@
47;; Also see the todo list at the bottom of this file. 47;; Also see the todo list at the bottom of this file.
48;; 48;;
49;; The current version of Tramp can be retrieved from the following URL: 49;; The current version of Tramp can be retrieved from the following URL:
50;; http://savannah.nongnu.org/download/tramp/ 50;; http://ftp.gnu.org/gnu/tramp/
51;; 51;;
52;; There's a mailing list for this, as well. Its name is: 52;; There's a mailing list for this, as well. Its name is:
53;; tramp-devel@mail.freesoftware.fsf.org 53;; tramp-devel@gnu.org
54;; Send a mail with `help' in the subject (!) to the administration 54;; You can use the Web to subscribe, under the following URL:
55;; address for instructions on joining the list. The administration 55;; http://lists.gnu.org/mailman/listinfo/tramp-devel
56;; address is:
57;; tramp-devel-request@mail.freesoftware.fsf.org
58;; You can also use the Web to subscribe, under the following URL:
59;; http://mail.freesoftware.fsf.org/mailman/listinfo/tramp-devel
60;; 56;;
61;; For the adventurous, the current development sources are available 57;; For the adventurous, the current development sources are available
62;; via CVS. You can find instructions about this at the following URL: 58;; via CVS. You can find instructions about this at the following URL:
@@ -3501,7 +3497,7 @@ Used in `tramp-handle-shell-command'")
3501This will break if COMMAND prints a newline, followed by the value of 3497This will break if COMMAND prints a newline, followed by the value of
3502`tramp-end-of-output', followed by another newline." 3498`tramp-end-of-output', followed by another newline."
3503 ;; Asynchronous processes are far from being perfect. But it works at least 3499 ;; Asynchronous processes are far from being perfect. But it works at least
3504 ;; for `find-grep-dired' and `find-name-dired' in Emacs 22.1. 3500 ;; for `find-grep-dired' and `find-name-dired' in Emacs 22.
3505 (if (tramp-tramp-file-p default-directory) 3501 (if (tramp-tramp-file-p default-directory)
3506 (with-parsed-tramp-file-name default-directory nil 3502 (with-parsed-tramp-file-name default-directory nil
3507 (let ((asynchronous (string-match "[ \t]*&[ \t]*\\'" command)) 3503 (let ((asynchronous (string-match "[ \t]*&[ \t]*\\'" command))
@@ -4108,7 +4104,7 @@ ARGS are the arguments OPERATION has been called with."
4108 (list 'dired-call-process 4104 (list 'dired-call-process
4109 ; Emacs only 4105 ; Emacs only
4110 'shell-command 4106 'shell-command
4111 ; Post Emacs 21.3 only 4107 ; Emacs 22 only
4112 'process-file 4108 'process-file
4113 ; XEmacs only 4109 ; XEmacs only
4114 'dired-print-file 'dired-shell-call-process)) 4110 'dired-print-file 'dired-shell-call-process))
@@ -4213,7 +4209,7 @@ Falls back to normal file name handler if no tramp file name handler exists."
4213 4209
4214(defun tramp-repair-jka-compr () 4210(defun tramp-repair-jka-compr ()
4215 "If jka-compr is already loaded, move it to the front of 4211 "If jka-compr is already loaded, move it to the front of
4216`file-name-handler-alist'. On Emacs 22.1 or so this will not be 4212`file-name-handler-alist'. On Emacs 22 or so this will not be
4217necessary anymore." 4213necessary anymore."
4218 (let ((jka (rassoc 'jka-compr-handler file-name-handler-alist))) 4214 (let ((jka (rassoc 'jka-compr-handler file-name-handler-alist)))
4219 (when jka 4215 (when jka
@@ -6937,8 +6933,8 @@ as default."
6937 (tramp-make-auto-save-file-name (buffer-file-name))) 6933 (tramp-make-auto-save-file-name (buffer-file-name)))
6938 ad-do-it)) 6934 ad-do-it))
6939 6935
6940;; In Emacs < 22.1 and XEmacs < 21.5 autosaved remote files have 6936;; In Emacs < 22 and XEmacs < 21.5 autosaved remote files have
6941;; permission 666 minus umask. This is a security threat. 6937;; permission 0666 minus umask. This is a security threat.
6942 6938
6943(defun tramp-set-auto-save-file-modes () 6939(defun tramp-set-auto-save-file-modes ()
6944 "Set permissions of autosaved remote files to the original permissions." 6940 "Set permissions of autosaved remote files to the original permissions."
@@ -6946,20 +6942,18 @@ as default."
6946 (when (and (stringp bfn) 6942 (when (and (stringp bfn)
6947 (tramp-tramp-file-p bfn) 6943 (tramp-tramp-file-p bfn)
6948 (stringp buffer-auto-save-file-name) 6944 (stringp buffer-auto-save-file-name)
6949 (not (equal bfn buffer-auto-save-file-name)) 6945 (not (equal bfn buffer-auto-save-file-name)))
6950 (not (file-exists-p buffer-auto-save-file-name))) 6946 (unless (file-exists-p buffer-auto-save-file-name)
6951 (write-region "" nil buffer-auto-save-file-name) 6947 (write-region "" nil buffer-auto-save-file-name))
6948 ;; Permissions should be set always, because there might be an old
6949 ;; auto-saved file belonging to another original file. This could
6950 ;; be a security threat.
6952 (set-file-modes buffer-auto-save-file-name (file-modes bfn))))) 6951 (set-file-modes buffer-auto-save-file-name (file-modes bfn)))))
6953 6952
6954(unless (or (> emacs-major-version 21) 6953(unless (or (> emacs-major-version 21)
6955 (and (featurep 'xemacs) 6954 (and (featurep 'xemacs)
6956 (= emacs-major-version 21) 6955 (= emacs-major-version 21)
6957 (> emacs-minor-version 4)) 6956 (> emacs-minor-version 4)))
6958 (and (not (featurep 'xemacs))
6959 (= emacs-major-version 21)
6960 (or (> emacs-minor-version 3)
6961 (and (string-match "^21\\.3\\.\\([0-9]+\\)" emacs-version)
6962 (>= (string-to-int (match-string 1 emacs-version)) 50)))))
6963 (add-hook 'auto-save-hook 'tramp-set-auto-save-file-modes)) 6957 (add-hook 'auto-save-hook 'tramp-set-auto-save-file-modes))
6964 6958
6965(defun tramp-subst-strs-in-string (alist string) 6959(defun tramp-subst-strs-in-string (alist string)
@@ -7206,72 +7200,73 @@ Only works for Bourne-like shells."
7206 "Submit a bug report to the TRAMP developers." 7200 "Submit a bug report to the TRAMP developers."
7207 (interactive) 7201 (interactive)
7208 (require 'reporter) 7202 (require 'reporter)
7209 (let ((reporter-prompt-for-summary-p t)) 7203 (catch 'dont-send
7210 (reporter-submit-bug-report 7204 (let ((reporter-prompt-for-summary-p t))
7211 tramp-bug-report-address ; to-address 7205 (reporter-submit-bug-report
7212 (format "tramp (%s)" tramp-version) ; package name and version 7206 tramp-bug-report-address ; to-address
7213 `(;; Current state 7207 (format "tramp (%s)" tramp-version) ; package name and version
7214 tramp-ls-command 7208 `(;; Current state
7215 tramp-test-groks-nt 7209 tramp-ls-command
7216 tramp-file-exists-command 7210 tramp-test-groks-nt
7217 tramp-current-multi-method 7211 tramp-file-exists-command
7218 tramp-current-method 7212 tramp-current-multi-method
7219 tramp-current-user 7213 tramp-current-method
7220 tramp-current-host 7214 tramp-current-user
7221 7215 tramp-current-host
7222 ;; System defaults 7216
7223 tramp-auto-save-directory ; vars to dump 7217 ;; System defaults
7224 tramp-default-method 7218 tramp-auto-save-directory ; vars to dump
7225 tramp-rsh-end-of-line 7219 tramp-default-method
7226 tramp-default-password-end-of-line 7220 tramp-rsh-end-of-line
7227 tramp-remote-path 7221 tramp-default-password-end-of-line
7228 tramp-login-prompt-regexp 7222 tramp-remote-path
7229 tramp-password-prompt-regexp 7223 tramp-login-prompt-regexp
7230 tramp-wrong-passwd-regexp 7224 tramp-password-prompt-regexp
7231 tramp-yesno-prompt-regexp 7225 tramp-wrong-passwd-regexp
7232 tramp-yn-prompt-regexp 7226 tramp-yesno-prompt-regexp
7233 tramp-terminal-prompt-regexp 7227 tramp-yn-prompt-regexp
7234 tramp-out-of-band-prompt-regexp 7228 tramp-terminal-prompt-regexp
7235 tramp-temp-name-prefix 7229 tramp-out-of-band-prompt-regexp
7236 tramp-file-name-structure 7230 tramp-temp-name-prefix
7237 tramp-file-name-regexp 7231 tramp-file-name-structure
7238 tramp-multi-file-name-structure 7232 tramp-file-name-regexp
7239 tramp-multi-file-name-hop-structure 7233 tramp-multi-file-name-structure
7240 tramp-multi-methods 7234 tramp-multi-file-name-hop-structure
7241 tramp-multi-connection-function-alist 7235 tramp-multi-methods
7242 tramp-methods 7236 tramp-multi-connection-function-alist
7243 tramp-end-of-output 7237 tramp-methods
7244 tramp-coding-commands 7238 tramp-end-of-output
7245 tramp-actions-before-shell 7239 tramp-coding-commands
7246 tramp-actions-copy-out-of-band 7240 tramp-actions-before-shell
7247 tramp-multi-actions 7241 tramp-actions-copy-out-of-band
7248 tramp-terminal-type 7242 tramp-multi-actions
7249 tramp-shell-prompt-pattern 7243 tramp-terminal-type
7250 tramp-chunksize 7244 tramp-shell-prompt-pattern
7251 ,(when (boundp 'tramp-backup-directory-alist) 7245 tramp-chunksize
7252 'tramp-backup-directory-alist) 7246 ,(when (boundp 'tramp-backup-directory-alist)
7253 ,(when (boundp 'tramp-bkup-backup-directory-info) 7247 'tramp-backup-directory-alist)
7254 'tramp-bkup-backup-directory-info) 7248 ,(when (boundp 'tramp-bkup-backup-directory-info)
7255 7249 'tramp-bkup-backup-directory-info)
7256 ;; Non-tramp variables of interest 7250
7257 shell-prompt-pattern 7251 ;; Non-tramp variables of interest
7258 backup-by-copying 7252 shell-prompt-pattern
7259 backup-by-copying-when-linked 7253 backup-by-copying
7260 backup-by-copying-when-mismatch 7254 backup-by-copying-when-linked
7261 ,(when (boundp 'backup-by-copying-when-privileged-mismatch) 7255 backup-by-copying-when-mismatch
7262 'backup-by-copying-when-privileged-mismatch) 7256 ,(when (boundp 'backup-by-copying-when-privileged-mismatch)
7263 ,(when (boundp 'password-cache) 7257 'backup-by-copying-when-privileged-mismatch)
7264 'password-cache) 7258 ,(when (boundp 'password-cache)
7265 ,(when (boundp 'password-cache-expiry) 7259 'password-cache)
7266 'password-cache-expiry) 7260 ,(when (boundp 'password-cache-expiry)
7267 ,(when (boundp 'backup-directory-alist) 7261 'password-cache-expiry)
7268 'backup-directory-alist) 7262 ,(when (boundp 'backup-directory-alist)
7269 ,(when (boundp 'bkup-backup-directory-info) 7263 'backup-directory-alist)
7270 'bkup-backup-directory-info) 7264 ,(when (boundp 'bkup-backup-directory-info)
7271 file-name-handler-alist) 7265 'bkup-backup-directory-info)
7272 nil ; pre-hook 7266 file-name-handler-alist)
7273 nil ; post-hook 7267 nil ; pre-hook
7274 "\ 7268 'tramp-append-tramp-buffers ; post-hook
7269 "\
7275Enter your bug report in this message, including as much detail as you 7270Enter your bug report in this message, including as much detail as you
7276possibly can about the problem, what you did to cause it and what the 7271possibly can about the problem, what you did to cause it and what the
7277local and remote machines are. 7272local and remote machines are.
@@ -7286,7 +7281,73 @@ of the *tramp/foo* buffer and the *debug tramp/foo* buffer in your bug
7286report. 7281report.
7287 7282
7288--bug report follows this line-- 7283--bug report follows this line--
7289"))) 7284"))))
7285
7286(defun tramp-append-tramp-buffers ()
7287 "Append Tramp buffers into the bug report."
7288
7289 ;; We load mml.el from Gnus.
7290 (if (featurep 'xemacs)
7291 (load "mml" 'noerror)
7292 (require 'mml nil 'noerror))
7293
7294 (when (and
7295 ;; We don't want to add another dependency.
7296 (functionp 'mml-insert-empty-tag)
7297 ;; 2nd parameter since Emacs 22.
7298 (condition-case nil
7299 (list-buffers-noselect nil nil)
7300 (t nil)))
7301 (let ((buffer-list
7302 (delq nil
7303 (mapcar '(lambda (b)
7304 (when (string-match "^\\*\\(debug \\)?tramp/" (buffer-name b)) b))
7305 (buffer-list))))
7306 (curbuf (current-buffer)))
7307
7308 ;; There is at least one Tramp buffer.
7309 (when buffer-list
7310 (switch-to-buffer (list-buffers-noselect nil buffer-list))
7311 (delete-other-windows)
7312 (setq buffer-read-only nil)
7313 (goto-char (point-max))
7314 (insert "
7315The buffer(s) above will be appended to this message. If you don't want
7316to append a buffer because it contains sensible data, or because the buffer
7317is too large, you should delete the respective buffer. The buffer(s) will
7318contain user and host names. Passwords will never be included there.")
7319
7320 (when (and tramp-debug-buffer (> tramp-verbose 9))
7321 (insert "\n\n")
7322 (let ((start (point)))
7323 (insert "\
7324Please note that you have set `tramp-verbose' to a value greater than 9.
7325Therefore, the contents of files might be included in the debug buffer(s).")
7326 (add-text-properties start (point) (list 'face 'italic))))
7327
7328 (set-buffer-modified-p nil)
7329 (setq buffer-read-only t)
7330 (goto-char (point-min))
7331
7332 (if (y-or-n-p "Do you want to append the buffer(s)? ")
7333 ;; OK, let's send. First we delete the buffer list.
7334 (progn
7335 (kill-buffer nil)
7336 (switch-to-buffer curbuf)
7337 (goto-char (point-max))
7338 (insert "\n\n")
7339 (dolist (buffer buffer-list)
7340 (mml-insert-empty-tag
7341 'part 'type "text/plain" 'encoding "base64"
7342 'disposition "attachment" 'buffer (buffer-name buffer)
7343 'description (buffer-name buffer)))
7344 (set-buffer-modified-p nil))
7345
7346 ;; Don't send. Delete the message buffer.
7347 (set-buffer curbuf)
7348 (set-buffer-modified-p nil)
7349 (kill-buffer nil)
7350 (throw 'dont-send nil))))))
7290 7351
7291(defalias 'tramp-submit-bug 'tramp-bug) 7352(defalias 'tramp-submit-bug 'tramp-bug)
7292 7353
diff --git a/lisp/net/trampver.el b/lisp/net/trampver.el
index a4aced24257..12e56600f00 100644
--- a/lisp/net/trampver.el
+++ b/lisp/net/trampver.el
@@ -30,10 +30,10 @@
30;; are auto-frobbed from configure.ac, so you should edit that file and run 30;; are auto-frobbed from configure.ac, so you should edit that file and run
31;; "autoconf && ./configure" to change them. 31;; "autoconf && ./configure" to change them.
32 32
33(defconst tramp-version "2.0.47" 33(defconst tramp-version "2.0.48"
34 "This version of Tramp.") 34 "This version of Tramp.")
35 35
36(defconst tramp-bug-report-address "tramp-devel@mail.freesoftware.fsf.org" 36(defconst tramp-bug-report-address "tramp-devel@gnu.org"
37 "Email address to send bug reports to.") 37 "Email address to send bug reports to.")
38 38
39(provide 'trampver) 39(provide 'trampver)
diff --git a/man/ChangeLog b/man/ChangeLog
index 80211906cb4..f5f3ee3ba71 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,14 @@
12005-03-20 Michael Albinus <michael.albinus@gmx.de>
2
3 Sync with Tramp 2.0.48.
4
5 * trampver.texi.in: Replace "Emacs" by "GNU Emacs".
6
7 * tramp.texi: Replace "Emacs" by "GNU Emacs". Replace "Linux" by
8 "GNU/Linux". Change all addresses to .gnu.org.
9 (Default Method): Offer shortened syntax for "su" and "sudo"
10 methods.
11
12005-03-19 Chong Yidong <cyd@stupidchicken.com> 122005-03-19 Chong Yidong <cyd@stupidchicken.com>
2 13
3 * ack.texi (Acknowledgments): Update. 14 * ack.texi (Acknowledgments): Update.
@@ -46,7 +57,7 @@
46 (Rmail Display): Mention Mouse-1. 57 (Rmail Display): Mention Mouse-1.
47 (Movemail): Clarify two movemail versions. 58 (Movemail): Clarify two movemail versions.
48 Clarify rmail-movemail-program. 59 Clarify rmail-movemail-program.
49 60
50 * pcl-cvs.texi (About PCL-CVS): Get rid of "Emacs 21". 61 * pcl-cvs.texi (About PCL-CVS): Get rid of "Emacs 21".
51 (Installation): Node deleted. 62 (Installation): Node deleted.
52 63
diff --git a/man/tramp.texi b/man/tramp.texi
index afd5fd273e6..854dbba5919 100644
--- a/man/tramp.texi
+++ b/man/tramp.texi
@@ -88,7 +88,7 @@ combination of @command{rsh} and @command{rcp} or other work-alike
88programs, such as @command{ssh}/@command{scp}. 88programs, such as @command{ssh}/@command{scp}.
89 89
90You can find the latest version of this document on the web at 90You can find the latest version of this document on the web at
91@uref{http://www.freesoftware.fsf.org/tramp/}. 91@uref{http://www.gnu.org/software/tramp/}.
92 92
93@c Pointer to the other Emacs flavor is necessary only in case of 93@c Pointer to the other Emacs flavor is necessary only in case of
94@c standalone installation. 94@c standalone installation.
@@ -111,18 +111,18 @@ Japanese translation}.
111@end ifset 111@end ifset
112 112
113The latest release of @value{tramp} is available for 113The latest release of @value{tramp} is available for
114@uref{http://savannah.nongnu.org/download/tramp/, download}, or you 114@uref{http://ftp.gnu.org/gnu/tramp/, download}, or you may see
115may see @ref{Obtaining Tramp} for more details, including the CVS 115@ref{Obtaining Tramp} for more details, including the CVS server
116server details. 116details.
117 117
118@value{tramp} also has a @uref{http://savannah.nongnu.org/projects/tramp/, 118@value{tramp} also has a @uref{http://savannah.gnu.org/projects/tramp/,
119Savannah Project Page}. 119Savannah Project Page}.
120@end ifhtml 120@end ifhtml
121 121
122There is a mailing list for @value{tramp}, available at 122There is a mailing list for @value{tramp}, available at
123@email{tramp-devel@@mail.freesoftware.fsf.org}, and archived at 123@email{tramp-devel@@gnu.org}, and archived at
124@uref{http://savannah.nongnu.org/mail/?group=tramp, Savannah Mail 124@uref{http://lists.gnu.org/archive/html/tramp-devel/, the
125Archive}. 125@value{tramp} Mail Archive}.
126@ifhtml 126@ifhtml
127Older archives are located at 127Older archives are located at
128@uref{http://sourceforge.net/mailarchive/forum.php?forum=tramp-devel, 128@uref{http://sourceforge.net/mailarchive/forum.php?forum=tramp-devel,
@@ -377,14 +377,14 @@ behind the scenes when you open a file with @value{tramp}.
377@chapter Obtaining Tramp. 377@chapter Obtaining Tramp.
378@cindex obtaining Tramp 378@cindex obtaining Tramp
379 379
380@value{tramp} is freely available on the Internet and the latest release 380@value{tramp} is freely available on the Internet and the latest
381may be downloaded from 381release may be downloaded from
382@uref{http://savannah.nongnu.org/download/tramp/}. This 382@uref{http://ftp.gnu.org/gnu/tramp/}. This release includes the full
383release includes the full documentation and code for @value{tramp}, 383documentation and code for @value{tramp}, suitable for installation.
384suitable for installation. But Emacs (22.1 or later) includes 384But GNU Emacs (22 or later) includes @value{tramp} already, and there
385@value{tramp} already, and there is a @value{tramp} package for XEmacs, as well. 385is a @value{tramp} package for XEmacs, as well. So maybe it is easier
386So maybe it is easier to just use those. But if you want the bleeding 386to just use those. But if you want the bleeding edge, read
387edge, read on@dots{...} 387on@dots{...}
388 388
389For the especially brave, @value{tramp} is available from CVS. The CVS 389For the especially brave, @value{tramp} is available from CVS. The CVS
390version is the latest version of the code and may contain incomplete 390version is the latest version of the code and may contain incomplete
@@ -396,7 +396,7 @@ following URL and then clicking on the CVS link in the navigation bar
396at the top. 396at the top.
397 397
398@noindent 398@noindent
399@uref{http://savannah.nongnu.org/projects/tramp/} 399@uref{http://savannah.gnu.org/projects/tramp/}
400 400
401@noindent 401@noindent
402Or follow the example session below: 402Or follow the example session below:
@@ -404,7 +404,7 @@ Or follow the example session below:
404@example 404@example
405] @strong{cd ~/@value{emacsdir}} 405] @strong{cd ~/@value{emacsdir}}
406] @strong{export CVS_RSH="ssh"} 406] @strong{export CVS_RSH="ssh"}
407] @strong{cvs -z3 -d:ext:anoncvs@@savannah.nongnu.org:/cvsroot/tramp co tramp} 407] @strong{cvs -z3 -d:ext:anoncvs@@savannah.gnu.org:/cvsroot/tramp co tramp}
408@end example 408@end example
409 409
410@noindent 410@noindent
@@ -1112,7 +1112,9 @@ might like the @code{plink} method which uses the PuTTY implementation
1112of @code{ssh}. Or you use Kerberos and thus like @code{krlogin}. 1112of @code{ssh}. Or you use Kerberos and thus like @code{krlogin}.
1113 1113
1114For the special case of editing files on the local host as another 1114For the special case of editing files on the local host as another
1115user, see the @code{su} or @code{sudo} method. 1115user, see the @code{su} or @code{sudo} method. It offers shortened
1116syntax for the @samp{root} account, like
1117@file{@value{prefix}su@value{postfixsinglehop}@value{postfix}/etc/motd}.
1116 1118
1117People who edit large files may want to consider @code{scp} instead of 1119People who edit large files may want to consider @code{scp} instead of
1118@code{ssh}, or @code{pscp} instead of @code{plink}. These out-of-band 1120@code{ssh}, or @code{pscp} instead of @code{plink}. These out-of-band
@@ -1603,7 +1605,7 @@ directory an auto-saved file should go. By default, it is initialized
1603for @value{tramp} files to the local temporary directory. 1605for @value{tramp} files to the local temporary directory.
1604 1606
1605On some versions of @value{emacsname}, namely the version built for 1607On some versions of @value{emacsname}, namely the version built for
1606Debian Linux, the variable @code{auto-save-file-name-transforms} 1608Debian GNU/Linux, the variable @code{auto-save-file-name-transforms}
1607contains the directory where @value{emacsname} was built. A 1609contains the directory where @value{emacsname} was built. A
1608workaround is to manually set the variable to a sane value. 1610workaround is to manually set the variable to a sane value.
1609 1611
@@ -1924,13 +1926,13 @@ The @value{tramp} mailing list is a great place to get information on working
1924with @value{tramp}, solving problems and general discussion and advice on topics 1926with @value{tramp}, solving problems and general discussion and advice on topics
1925relating to the package. 1927relating to the package.
1926 1928
1927The mailing list is at @email{tramp-devel@@mail.freesoftware.fsf.org}. 1929The mailing list is at @email{tramp-devel@@gnu.org}. Messages sent to
1928Messages sent to this address go to all the subscribers. This is 1930this address go to all the subscribers. This is @emph{not} the address
1929@emph{not} the address to send subscription requests to. 1931to send subscription requests to.
1930 1932
1931For help on subscribing to the list, send mail to the administrative 1933Subscribing to the list is performed via
1932address, @email{tramp-devel-request@@mail.freesoftware.fsf.org}, with the 1934@uref{http://lists.gnu.org/mailman/listinfo/tramp-devel/,
1933subject @samp{help}. 1935the @value{tramp} Mail Subscription Page}.
1934 1936
1935To report a bug in @value{tramp}, you should execute @kbd{M-x tramp-bug}. This 1937To report a bug in @value{tramp}, you should execute @kbd{M-x tramp-bug}. This
1936will automatically generate a buffer with the details of your system and 1938will automatically generate a buffer with the details of your system and
@@ -1956,20 +1958,21 @@ Where can I get the latest @value{tramp}?
1956@value{tramp} is available under the URL below. 1958@value{tramp} is available under the URL below.
1957 1959
1958@noindent 1960@noindent
1959@uref{http://savannah.nongnu.org/download/tramp/} 1961@uref{http://ftp.gnu.org/gnu/tramp/}
1960 1962
1961@noindent 1963@noindent
1962There is also a Savannah project page. 1964There is also a Savannah project page.
1963 1965
1964@noindent 1966@noindent
1965@uref{http://savannah.nongnu.org/projects/tramp/} 1967@uref{http://savannah.gnu.org/projects/tramp/}
1966 1968
1967@item 1969@item
1968Which systems does it work on? 1970Which systems does it work on?
1969 1971
1970The package has been used successfully on Emacs 20 and Emacs 21, as well 1972The package has been used successfully on GNU Emacs 20, GNU Emacs 21
1971as XEmacs 21. XEmacs 20 is more problematic, see the notes in 1973and GNU Emacs 22, as well as XEmacs 21. XEmacs 20 is more
1972@file{tramp.el}. I don't think anybody has really tried it on Emacs 19. 1974problematic, see the notes in @file{tramp.el}. I don't think anybody
1975has really tried it on GNU Emacs 19.
1973 1976
1974The package was intended to work on Unix, and it really expects a 1977The package was intended to work on Unix, and it really expects a
1975Unix-like system on the remote end (except the @option{smb} method), 1978Unix-like system on the remote end (except the @option{smb} method),
@@ -2336,9 +2339,9 @@ emulation macro to @value{tramp}, but if somebody who uses XEmacs 20 steps
2336forward and wishes to implement and test it, please contact me or the 2339forward and wishes to implement and test it, please contact me or the
2337mailing list. 2340mailing list.
2338 2341
2339@item The @value{tramp} filename syntax differs between Emacs and XEmacs. 2342@item The @value{tramp} filename syntax differs between GNU Emacs and XEmacs.
2340 2343
2341The Emacs maintainers wish to use a unified filename syntax for 2344The GNU Emacs maintainers wish to use a unified filename syntax for
2342Ange-FTP and @value{tramp} so that users don't have to learn a new 2345Ange-FTP and @value{tramp} so that users don't have to learn a new
2343syntax. It is sufficient to learn some extensions to the old syntax. 2346syntax. It is sufficient to learn some extensions to the old syntax.
2344 2347
diff --git a/man/trampver.texi b/man/trampver.texi
index 87b1dc8ebd1..3e9f32a7fae 100644
--- a/man/trampver.texi
+++ b/man/trampver.texi
@@ -4,7 +4,7 @@
4@c In the Tramp CVS, the version number is auto-frobbed from 4@c In the Tramp CVS, the version number is auto-frobbed from
5@c configure.ac, so you should edit that file and run 5@c configure.ac, so you should edit that file and run
6@c "autoconf && ./configure" to change the version number. 6@c "autoconf && ./configure" to change the version number.
7@set trampver 2.0.47 7@set trampver 2.0.48
8 8
9@c Other flags from configuration 9@c Other flags from configuration
10@set prefix /usr/local 10@set prefix /usr/local
@@ -25,7 +25,7 @@
25 25
26@c Emacs values. 26@c Emacs values.
27@ifset emacs 27@ifset emacs
28@set emacsname Emacs 28@set emacsname GNU Emacs
29@set emacsdir emacs 29@set emacsdir emacs
30@set ftppackagename Ange-FTP 30@set ftppackagename Ange-FTP
31@set prefix / 31@set prefix /
@@ -49,7 +49,7 @@
49@set postfix ] 49@set postfix ]
50@set postfixsinglehop / 50@set postfixsinglehop /
51@set postfixmultihop : 51@set postfixmultihop :
52@set emacsothername Emacs 52@set emacsothername GNU Emacs
53@set emacsotherdir emacs 53@set emacsotherdir emacs
54@set emacsotherfilename tramp-emacs.html 54@set emacsotherfilename tramp-emacs.html
55@set japanesemanual tramp_ja-xemacs.html 55@set japanesemanual tramp_ja-xemacs.html