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:09:52 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/gnus/gnus-html.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\300\305!\210\300\306!\210\300\307!\210\300\310!\210\311\312\313\314\315\316\317\301\320\321& \210\311\322\323\324\315\316\317\301\320\325& \210\311\326\327\330\315\316\317\301\320\321& \210\311\331\332\333\315\316\317\301\320\334& \207" [require gnus-art mm-url url url-cache xml browse-url mm-util help-fns custom-declare-variable gnus-html-image-cache-ttl (days-to-time 7) "Time used to determine if we should use images from the cache." :version "24.1" :group :type integer gnus-html-image-automatic-caching t "Whether automatically cache retrieve images." boolean gnus-html-frame-width 70 "What width to use when rendering HTML." gnus-max-image-proportion 0.9 "How big pictures displayed are in relation to the window they're in.\nA value of 0.7 means that they are allowed to take up 70% of the\nwidth and height of the window. If they are larger than this,\nand Emacs supports it, then the images will be rescaled down to\nfit these criteria." float] 10) (defvar gnus-html-image-map (byte-code "\301 \302\303\304#\210\302\305\306#\210\302\307\310#\210)\207" [map make-sparse-keymap define-key "u" gnus-article-copy-string "i" gnus-html-insert-image "v" gnus-html-browse-url] 4)) (defvar gnus-html-displayed-image-map (byte-code "\301 \302\303\304#\210\302\305\306#\210\302\307\310#\210\302\311\312#\210\302\313\314#\210)\207" [map make-sparse-keymap define-key "a" gnus-html-show-alt-text "i" gnus-html-browse-image " " gnus-html-browse-url "u" gnus-article-copy-string [tab] widget-forward] 4)) (byte-code "\300\301\302\303!\203\f \303\202 \304\"\207" [defalias gnus-html-encode-url-chars fboundp browse-url-url-encode-chars #[(text chars) "\304!\305\306\n #\211\203% \307\310\311\312\313\305\n\"!\"\314\211\n$ T\202 \n*\207" [text s encoded-text chars copy-sequence 0 string-match replace-match format "%%%x" string-to-char match-string t] 7 "URL-encode the chars in TEXT that match CHARS.\nCHARS is a regexp-like character alternative (e.g., \"[)$]\")."]] 4) #@13 Encode URL. (defalias 'gnus-html-encode-url #[(url) "\301\302\"\207" [url gnus-html-encode-url-chars "[)$ ]"] 3 (#$ . 2612)]) #@43 Check if URL is cached for more than TTL. (defalias 'gnus-html-cache-expired #[(url ttl) "\203 \304\305 !!?\207\306 !\211\203 \307\310\n\"\311 \"\202 \312)\207" [url-standalone-mode url cache-time ttl file-exists-p url-cache-create-filename url-is-cached time-less-p time-add current-time t] 5 (#$ . 2745)]) (defalias 'gnus-article-html #[(&optional handle) "p \204\n \306\307!\214``}\210\212 \211@\203\243 \310 @!\203\243 \311\312!r\nq\210\313\216\314 \210\315 @!\210\316\317 8 \211@;\203A @\202E A@@)\"\210\320\211\fB\321 A@\322\"\211\203{ \323!\211\203{ \324=\204{ \325\326 \"\327 \210\330 \210c\210\331ed\332\333\333\334\335\336\337\340\337\341\342\341\343\341\344\345\346\347-\"\350\346\347.\"\341\351\352\353&\210.*\354 *\207" [article-buffer handle #1=#:temp-buffer coding-system-for-read coding-system-for-write default-process-coding-system mm-dissect-buffer t buffer-name generate-new-buffer " *temp*" ((byte-code "\301!\203\n \302!\210\301\207" [#1# buffer-name kill-buffer] 2)) mm-disable-multibyte insert-buffer-substring mm-decode-content-transfer-encoding 2 utf-8 mail-content-type-get charset mm-charset-to-coding-system ascii mm-decode-coding-string buffer-string erase-buffer mm-enable-multibyte call-process-region "w3m" nil "-halfdump" "-no-cookie" "-I" "UTF-8" "-O" "-o" "ext_halfdump=1" "display_ins_del=2" "pre_conv=1" "-t" format "%s" "-cols" "display_image=on" "-T" "text/html" gnus-html-wash-tags tab-width gnus-html-frame-width] 28]) (defalias 'gnus-html-pre-wash #[nil "eb\210\300\301\302\303#\203 \304\305\303\211#\210\202 eb\210\300\306\302\303#\205( \304\305\303\211#\210\202 \207" [re-search-forward " *<pre_int> *</pre_int> *\n" nil t replace-match "" "<a name[^\n>]+>"] 4]) #@60 Run through current buffer and replace img tags by images. (defalias 'gnus-html-wash-images #[nil "\306\211\211\211\211\211\211\211\211\211!@AB\307C!\203. rCq\210D\310 )\2024 D\310 eb\210\311\312\306\313#\205\266\314\315!A\316\224\211!`|\210\317\320\321 \313#\203[ \316\224\316\225|\210`\322\323A\"\2037 \324\325\326#\210\327\314\315A\"!\322\330A\"\205\202 \331\314\332A\"!\333! \334\335\336\337\340\303\341\305\n\257E\342! \nF\257#\210\343\344!`\345\n\346E&\210\322\347\"\203J\350\316\225\306O!\211F\205 ?\205\351F\211F@\205 \352F@!\205 \353\354!GrGq\210\355\216\356 \210\357F@!\210\360\332F8F\211F@;\203F@\202FA@@)\"\210\361 +)\306\313#\211H\2034\362\363\364\365H\366 \"\367! {! |\210\370D!\363#\"\210\202F\343\371! \372\373\345\346E\374E&\210*\2027 \204U\375\"\203j\343\371! \372\373\345\346E\374E&\210\2027 \322\376A\"\205y\377\314\315A\"!\322\201K A\"\205\212\377\314\315A\"!IJI\203\234I\201L V\203\262J\203\252J\201L V\203\262\340! \n$\210*\2027 .\n\207" [blocked-images inhibit-images alt-text url images end nil buffer-live-p gnus-blocked-images re-search-forward "<img_alt \\([^>]*\\)>" t match-string 1 0 search-forward "</img_alt>" line-end-position string-match "src=\"\\([^\"]+\\)" gnus-message 8 "gnus-html-wash-tags: fetching image URL %s" gnus-html-encode-url "\\(alt\\|title\\)=\"\\([^\"]+\\)" xml-substitute-special 2 gnus-add-text-properties image-url image-displayer lambda (url start end) gnus-html-display-image start gnus-image widget-convert-button url-link :help-echo :keymap "\\`cid:" mm-get-content-id gnus-create-image buffer-name generate-new-buffer " *temp*" ((byte-code "\301!\203\n \302!\210\301\207" [#1=#:temp-buffer buffer-name kill-buffer] 2)) mm-disable-multibyte insert-buffer-substring mm-decode-content-transfer-encoding buffer-string gnus-add-image cid gnus-put-image gnus-rescale-image gnus-html-maximum-image-size gnus-string-or-1 "*" link :action gnus-html-insert-image :button-keymap gnus-html-image-url-blocked-p "width=\"?\\([0-9]+\\)" string-to-number string parameters tag gnus-summary-buffer gnus-inhibit-images gnus-html-image-map handle #1# image height width "height=\"?\\([0-9]+\\)" 4] 14 (#$ . 4496)]) #@84 Display image at URL on text from START to END. Use ALT-TEXT for the image string. (defalias 'gnus-html-display-image #[(url start end &optional alt-text) "\204 \305\306\307 \"\203[ \310 \311\225\312O!\211\205Y \313\n\211@\205U \314\n@!\205U \315\316!rq\210\317\216\320 \210\321\n@!\210\322\323\n8\n\211@;\203K \n@\202O \nA@@)\"\210\324 +) #)\207\325 \f\"\203i \326p D\"\207\313\327 ! #\207" [alt-text url handle #1=#:temp-buffer gnus-html-image-cache-ttl "*" string-match "\\`cid:" mm-get-content-id 0 nil gnus-html-put-image buffer-name generate-new-buffer " *temp*" ((byte-code "\301!\203\n \302!\210\301\207" [#1# buffer-name kill-buffer] 2)) mm-disable-multibyte insert-buffer-substring mm-decode-content-transfer-encoding 2 buffer-string gnus-html-cache-expired gnus-html-schedule-image-fetching gnus-html-get-image-data] 5 (#$ . 6764)]) (defalias 'gnus-html-wash-tags #[nil "\306\211\211\211\211\211\211@\307 \210\310 \210eb\210\311\312\306\313#\203\357\314\315!@\314\316!\317\224 G\317V\203<