diff options
| author | Stefan Monnier | 2002-05-21 23:23:08 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2002-05-21 23:23:08 +0000 |
| commit | 76a98a5066c54897dca5a8d9c12153fa599d311f (patch) | |
| tree | c9d0dbc8b7d690ab3159e6e8cc0b1f74e388cf57 | |
| parent | 544e5562dca591883197d29480768dcbfca8a407 (diff) | |
| download | emacs-76a98a5066c54897dca5a8d9c12153fa599d311f.tar.gz emacs-76a98a5066c54897dca5a8d9c12153fa599d311f.zip | |
(ange-ftp-allow-child-lookup): Re-enable since
the last patch works around the wu-ftpd misfeature that prompted
the disabling of this optimization.
| -rw-r--r-- | lisp/ChangeLog | 27 | ||||
| -rw-r--r-- | lisp/net/ange-ftp.el | 47 |
2 files changed, 36 insertions, 38 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 849b4477b59..91da468b6b6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2002-05-21 Stefan Monnier <monnier@cs.yale.edu> | ||
| 2 | |||
| 3 | * net/ange-ftp.el (ange-ftp-allow-child-lookup): Re-enable since | ||
| 4 | the last patch works around the wu-ftpd misfeature that prompted | ||
| 5 | the disabling of this optimization. | ||
| 6 | |||
| 1 | 2002-05-21 Colin Walters <walters@gnu.org> | 7 | 2002-05-21 Colin Walters <walters@gnu.org> |
| 2 | 8 | ||
| 3 | * international/mule.el (make-coding-system): Doc fixes. | 9 | * international/mule.el (make-coding-system): Doc fixes. |
| @@ -7,11 +13,11 @@ | |||
| 7 | (set-auto-coding): Update docs. | 13 | (set-auto-coding): Update docs. |
| 8 | (sgml-xml-auto-coding-function): New function. | 14 | (sgml-xml-auto-coding-function): New function. |
| 9 | 15 | ||
| 10 | * international/mule-util.el (truncate-string-to-width): New | 16 | * international/mule-util.el (truncate-string-to-width): |
| 11 | optional argument `ellipsis'. Add commented-out test suite, and | 17 | New optional argument `ellipsis'. Add commented-out test suite, and |
| 12 | change coding to iso-2022-7bit. | 18 | change coding to iso-2022-7bit. |
| 13 | 19 | ||
| 14 | 2002-05-21 Colin Walters <walters@verbum.org> | 20 | 2002-05-21 Colin Walters <walters@verbum.org> |
| 15 | 21 | ||
| 16 | * font-lock.el (font-lock-defaults, font-lock-defaults-alist) | 22 | * font-lock.el (font-lock-defaults, font-lock-defaults-alist) |
| 17 | (font-lock-multiline, font-lock-fontified, font-lock-mode) | 23 | (font-lock-multiline, font-lock-fontified, font-lock-mode) |
| @@ -22,8 +28,8 @@ | |||
| 22 | * font-core.el: New file, with functions taken from font-lock.el. | 28 | * font-core.el: New file, with functions taken from font-lock.el. |
| 23 | (font-lock-category-alist): New variable. | 29 | (font-lock-category-alist): New variable. |
| 24 | (font-lock-mode): Use it. | 30 | (font-lock-mode): Use it. |
| 25 | (font-lock-set-defaults): Partially taken from font-lock.el. Only | 31 | (font-lock-set-defaults): Partially taken from font-lock.el. |
| 26 | load font-lock.el when necessary. | 32 | Only load font-lock.el when necessary. |
| 27 | 33 | ||
| 28 | * loadup.el: Add font-core.el. | 34 | * loadup.el: Add font-core.el. |
| 29 | 35 | ||
| @@ -35,7 +41,7 @@ | |||
| 35 | (occur-engine): Use categories from `font-lock-category-alist'. | 41 | (occur-engine): Use categories from `font-lock-category-alist'. |
| 36 | 42 | ||
| 37 | * info.el (Info-fontify): Deleted. | 43 | * info.el (Info-fontify): Deleted. |
| 38 | (Info-select-node): Don't use it. | 44 | (Info-select-node): Don't use it. |
| 39 | (Info-mode-hook): New variable. | 45 | (Info-mode-hook): New variable. |
| 40 | (Info-mode): Set up categories. | 46 | (Info-mode): Set up categories. |
| 41 | (Info-fontify-menu-headers, Info-fontify-node): Use categories. | 47 | (Info-fontify-menu-headers, Info-fontify-node): Use categories. |
| @@ -57,7 +63,7 @@ | |||
| 57 | (ibuffer-insert-filter-group): Ditto. | 63 | (ibuffer-insert-filter-group): Ditto. |
| 58 | (ibuffer-mode): Set up category properties. | 64 | (ibuffer-mode): Set up category properties. |
| 59 | 65 | ||
| 60 | 2002-05-21 Colin Walters <walters@debian.org> | 66 | 2002-05-21 Colin Walters <walters@debian.org> |
| 61 | 67 | ||
| 62 | * replace.el (occur-engine): Increment globalcount all at once | 68 | * replace.el (occur-engine): Increment globalcount all at once |
| 63 | after searching a buffer. | 69 | after searching a buffer. |
| @@ -65,19 +71,18 @@ | |||
| 65 | 71 | ||
| 66 | * ibuf-macs.el (define-ibuffer-column): Add third argument | 72 | * ibuf-macs.el (define-ibuffer-column): Add third argument |
| 67 | `ibuffer-buf'. | 73 | `ibuffer-buf'. |
| 68 | 74 | ||
| 69 | * ibuffer.el (toplevel): Require font-lock, to get the face | 75 | * ibuffer.el (toplevel): Require font-lock, to get the face |
| 70 | definitions. | 76 | definitions. |
| 71 | (ibuffer-use-fontification): Deleted. | 77 | (ibuffer-use-fontification): Deleted. |
| 72 | (column filename-and-process): New column. | 78 | (column filename-and-process): New column. |
| 73 | (ibuffer-formats): Use it by default. | 79 | (ibuffer-formats): Use it by default. |
| 74 | (ibuffer-name-map, ibuffer-mode-name-map) | 80 | (ibuffer-name-map, ibuffer-mode-name-map) |
| 75 | (ibuffer-filter-group-map): Don't set parent to | 81 | (ibuffer-filter-group-map): Don't set parent to `ibuffer-mode-map'. |
| 76 | `ibuffer-mode-map'. | ||
| 77 | (ibuffer-do-save, ibuffer-do-toggle-modified) | 82 | (ibuffer-do-save, ibuffer-do-toggle-modified) |
| 78 | (ibuffer-do-toggle-read-only, ibuffer-do-delete) | 83 | (ibuffer-do-toggle-read-only, ibuffer-do-delete) |
| 79 | (ibuffer-do-kill-on-deletion-marks): Include name in definition. | 84 | (ibuffer-do-kill-on-deletion-marks): Include name in definition. |
| 80 | (ibuffer): New optional argument `formats'. | 85 | (ibuffer): New optional argument `formats'. |
| 81 | 86 | ||
| 82 | 2002-05-21 Eli Zaretskii <eliz@is.elta.co.il> | 87 | 2002-05-21 Eli Zaretskii <eliz@is.elta.co.il> |
| 83 | 88 | ||
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el index dde35b017e3..48dbb55896c 100644 --- a/lisp/net/ange-ftp.el +++ b/lisp/net/ange-ftp.el | |||
| @@ -2941,34 +2941,27 @@ NO-ERROR, if a listing for DIRECTORY cannot be obtained." | |||
| 2941 | ;; 2. The syntax of FILE and DIR make it impossible that FILE could be a valid | 2941 | ;; 2. The syntax of FILE and DIR make it impossible that FILE could be a valid |
| 2942 | ;; subdirectory. This is of course an OS dependent judgement. | 2942 | ;; subdirectory. This is of course an OS dependent judgement. |
| 2943 | 2943 | ||
| 2944 | ;;; Nowadays, the judgement for #2 is always "no". | ||
| 2945 | ;;; With today's ftp servers on Unix and GNU systems, | ||
| 2946 | ;;; it appears to be impossible to tell from the result | ||
| 2947 | ;;; of the directory listing whether the argument is a directory. | ||
| 2948 | ;;; This appears to be true even in Emacs 20.7 | ||
| 2949 | |||
| 2950 | (defmacro ange-ftp-allow-child-lookup (dir file) | 2944 | (defmacro ange-ftp-allow-child-lookup (dir file) |
| 2951 | nil) | 2945 | `(not |
| 2952 | ;;; `(not | 2946 | (let* ((efile ,file) ; expand once. |
| 2953 | ;;; (let* ((efile ,file) ; expand once. | 2947 | (edir ,dir) |
| 2954 | ;;; (edir ,dir) | 2948 | (parsed (ange-ftp-ftp-name edir)) |
| 2955 | ;;; (parsed (ange-ftp-ftp-name edir)) | 2949 | (host-type (ange-ftp-host-type |
| 2956 | ;;; (host-type (ange-ftp-host-type | 2950 | (car parsed)))) |
| 2957 | ;;; (car parsed)))) | 2951 | (or |
| 2958 | ;;; (or | 2952 | ;; Deal with dired |
| 2959 | ;;; ;; Deal with dired | 2953 | (and (boundp 'dired-local-variables-file) ; in the dired-x package |
| 2960 | ;;; (and (boundp 'dired-local-variables-file) ; in the dired-x package | 2954 | (stringp dired-local-variables-file) |
| 2961 | ;;; (stringp dired-local-variables-file) | 2955 | (string-equal dired-local-variables-file efile)) |
| 2962 | ;;; (string-equal dired-local-variables-file efile)) | 2956 | ;; No dots in dir names in vms. |
| 2963 | ;;; ;; No dots in dir names in vms. | 2957 | (and (eq host-type 'vms) |
| 2964 | ;;; (and (eq host-type 'vms) | 2958 | (string-match "\\." efile)) |
| 2965 | ;;; (string-match "\\." efile)) | 2959 | ;; No subdirs in mts of cms. |
| 2966 | ;;; ;; No subdirs in mts of cms. | 2960 | (and (memq host-type '(mts cms)) |
| 2967 | ;;; (and (memq host-type '(mts cms)) | 2961 | (not (string-equal "/" (nth 2 parsed)))) |
| 2968 | ;;; (not (string-equal "/" (nth 2 parsed)))) | 2962 | ;; No dots in pseudo-dir names in bs2000. |
| 2969 | ;;; ;; No dots in pseudo-dir names in bs2000. | 2963 | (and (eq host-type 'bs2000) |
| 2970 | ;;; (and (eq host-type 'bs2000) | 2964 | (string-match "\\." efile)))))) |
| 2971 | ;;; (string-match "\\." efile))))))) | ||
| 2972 | 2965 | ||
| 2973 | (defun ange-ftp-file-entry-p (name) | 2966 | (defun ange-ftp-file-entry-p (name) |
| 2974 | "Given NAME, return whether there is a file entry for it." | 2967 | "Given NAME, return whether there is a file entry for it." |