%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/url/ |
Current File : //usr/local/share/emacs/27.2/lisp/url/url-file.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\207" [require mailcap url-vars url-parse url-dired] 2) #@19 Default FTP port. (defconst url-file-default-port 21 (#$ . 524)) #@33 FTP transfers are asynchronous. (defconst url-file-asynchronous-p t (#$ . 595)) (defalias 'url-file-expand-file-name 'url-default-expander) #@343 Find the exact file referenced by `fname'. This tries the common compression extensions, because things like ange-ftp and efs are not quite smart enough to realize when a server can do automatic decompression for them, and won't find `foo' if `foo.gz' exists, even though the FTP server would happily serve it up to them. (fn FNAME &rest _) (defalias 'url-file-find-possibly-compressed-file #[385 "\300\301\300\203! \211\204! \302\211A\262\242P\211\262!\203 \262\202 \207" [nil ("" ".gz" ".z" ".Z" ".bz2" ".xz") file-exists-p] 9 (#$ . 742)]) #@59 Return t if HOST references our local machine. (fn HOST) (defalias 'url-file-host-is-local-p #[257 "\301\211?\206@ \211\302\230\206@ \211\227\303 \227\232\206@ \304\305\"\203! \301\202@ \304\306\"?\205@ \211\227\304\306\303 \"\203= \307\303 \310\211\224#\202? \303 \232)\207" [case-fold-search t "" system-name string-match "^localhost$" "\\." substring 0] 6 (#$ . 1300)]) #@46 (fn X Y NAME BUFF FUNC ARGS &optional EFS) (defalias 'url-file-asynch-callback #[1798 "\302\303!\204 \262\262\262\211\262\304!\3058\262rq\210db\210\211\306U\204- \307\310\"c\210\311c\210\312!\210\313\314! >\204E \315\316\317D\"\210\320H!\204] \3211X \322!0\202\\ \210\202] \210\323\")\207" [url-current-object cl-struct-url-tags featurep ange-ftp file-attributes 7 -1 format "Content-length: %d\n" "\n" insert-file-contents-literally url-file-host-is-local-p type-of signal wrong-type-argument url 4 (error) delete-file apply] 13 (#$ . 1683)]) #@12 (fn URL) (defalias 'url-file-build-filename #[257 "\302!>\204 \303!\262\302!>\204 \304\305\306D\"\210\211\307H\302!>\204. \304\305\306D\"\210\310H\302!>\204A \304\305\306D\"\210\211\311H\206q \302!>\204V \304\305\306D\"\210\211\312H\205q \313\302!>\204l \304\305\306D\"\210\312H\314\"\262\302!>\204\203 \304\305\306D\"\210\315H\203\246 \316U\204\246 \317\320!\203\236 \321\322#\202\247 \321\323#\202\247 \211\324\302!>\204\271 \304\305\306 D\"\210\325H!\204\310 \326!\204\330 \327\206\317 \330\331\332\260\202\372 \333\334\"\203\354 \335>\203\354 \336\312\"\202\372 \333\337\"\203\371 \340P\202\372 \211\203\203\317\320!\203\341#\210\342!\203:\333\343\"\204:\302!>\204/\304\305\306\nD\"\210\211\325\321\344\"I\266\207" [cl-struct-url-tags system-type type-of url-generic-parse-url signal wrong-type-argument url 2 3 5 1 url-scheme-get-property default-port 4 21 featurep ange-ftp format "%s %d" "%s#%d" url-unhex-string 6 url-file-host-is-local-p "/" "anonymous" "@" ":" string-match "\\`/[a-zA-Z]:/" (ms-dos windows-nt) substring "\\`/[^/]+:/" "/:" ange-ftp-set-passwd file-directory-p "/\\'" "%s/"] 14 (#$ . 2257)]) #@55 Handle file: and ftp: URLs. (fn URL CALLBACK CBARGS) (defalias 'url-file #[771 "\303\211\211\211\304\305!\211\204 \306\307\310\n!\"\210\311\312\"\203&