diff options
| author | Kai Großjohann | 2003-04-08 20:06:12 +0000 |
|---|---|---|
| committer | Kai Großjohann | 2003-04-08 20:06:12 +0000 |
| commit | 83bbd71b252072c6b61d98c70f126c71876ae6cb (patch) | |
| tree | f9070eaffbbb26076e1a5b96ad0d3990e21ed785 | |
| parent | 4773b8ca2017459333c099838aef1635c4e32fa6 (diff) | |
| download | emacs-83bbd71b252072c6b61d98c70f126c71876ae6cb.tar.gz emacs-83bbd71b252072c6b61d98c70f126c71876ae6cb.zip | |
Version 2.0.33 released.
Change coding cookie to `iso-2022-7bit' for XEmacs
compatibility. (From Steve Youngs <youngs@xemacs.org>.)
| -rw-r--r-- | lisp/ChangeLog | 12 | ||||
| -rw-r--r-- | lisp/net/tramp-ftp.el | 37 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 6 | ||||
| -rw-r--r-- | lisp/net/trampver.el | 2 |
4 files changed, 37 insertions, 20 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9801fa45c81..d3a2dc2146a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2003-04-08 Kai Gro,A_(Bjohann <kai.grossjohann@gmx.net> | ||
| 2 | |||
| 3 | * net/tramp.el: Version 2.0.33 released. | ||
| 4 | Change coding cookie to `iso-2022-7bit' for XEmacs | ||
| 5 | compatibility. (From Steve Youngs <youngs@xemacs.org>.) | ||
| 6 | |||
| 7 | 2003-04-08 Michael Albinus <Michael.Albinus@alcatel.de> | ||
| 8 | |||
| 9 | * net/tramp-ftp.el (tramp-ftp-file-name-handler): | ||
| 10 | Do not disable file name handlers for `file-exists-p' and | ||
| 11 | `file-directory-p'. | ||
| 12 | |||
| 1 | 2003-04-08 Kenichi Handa <handa@etlken2> | 13 | 2003-04-08 Kenichi Handa <handa@etlken2> |
| 2 | 14 | ||
| 3 | * international/mule-conf.el: Register ?\225 in | 15 | * international/mule-conf.el: Register ?\225 in |
diff --git a/lisp/net/tramp-ftp.el b/lisp/net/tramp-ftp.el index 04f8bbeb323..1d2ab9083f9 100644 --- a/lisp/net/tramp-ftp.el +++ b/lisp/net/tramp-ftp.el | |||
| @@ -94,18 +94,25 @@ pass to the OPERATION." | |||
| 94 | (save-match-data | 94 | (save-match-data |
| 95 | (or (boundp 'ange-ftp-name-format) | 95 | (or (boundp 'ange-ftp-name-format) |
| 96 | (require 'ange-ftp)) | 96 | (require 'ange-ftp)) |
| 97 | (let* ((ange-ftp-name-format | 97 | (let ((ange-ftp-name-format |
| 98 | (list (nth 0 tramp-file-name-structure) | 98 | (list (nth 0 tramp-file-name-structure) |
| 99 | (nth 3 tramp-file-name-structure) | 99 | (nth 3 tramp-file-name-structure) |
| 100 | (nth 2 tramp-file-name-structure) | 100 | (nth 2 tramp-file-name-structure) |
| 101 | (nth 4 tramp-file-name-structure))) | 101 | (nth 4 tramp-file-name-structure)))) |
| 102 | (inhibit-file-name-handlers | 102 | (cond |
| 103 | (list 'tramp-file-name-handler | 103 | ;; If argument is a symlink, 'file-directory-p` and 'file-exists-p` |
| 104 | 'tramp-completion-file-name-handler | 104 | ;; call the traversed file recursively. So we cannot disable the |
| 105 | (and (eq inhibit-file-name-operation operation) | 105 | ;;file-name-handler this case. |
| 106 | inhibit-file-name-handlers))) | 106 | ((memq operation '(file-directory-p file-exists-p)) |
| 107 | (inhibit-file-name-operation operation)) | 107 | (apply 'ange-ftp-hook-function operation args)) |
| 108 | (apply 'ange-ftp-hook-function operation args)))) | 108 | ;; Normally, the handlers must be discarded |
| 109 | (t (let* ((inhibit-file-name-handlers | ||
| 110 | (list 'tramp-file-name-handler | ||
| 111 | 'tramp-completion-file-name-handler | ||
| 112 | (and (eq inhibit-file-name-operation operation) | ||
| 113 | inhibit-file-name-handlers))) | ||
| 114 | (inhibit-file-name-operation operation)) | ||
| 115 | (apply 'ange-ftp-hook-function operation args))))))) | ||
| 109 | 116 | ||
| 110 | (defun tramp-ftp-file-name-p (filename) | 117 | (defun tramp-ftp-file-name-p (filename) |
| 111 | "Check if it's a filename that should be forwarded to Ange-FTP." | 118 | "Check if it's a filename that should be forwarded to Ange-FTP." |
| @@ -127,10 +134,8 @@ pass to the OPERATION." | |||
| 127 | 134 | ||
| 128 | ;; * In case of "/ftp:host:file" this works only for functions which | 135 | ;; * In case of "/ftp:host:file" this works only for functions which |
| 129 | ;; are defined in `tramp-file-name-handler-alist'. Call has to be | 136 | ;; are defined in `tramp-file-name-handler-alist'. Call has to be |
| 130 | ;; pretended in `tramp-file-name-handler' otherwise. Looks like | 137 | ;; pretended in `tramp-file-name-handler' otherwise. |
| 131 | ;; `ange-ftp-completion-hook-function' and `ange-ftp-hook-function' | 138 | ;; Furthermore, there are no backup files on FTP hosts. |
| 132 | ;; are active temporarily in `file-name-handler-alist'. | ||
| 133 | ;; Furthermore, there are no backup files on FTP hosts this case. | ||
| 134 | ;; Worth further investigations. | 139 | ;; Worth further investigations. |
| 135 | 140 | ||
| 136 | ;;; tramp-ftp.el ends here | 141 | ;;; tramp-ftp.el ends here |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 8f530d3b811..892071114bf 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; -*- mode: Emacs-Lisp; coding: iso-8859-1; -*- | 1 | ;;; -*- mode: Emacs-Lisp; coding: iso-2022-7bit; -*- |
| 2 | ;;; tramp.el --- Transparent Remote Access, Multiple Protocol | 2 | ;;; tramp.el --- Transparent Remote Access, Multiple Protocol |
| 3 | 3 | ||
| 4 | ;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. | 4 | ;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. |
| @@ -2344,7 +2344,7 @@ if the remote host can't provide the modtime." | |||
| 2344 | 2344 | ||
| 2345 | ;; Other file name ops. | 2345 | ;; Other file name ops. |
| 2346 | 2346 | ||
| 2347 | ;; ;; Matthias Köppe <mkoeppe@mail.math.uni-magdeburg.de> | 2347 | ;; ;; Matthias K,Av(Bppe <mkoeppe@mail.math.uni-magdeburg.de> |
| 2348 | ;; (defun tramp-handle-directory-file-name (directory) | 2348 | ;; (defun tramp-handle-directory-file-name (directory) |
| 2349 | ;; "Like `directory-file-name' for tramp files." | 2349 | ;; "Like `directory-file-name' for tramp files." |
| 2350 | ;; (if (and (eq (aref directory (- (length directory) 1)) ?/) | 2350 | ;; (if (and (eq (aref directory (- (length directory) 1)) ?/) |
| @@ -6529,7 +6529,7 @@ report. | |||
| 6529 | ;; transfer method to use. (Greg Stark) | 6529 | ;; transfer method to use. (Greg Stark) |
| 6530 | ;; * Remove unneeded parameters from methods. | 6530 | ;; * Remove unneeded parameters from methods. |
| 6531 | ;; * Invoke rsync once for copying a whole directory hierarchy. | 6531 | ;; * Invoke rsync once for copying a whole directory hierarchy. |
| 6532 | ;; (Francesco Potortì) | 6532 | ;; (Francesco Potort,Al(B) |
| 6533 | ;; * Should we set PATH ourselves or should we rely on the remote end | 6533 | ;; * Should we set PATH ourselves or should we rely on the remote end |
| 6534 | ;; to do it? | 6534 | ;; to do it? |
| 6535 | ;; * Do the autoconf thing. | 6535 | ;; * Do the autoconf thing. |
diff --git a/lisp/net/trampver.el b/lisp/net/trampver.el index 48d8123a9dd..7a9f957cec4 100644 --- a/lisp/net/trampver.el +++ b/lisp/net/trampver.el | |||
| @@ -30,7 +30,7 @@ | |||
| 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.31" | 33 | (defconst tramp-version "2.0.33" |
| 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@mail.freesoftware.fsf.org" |