• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/lisp/net/

Lines Matching +defs:mode +defs:function

106 ;; By default ange-ftp transfers files in ASCII mode.  If a file being
108 ;; binary mode is used for that transfer.
204 ;; no-echoing mode, and will strip off carriage-returns from output from
494 ;; will use binary mode for the copy. Between systems of different
601 ;; The function ange-ftp-host-type and the variable ange-ftp-dired-host-type
707 ;; Otherwise, ange-ftp will go into multi-skip mode, and never come out.
720 ;; mode and hangs. Have it ignore 550- instead. It will then barf
874 "*If a file matches this regexp then it is transferred in binary mode."
1010 (defcustom ange-ftp-try-passive-mode nil
1011 "If t, try to use passive mode in ftp, if the client program supports it."
1017 "Alist of FTP servers that need \"passive\" mode.
1020 SETTING is \"on\" to turn passive mode on, \"off\" to turn it off,
1103 ;; These variables are bound by one function and examined by another.
1410 (normal-mode t)
1514 (defun ange-ftp-set-buffer-mode ()
1518 (auto-save-mode ange-ftp-auto-save)))
1643 ;; Call the function specified by CONT. CONT can be either a function
1644 ;; or a list of a function and some args. The first two parameters
1645 ;; passed to the function will be RESULT and LINE. The remaining args
1851 If CONT is non-nil then it is either a function or a list of function
1852 and some arguments. The function will be called when the ftp command
1895 ;; It matters because this function can be called from the filter.
1967 (internal-ange-ftp-mode))
2000 (put 'internal-ange-ftp-mode 'mode-class 'special)
2002 (defun internal-ange-ftp-mode ()
2003 "Major mode for interacting with the FTP process.
2005 \\{comint-mode-map}"
2007 (delay-mode-hooks (comint-mode))
2008 (setq major-mode 'internal-ange-ftp-mode)
2009 (setq mode-name "Internal Ange-ftp")
2034 (run-mode-hooks 'internal-ange-ftp-mode-hook))
2188 ;; Turn passive mode on or off as requested.
2193 (if ange-ftp-try-passive-mode "on"))))
2195 (ange-ftp-passive-mode proc passive)))
2204 (defun ange-ftp-passive-mode (proc on-or-off)
2205 (if (string-match (concat "Passive mode " on-or-off)
2208 "Trying passive mode..." nil)))
2209 (ange-ftp-message (concat "Trying passive mode..." on-or-off))
2210 (error "Trying passive mode...failed")))
2560 ;; With no-error nil, this function returns:
2692 is a function to be used to add a file entry for the OS TYPE. The
2698 is a function to be used to delete a file entry for the OS TYPE.
3010 ;;;; File transfer mode support.
3013 (defun ange-ftp-set-binary-mode (host user)
3014 "Tell the ftp process for the given HOST & USER to switch to binary mode."
3023 (defun ange-ftp-set-ascii-mode (host user)
3024 "Tell the ftp process for the given HOST & USER to switch to ascii mode."
3247 ;; Returns non-nil if should transfer FILE in binary mode.
3260 ;; What we REALLY need here is a way to determine if the mode
3261 ;; of the transfer is irrelevant, i.e. we can use binary mode
3289 (ange-ftp-set-binary-mode host user))
3308 (ange-ftp-set-ascii-mode host user)))
3312 (ange-ftp-set-buffer-mode)
3348 (ange-ftp-set-binary-mode host user))
3380 (ange-ftp-set-ascii-mode host user)))
3503 "?????????") ;8 mode
3712 (ange-ftp-set-binary-mode f-host f-user))
3730 ;; function which does the remainder of the copying work.
3761 (ange-ftp-set-ascii-mode f-host f-user))))
3785 (ange-ftp-set-binary-mode t-host t-user))
3830 (ange-ftp-set-ascii-mode t-host t-user)))
3856 function a valid CONT argument for `ange-ftp-raw-send-cmd'.
4307 (defun ange-ftp-hook-function (operation &rest args)
4321 ;;- (cons '("^/[^/:]*[^/:.]:" . ange-ftp-hook-function)
4329 ;;- (cons '("^/[^/:]*\\'" . ange-ftp-completion-hook-function)
4340 ;;- ange-ftp-completion-hook-function)
4346 ;;; This sets the mode
4347 (add-hook 'find-file-hook 'ange-ftp-set-buffer-mode)
4404 (cons 'ange-ftp-hook-function
4405 (cons 'ange-ftp-completion-hook-function
4527 "Alist of mapping host type into function to remove file version numbers.")
4587 (error "ange-ftp-call-chmod: missing mode and/or filename: %s" args))
4588 (let ((mode (car args))
4602 (list 'chmod mode name)
4608 nil t nil host dired-chmod-program mode name))))))
4648 ;; ;; it is only worth calling the alternative function for remote files
4998 ;; It is important that this function barf for directories for which we know
5314 ;;;; Sebastian to use a function dired-go-to-end-of-file-line, instead of