Server IP : 111.118.215.189 / Your IP : 18.117.158.174 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/gnus/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:10:27 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/gnus/rfc2047.el ;;; in Emacs version 24.3.1 ;;; 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!\210\305\306\307\"\207" [require mm-util ietf-drums mail-prsvr rfc2045 autoload mm-body-7-or-8 "mm-bodies"] 3) #@549 *Header/encoding method alist. The list is traversed sequentially. The keys can either be header regexps or t. The values can be: 1) nil, in which case no encoding is done; 2) `mime', in which case the header will be encoded according to RFC2047; 3) `address-mime', like `mime', but takes account of the rules for address fields (where quoted strings and comments must be treated separately); 4) a charset, in which case it will be encoded as that charset; 5) `default', in which case the field will be encoded as the rest of the article. (defvar rfc2047-header-encoding-alist '(("Newsgroups") ("Followup-To") ("Message-ID") ("\\(Resent-\\)?\\(From\\|Cc\\|To\\|Bcc\\|\\(In-\\)?Reply-To\\|Sender\\|Mail-Followup-To\\|Mail-Copies-To\\|Approved\\)" . address-mime) (t . mime)) (#$ . -727)) #@164 Alist of MIME charsets to RFC2047 encodings. Valid encodings are nil, `Q' and `B'. These indicate binary (no) encoding, quoted-printable and base64 respectively. (defvar rfc2047-charset-encoding-alist '((us-ascii) (iso-8859-1 . Q) (iso-8859-2 . Q) (iso-8859-3 . Q) (iso-8859-4 . Q) (iso-8859-5 . B) (koi8-r . B) (iso-8859-7 . B) (iso-8859-8 . B) (iso-8859-9 . Q) (iso-8859-14 . Q) (iso-8859-15 . Q) (iso-2022-jp . B) (iso-2022-kr . B) (gb2312 . B) (gbk . B) (gb18030 . B) (big5 . B) (cn-big5 . B) (cn-gb . B) (cn-gb-2312 . B) (euc-kr . B) (iso-2022-jp-2 . B) (iso-2022-int-1 . B) (viscii . Q)) (#$ . 1530)) #@51 Alist of RFC2047 encodings to encoding functions. (defvar rfc2047-encode-function-alist '((Q . rfc2047-q-encode-string) (B . rfc2047-b-encode-string) (nil . identity)) (#$ . 2144)) #@48 Whether encoded words should be encoded again. (defvar rfc2047-encode-encoded-words t (#$ . 2331)) #@47 *Whether to decode irregular Q-encoded words. (defvar rfc2047-allow-irregular-q-encoded-words t (#$ . -2436)) #@35 Regexp that matches encoded word. (defconst rfc2047-encoded-word-regexp "=\\?\\([^][ - ()<>@,;:*\\\"/?.=]+\\)\\(?:\\*[^?]+\\)?\\?\\(B\\?[+/0-9A-Za-z]*=*\\|Q\\?[ ->@-~]*\\)\\?=" (#$ . 2552)) #@61 Regexp that matches encoded word allowing loose Q encoding. (defconst rfc2047-encoded-word-regexp-loose "=\\?\\([^][ - ()<>@,;:*\\\"/?.=]+\\)\\(?:\\*[^?]+\\)?\\?\\(B\\?[+/0-9A-Za-z]*=*\\|Q\\?\\(?:\\?+[ -<>@-~]\\)?\\(?:[ ->@-~]+\\?+[ -<>@-~]\\)*[ ->@-~]*\\?*\\)\\?=" (#$ . 2748)) #@97 Return the type with which to encode the buffer. This is either `base64' or `quoted-printable'. (defalias 'rfc2047-qp-or-base64 #[nil "\212d\302e\\^\303eb\210\304 w\210` W\203# T\305u\210\304 w\210\202 \306_ eZW\2043 \305U\2037 \307\2028 \310+\207" [n8bit limit 2000 0 " - \n " 1 6 quoted-printable base64] 3 (#$ . 3033)]) #@54 Narrow the buffer to the header on the current line. (defalias 'rfc2047-narrow-to-field #[nil "\300 \210`\301y\210\302\303\304\305#\203 \306 \202 d}\210eb\207" [beginning-of-line 1 re-search-forward "^[^ \n ]" nil t point-at-bol] 5 (#$ . 3370)]) #@41 Return the value of the field at point. (defalias 'rfc2047-field-value #[nil "\212\214\300 \210\301\302\303\304#\210\305`d\"*\207" [rfc2047-narrow-to-field re-search-forward ":[ \n]*" nil t buffer-substring-no-properties] 4 (#$ . 3624)]) #@180 Quote special characters with `\'s in quoted strings. Quoting will not be done in a quoted string if it contains characters matching ENCODABLE-REGEXP or it is within parentheses. (defalias 'rfc2047-quote-special-characters-in-quoted-strings #[(&optional encodable-regexp) "eb\210\306\307Q`\310\211\311 p\312\216\313\314 !\210m?\205g \310\315\316\217\203. \317\320!\210\2021 db\210\214`}\210b\210\321\322\310\323#\203Z \324\224\211Sf\325=\2049 \nb\210\nT\310\326\327\217\210\2029 db\210)\317\330!\210`\202 .\207" [ietf-drums-tspecials end beg start tspecials #1=#:buffer "[" "]" nil syntax-table ((byte-code "rq\210\302 !\210)\302\207" [#1# #2=#:table set-syntax-table] 2)) set-syntax-table standard-syntax-table (byte-code "\300\301!\210`Sf\302=\207" [forward-list 1 41] 2) ((error)) forward-list -1 search-forward "\"" t 0 92 (byte-code "\304 \210`S b\210\n\203 \305\n\306#\203 Tb\210\202T \214 }\210\305\307\310#\203P `Sf\311=\203C \312!\203= \307u\210\202! \313c\210\202! \314\224b\210\313c\210\307u\210\202! )\307u\210\307\207" [end beg encodable-regexp tspecials forward-sexp re-search-forward t nil move 92 looking-at "\\" 0] 4) ((error (goto-char beg))) 1 #2#] 5 (#$ . 3870)]) #@219 The type of encoding done by `rfc2047-encode-region'. This should be dynamically bound around calls to `rfc2047-encode-region' to either `mime' or `address-mime'. See `rfc2047-header-encoding-alist', for definitions. (defvar rfc2047-encoding-type 'address-mime (#$ . 5085)) #@127 Encode the message header according to `rfc2047-header-encoding-alist'. Should be called narrowed to the head of the message. (defalias 'rfc2047-encode-message-header #[nil "\212eb\210\306\211\211m?\205\355 \214\307 \210\306\n\211A@\211\203= @;\203. \310 @!\2045 @\311=\203 \306 A\202 \312 \204j \313=\203K \314 \210\315 \316=\203\346 \317 \203\346 \320\f@!\203\346 \321ed\322\f@!#\210\202\346 \323\324\306\311#\210\313=\203~ \325`d\"\210\202\346 \326=\203\217 \326\325`d\"\210)\202\346 \327=\203\266 \330\331!\203\346 \332\333!\203\346 \334\333!\203\346 \203\346 \321`d#\210\202\346 \204\302 \325`d\"\210\202\346 \320!\203\346 \330\331!\203\332 \332\333!\203\332 \334\333!\204\340 \330\335!\203\346 \321`d#\210db\210)\202\n ,\207" [method elem alist rfc2047-header-encoding-alist message-posting-charset rfc2047-encoding-type nil rfc2047-narrow-to-field looking-at t rfc2047-encodable-p address-mime rfc2047-quote-special-characters-in-quoted-strings mm-body-7-or-8 8bit mm-multibyte-p mm-coding-system-p mm-encode-coding-region mm-charset-to-coding-system re-search-forward "^[^:]+: *" rfc2047-encode-region mime default featurep mule boundp enable-multibyte-characters default-value file-coding mail-parse-charset] 5 (#$ . 5367) "*"]) #@106 Return non-nil if any characters in current buffer need encoding in headers. The buffer may be narrowed. (defalias 'rfc2047-encodable-p #[nil "\304\305!\210\306ed\"eb\210 \203 \307\n\310\311#eb\210\206% \205% @C\232?)\207" [charsets rfc2047-encode-encoded-words rfc2047-encoded-word-regexp message-posting-charset require message mm-find-mime-charset-region re-search-forward nil t] 4 (#$ . 6638)]) (defconst rfc2047-syntax-table (byte-code "\301 \302\303\304 \305H#\210\306\307\310#\210\306\311\312#\210\306\313\314#\210\306\315\316#\210\306\317\320#\210\306\321\320#\210\306\322\320#\210\306\323\320#\210\306\324\320#\210\306\325\320#\210\306\326\320#\210\306\327\320#\210)\207" [table make-syntax-table set-char-table-range t standard-syntax-table 97 modify-syntax-entry 92 "\\" 34 "\"" 40 "(" 41 ")" 60 "." 62 91 93 58 59 44 64] 5)) #@175 Encode words in region B to E that need encoding. By default, the region is treated as containing RFC2822 addresses. Dynamically bind `rfc2047-encoding-type' to change that. (defalias 'rfc2047-encode-region #[(b e &optional dont-fold) "\214 }\210\n\203 \306\202 \307\310\211\211\211\211\311 \"\312=\203i eb\210\313\310w\210m\204\205 `\314\315!\203R \316\225\317\320#\203R b\210\2027 `V\203b \321`\"\210\202, b\210\202, \322!\210\323 p \324\216\325!!\210eb\210\326\327\330\217\210+.\"\204\221 \331`\"\210db)\207" [b e rfc2047-encode-encoded-words orig-text last-encoded csyntax "[^ -]+\\|=\\?" "[^ -]+" nil buffer-substring-no-properties mime " \n" looking-at "[ \n]*\\([^ \n]+\\)" 0 re-search-forward t rfc2047-encode rfc2047-quote-special-characters-in-quoted-strings syntax-table ((byte-code "rq\210\302 !\210)\302\207" [#1=#:buffer #2=#:table set-syntax-table] 2)) set-syntax-table err (byte-code "m\204\323\306\307w\210`\307f\203 \307fz\211\310=\203X \311 \210`b\210\312\n\313#\203S \nb\210\314\315!\210b\210\314\316!\210\f\203G \317\307x\210\320c\210`\nT\321\n\322Z\"\210\323\202 \307\202 \324=\203f \307u\210\307\202 \325=\203s \326\327!\210\202 \330=\203\215 \331 \210\332\333T`S\"\210)\334\307w\210\202 \307\n\204\206m\204\206\335\336!\203\344 `/\337\225\312\340\n\313#\204\261 \307\211\203\300 `Sfz\341=\203\300 \307u\210\202\243 \n\203\344 \337\2240\203\341 /b\210\342\343\n\313#\203\344 \337\224b\210\307\202\344 \nb\210\n\204\217 \335!\203\217 \337\225\211/b\210\335\344!\203,\337\225\211\203,\312\n\323#\204/`W\203,/b\203,\312\345\n\323#\203&\337\224b\210\202,\nb\210\202\365 \335\346!\203\217 \337\225\312\347\n\323#\203d\n`U\204\217 \335\350\351Q!\203R\307\211\202\220 \337\225Sb\210`\337\224U\204\217 \352c\210\202\217 \nb\210\306\307w\210\335\346!\203\200\353\354\337!\"\203\200\307\211\202\220 \nb\210\202\217 \306\307x\210`b\210\312\n\313#\203\316Sf\355>\204\304b\210\356\307x\210\335\347!\203\270\337\225U\203\270`\202\304b\210\352c\210T\nT\321\n\"\210\323\202 \307\202 \307\207" [start csyntax end encodable-regexp last-encoded rfc2047-encoding-type " \n" nil 34 forward-sexp re-search-forward move delete-char -1 1 " " 32 rfc2047-encode 2 t 46 41 error "Unbalanced parentheses" 40 forward-list mime rfc2047-encode-region ")" looking-at "[ -]+" 0 "[ \n]\\|\\Sw" 92 search-forward "=?" "[ \n]+\\([^ \n]+\\)" "\\Sw" "[^ \n]+" "\\Sw+" "\\sw*\\(" "\\)" " " string-match match-string (nil 9 32) "^ \n" begin rfc2047-encode-encoded-words] 5) ((error (byte-code "\204 \203 \304\n@\nA\"\210\202 \305\306\307\310\311#\"\210\304\207" [debug-on-quit debug-on-error err orig-text signal error "Invalid data for rfc2047 encoding: %s" mm-replace-in-string "[ \n]+" " "] 6))) rfc2047-fold-region begin end start encodable-regexp rfc2047-encoding-type #1# #2# rfc2047-syntax-table dont-fold] 9 (#$ . 7502)]) #@114 Encode words in STRING. By default, the string is treated as containing addresses (see `rfc2047-encoding-type'). (defalias 'rfc2047-encode-string #[(string &optional dont-fold) "\303\304!rq\210\305\216\306 \210 c\210\307ed\n#\210\310 +\207" [#1=#:temp-buffer string dont-fold generate-new-buffer " *temp*" ((byte-code "\301!\203\n \302!\210\301\207" [#1# buffer-name kill-buffer] 2)) mm-enable-multibyte rfc2047-encode-region buffer-string] 4 (#$ . 10463)]) #@222 Maximum characters of each header line that contain encoded-words. According to RFC 2047, it is 76. If it is nil, encoded-words will not be folded. Too small value may cause an error. You should not change this value. (defvar rfc2047-encode-max-chars 76 (#$ . 10932)) #@38 Subroutine used by `rfc2047-encode'. (defalias 'rfc2047-encode-1 #[(column string cs encoder start crest tail &optional eword) "\306\230\203\f \206y\306\207\n\204\"