%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/gnus/ |
Current File : //usr/local/share/emacs/27.2/lisp/gnus/deuglify.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; 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\300\302!\207" [require gnus-art gnus-sum] 2) #@35 Version of gnus-outlook-deuglify. (defconst gnus-outlook-deuglify-version "1.5 Gnus version" (#$ . 479)) (byte-code "\300\301\302\303\304\305\306\307&\210\310\311\312\313\304\305\314\315\306\301& \210\310\316\317\320\304\305\314\315\306\301& \210\310\321\322\323\304\305\314\324\306\301& \210\310\325\302\326\304\305\314\327\306\301& \210\310\330\331\332\304\305\314\324\306\301& \210\310\333\334\335\304\305\314\324\306\301& \210\310\336\337\340\304\305\314\324\306\301& \210\310\341\342\343\304\305\314\324\306\301& \210\310\344\302\345\304\305\314\346\306\301& \207" [custom-declare-group gnus-outlook-deuglify nil "Deuglify articles generated by broken user agents like MS Outlook (Express)." :version "22.1" :group gnus custom-declare-variable gnus-outlook-deuglify-unwrap-min 45 "Minimum length of the cited line above the (possibly) wrapped line." :type integer gnus-outlook-deuglify-unwrap-max 95 "Maximum length of the cited line after unwrapping." gnus-outlook-deuglify-cite-marks ">|#%" "Characters that indicate cited lines." string gnus-outlook-deuglify-unwrap-stop-chars "Characters that inhibit unwrapping if they are the last one on the cited line above the possible wrapped line." (radio (const :format "None " nil) (string :value ".?!")) gnus-outlook-deuglify-no-wrap-chars "`" "Characters that inhibit unwrapping if they are the first one in the possibly wrapped line." gnus-outlook-deuglify-attrib-cut-regexp "\\(On \\|Am \\)?\\(Mon\\|Tue\\|Wed\\|Thu\\|Fri\\|Sat\\|Sun\\),[^,]+, " "Regular expression matching the beginning of an attribution line that should be cut off." gnus-outlook-deuglify-attrib-verb-regexp "wrote\\|writes\\|says\\|schrieb\\|schreibt\\|meinte\\|skrev\\|a écrit\\|schreef\\|escribió" "Regular expression matching the verb used in an attribution line." gnus-outlook-deuglify-attrib-end-regexp ": *\\|\\.\\.\\." "Regular expression matching the end of an attribution line." gnus-outlook-display-hook "A hook called after a deuglified article has been prepared.\nIt is run after `gnus-article-prepare-hook'." hook] 10) #@45 Redisplay current buffer or article buffer. (defalias 'gnus-outlook-display-article-buffer #[nil "r\206 pq\210\212\214~\210\301 \210`d}\210\302\303!\210*\304\305\306\")\207" [gnus-article-buffer article-goto-body gnus-treat-article nil gnus-run-hooks gnus-article-prepare-hook gnus-outlook-display-hook] 3 (#$ . 2547)]) #@323 Unwrap lines that appear to be wrapped citation lines. You can control what lines will be unwrapped by frobbing `gnus-outlook-deuglify-unwrap-min' and `gnus-outlook-deuglify-unwrap-max', indicating the minimum and maximum length of an unwrapped citation line. If NODISPLAY is non-nil, don't redisplay the article buffer. (defalias 'gnus-article-outlook-unwrap-lines #[(&optional nodisplay) "\306\307 \n\310\311!!\203` rq\210\307\312 \210\313\314 \315 \316\317 \f\320\260\n\306\307#\203_ \321\225\322\224Z\323\225\323\224Z\211V\203[ \\W\203[ \324\325!\210\326\224b\210*\202 *-?\205i \327 \207" [gnus-outlook-deuglify-cite-marks gnus-outlook-deuglify-no-wrap-chars gnus-outlook-deuglify-unwrap-stop-chars stop-chars no-wrap cite-marks nil t buffer-live-p get-buffer article-goto-body re-search-forward "^\\([ " "]*\\)\\([" "].*[^\n " "]\\)[ ]?\n\\1\\([^\n " "]+.*\\)$" 2 1 3 replace-match "\\1\\2 \\3" 0 gnus-outlook-display-article-buffer inhibit-read-only case-fold-search gnus-article-buffer len3 len12 gnus-outlook-deuglify-unwrap-min gnus-outlook-deuglify-unwrap-max nodisplay] 12 (#$ . 2876) "P"]) #@85 Put the text from ATTR-START to the end of buffer at the top of the article buffer. (defalias 'gnus-outlook-rearrange-article #[(attr-start) "\306\307\310!!\205` rq\210\306\311 \210`\fU?\205_ \312 \210`\313 \203) `\202* d \fW\2035 d\212\f }\210\fb\210\314y\210\315\316!\204T \317`d\320#\210db\210\321 \210d~\210)\322\f\211 $***\207" [gnus-outlook-deuglify-cite-marks cite-marks inhibit-read-only gnus-article-buffer attr-start to t buffer-live-p get-buffer article-goto-body gnus-kill-all-overlays gnus-article-search-signature nil looking-at ">" message-indent-citation yank-only newline transpose-regions cur] 5 (#$ . 4017)]) #@45 Repair a broken attribution line (Outlook). (defalias 'gnus-outlook-repair-attribution-outlook #[nil "\306\307\310\311\f!!\2054 r\fq\210\307\312 \210\313\314 \315 \316 \317\320\260 \306\307#\2053 \321 \210\322\323!\210\324\224*+\207" [gnus-outlook-deuglify-cite-marks cite-marks inhibit-read-only case-fold-search gnus-article-buffer gnus-outlook-deuglify-attrib-verb-regexp nil t buffer-live-p get-buffer article-goto-body re-search-forward "^\\([^" "].+\\)\\(" "\\)\\(.*\n?[^\n" "].*\\)?\\(" "\\)$" gnus-kill-all-overlays replace-match "\\1\\2\\4" 0 gnus-outlook-deuglify-attrib-end-regexp] 10 (#$ . 4664)]) #@40 Repair a big broken attribution block. (defalias 'gnus-outlook-repair-attribution-block #[nil "\305\306\307\310\f!!\205, r\fq\210\306\311 \210\312\313 \314Q\305\306#\205+ \315 \210\316\317!\210\320\224*+\207" [gnus-outlook-deuglify-cite-marks cite-marks inhibit-read-only case-fold-search gnus-article-buffer nil t buffer-live-p get-buffer article-goto-body re-search-forward "^[" " ]*--* ?[^-]+ [^-]+ ?--*\\s *\n[^\n:]+:[ ]*\\([^\n]+\\)\n\\([^\n:]+:[ ]*[^\n]+\n\\)+" gnus-kill-all-overlays replace-match "\\1 wrote:\n" 0] 4 (#$ . 5287)]) #@68 Repair a broken attribution line (other user agents than Outlook). (defalias 'gnus-outlook-repair-attribution-other #[nil "\306\307\310\311\f!!\2057 r\fq\210\307\312 \210\313\314 \315 \316 \317\320\321\260\306\307#\2056 \322 \210\323\324!\210\325\224*+\207" [gnus-outlook-deuglify-cite-marks cite-marks inhibit-read-only case-fold-search gnus-article-buffer gnus-outlook-deuglify-attrib-cut-regexp nil t buffer-live-p get-buffer article-goto-body re-search-forward "^\\(" "\\)?\\([^" "].+\\)\n\\([^\n" "].*\\)?\\(" "\\).*\\(" "\\)$" gnus-kill-all-overlays replace-match "\\4 \\5\\6\\7" 0 gnus-outlook-deuglify-attrib-verb-regexp gnus-outlook-deuglify-attrib-end-regexp] 12 (#$ . 5840)]) #@96 Repair a broken attribution line. If NODISPLAY is non-nil, don't redisplay the article buffer. (defalias 'gnus-article-outlook-repair-attribution #[(&optional nodisplay) "\302 \206\f \303 \206\f \304 \204 \305 \210)\207" [attrib-start nodisplay gnus-outlook-repair-attribution-other gnus-outlook-repair-attribution-block gnus-outlook-repair-attribution-outlook gnus-outlook-display-article-buffer] 1 (#$ . 6543) "P"]) #@87 Repair broken citations. If NODISPLAY is non-nil, don't redisplay the article buffer. (defalias 'gnus-article-outlook-rearrange-citation #[(&optional nodisplay) "\302\301!\211\203\f \303!\210) ?\205 \304 \207" [attrib-start nodisplay gnus-article-outlook-repair-attribution gnus-outlook-rearrange-article gnus-outlook-display-article-buffer] 3 (#$ . 6971) "P"]) #@193 Full deuglify of broken Outlook (Express) articles. Treat "smartquotes", unwrap lines, repair attribution and rearrange citation. If NODISPLAY is non-nil, don't redisplay the article buffer. (defalias 'gnus-outlook-deuglify-article #[(&optional nodisplay) "\301 \210\302\300!\210\303\300!\210?\205 \304 \207" [nodisplay gnus-article-treat-smartquotes gnus-article-outlook-unwrap-lines gnus-article-outlook-rearrange-citation gnus-outlook-display-article-buffer] 2 (#$ . 7343) "P"]) #@59 Deuglify broken Outlook (Express) articles and redisplay. (defalias 'gnus-article-outlook-deuglify-article #[nil "\300\301!\207" [gnus-outlook-deuglify-article nil] 2 (#$ . 7834) nil]) (provide 'deuglify)