%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/nxml/ |
Current File : //usr/local/share/emacs/27.2/lisp/nxml/rng-uri.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@137 Return a URI for the filename F. Multibyte characters are left as is. Use `rng-uri-escape-multibyte' to escape them using %HH. (fn F) (defalias 'rng-file-name-uri #[257 "\300!\262\301\302\303#\304G\305V\203 \305H\306U\203 \307\202 \310Q\207" [expand-file-name replace-regexp-in-string "[] - \"#%;<>?[\\^`{|}]" rng-percent-encode "file:" 0 47 "//" "///"] 5 (#$ . 409)]) #@47 Escape multibyte characters in URI. (fn URI) (defalias 'rng-uri-escape-multibyte #[257 "\300\301\302\303\304\"#\207" [replace-regexp-in-string "[[:nonascii:]]" rng-percent-encode encode-coding-string utf-8] 7 (#$ . 796)]) #@12 (fn STR) (defalias 'rng-percent-encode #[257 "\300\301\302\303\304\305\"\262\"\"\207" [apply concat mapcar #[257 "\300\301\302\245\302\246#\207" [format "%%%x%x" 16] 6 "\n\n(fn CH)"] append nil] 9 (#$ . 1026)]) #@101 Return the filename represented by a URI. Signal an error if URI is not a valid file URL. (fn URI) (defalias 'rng-uri-file-name #[257 "\300\301\"\207" [rng-uri-file-name-1 nil] 4 (#$ . 1251)]) #@85 Return a regexp for filenames represented by URIs that match PATTERN. (fn PATTERN) (defalias 'rng-uri-pattern-file-name-regexp #[257 "\300\301\"\207" [rng-uri-file-name-1 match] 4 (#$ . 1452)]) #@16 (fn PATTERN) (defalias 'rng-uri-pattern-file-name-replace-match #[257 "\300\301\"\207" [rng-uri-file-name-1 replace] 4 (#$ . 1654)]) #@20 (fn URI PATTERN) (defalias 'rng-uri-file-name-1 #[514 "\301\302\"\204\f \303\304\"\210\305!\262\306!\206 \303\307\"\211@A@\3108\301\311\"\3128\3138\204@ \204M \303\314\n\"\210\202M \227\315\230\204M \303\316\n\"\210\317 \320B\235\204\\ \303\321\n\"\210\203f \303\322\n\"\210\211\203p \303\323\n\"\210\301\324\"\203} \303\325\n\"\210\301\326\"\203\212 \303\327\n\"\210\330=\203\243 \203\243 \331\332\333\"!\203\243 \332\333\"\262\203\265 \301\334\"\203\265 \332\310\"\262\335\267\202\311 \336!\202\314 \337\310\"\202\314 \340!\262\301\341\"\203\333 \303\342\n\"\210\343=\203\357 \203\352 \344\202\353 \345P\262\343=\203\375 \346\347Q\202\350=\203\204\351P\202\207" [system-type string-match "\\`\\(?:[^%]\\|%[[:xdigit:]]{2}\\)*\\'" rng-uri-error "Bad escapes in URI `%s'" rng-uri-unescape-multibyte rng-uri-split "Cannot split URI `%s' into its components" 2 "\\`/" 3 4 "URI `%s' does not have a scheme" "file" "URI `%s' does not use the `file:' scheme" system-name (nil "" "localhost") "URI `%s' does not start with `file:///' or `file://localhost/'" "`?' not escaped in file URI `%s'" "URI `%s' has a fragment identifier" ";" "`;' not escaped in URI `%s'" "%2[fF]" "Escaped slash in URI `%s'" windows-nt file-name-absolute-p substring 1 "\\`\\./" #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (match 188 replace 194)) rng-uri-unescape-unibyte-match rng-uri-unescape-unibyte-replace rng-uri-unescape-unibyte "