comparison lisp/ange-ftp.el @ 7418:26587880d2b4

(ange-ftp-start-process): Bind file-name-handler-alist to nil
author Richard M. Stallman <rms@gnu.org>
date Mon, 09 May 1994 18:05:03 +0000
parents 4fd40bd394fe
children c363ad97af4a
comparison
equal deleted inserted replaced
7417:781e5bd267c4 7418:26587880d2b4
385 ;;; suspect that there is something similar on other systems. 385 ;;; suspect that there is something similar on other systems.
386 ;;; 386 ;;;
387 ;;; 2. Some combinations of FTP clients and servers break and get out of sync 387 ;;; 2. Some combinations of FTP clients and servers break and get out of sync
388 ;;; when asked to list a non-existent directory. Some of the ai.mit.edu 388 ;;; when asked to list a non-existent directory. Some of the ai.mit.edu
389 ;;; machines cause this problem for some FTP clients. Using 389 ;;; machines cause this problem for some FTP clients. Using
390 ;;; ange-ftp-kill-process can be used to restart the ftp process, which 390 ;;; ange-ftp-kill-ftp-process can restart the ftp process, which
391 ;;; should get things back in synch. 391 ;;; should get things back in synch.
392 ;;; 392 ;;;
393 ;;; 3. Ange-ftp does not check to make sure that when creating a new file, 393 ;;; 3. Ange-ftp does not check to make sure that when creating a new file,
394 ;;; you provide a valid filename for the remote operating system. 394 ;;; you provide a valid filename for the remote operating system.
395 ;;; If you do not, then the remote FTP server will most likely 395 ;;; If you do not, then the remote FTP server will most likely
849 849
850 ;;;; ------------------------------------------------------------ 850 ;;;; ------------------------------------------------------------
851 ;;;; Internal variables. 851 ;;;; Internal variables.
852 ;;;; ------------------------------------------------------------ 852 ;;;; ------------------------------------------------------------
853 853
854 (defconst ange-ftp-version "$Revision: 1.49 $") 854 (defconst ange-ftp-version "$Revision: 1.50 $")
855 855
856 (defvar ange-ftp-data-buffer-name " *ftp data*" 856 (defvar ange-ftp-data-buffer-name " *ftp data*"
857 "Buffer name to hold directory listing data received from ftp process.") 857 "Buffer name to hold directory listing data received from ftp process.")
858 858
859 (defvar ange-ftp-netrc-modtime nil 859 (defvar ange-ftp-netrc-modtime nil
1745 (let* ((use-gateway (ange-ftp-use-gateway-p host)) 1745 (let* ((use-gateway (ange-ftp-use-gateway-p host))
1746 (ftp-prog (if use-gateway 1746 (ftp-prog (if use-gateway
1747 ange-ftp-gateway-ftp-program-name 1747 ange-ftp-gateway-ftp-program-name
1748 ange-ftp-ftp-program-name)) 1748 ange-ftp-ftp-program-name))
1749 (args (append (list ftp-prog) ange-ftp-ftp-program-args)) 1749 (args (append (list ftp-prog) ange-ftp-ftp-program-args))
1750 ;; Without the following binding, ange-ftp-start-process
1751 ;; recurses on file-accessible-directory-p, since it needs to
1752 ;; restart its process in order to determine anything about
1753 ;; default-directory.
1754 (file-name-handler-alist)
1750 (default-directory 1755 (default-directory
1751 (if (file-accessible-directory-p default-directory) 1756 (if (file-accessible-directory-p default-directory)
1752 default-directory 1757 default-directory
1753 exec-directory)) 1758 exec-directory))
1754 proc) 1759 proc)