?
Current Path : /usr/share/emacs/24.3/lisp/mail/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/mail/rmailsum.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:11:45 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/mail/rmailsum.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\303\304\305\306\307\310\311\312&\210\303\313\305\314\307\310\311\312&\207" [require rmail rfc2047 custom-declare-variable rmail-summary-scroll-between-messages t "Non-nil means Rmail summary scroll commands move between messages.\nThat is, after `rmail-summary-scroll-msg-up' reaches the end of a\nmessage, it moves to the next message; and similarly for\n`rmail-summary-scroll-msg-down'." :type boolean :group rmail-summary rmail-summary-line-count-flag "Non-nil means Rmail summary should show the number of lines in each message.\nSetting this option to nil might speed up the generation of summaries."] 8) #@60 Additional expressions to highlight in Rmail Summary mode. (defvar rmail-summary-font-lock-keywords '(("^.....D.*" . font-lock-string-face) ("^.....-.*" . font-lock-type-face) ("^.....[^D-] \\(......\\)" 1 font-lock-keyword-face) ("{ \\([^\n}]+\\) }" 1 font-lock-comment-face)) (#$ . 1207)) #@60 (FUNCTION . ARGS) to regenerate this Rmail summary buffer. (defvar rmail-summary-redo nil (#$ . 1504)) #@69 Overlay used to highlight the current message in the Rmail summary. (defvar rmail-summary-overlay nil (#$ . 1613)) (put 'rmail-summary-overlay 'permanent-local t) #@36 Keymap used in Rmail summary mode. (defvar rmail-summary-mode-map (byte-code "\301 \302!\210\303\304\305#\210\303\306\307#\210\303\310\311#\210\303\312\313#\210\303\314\315#\210\303\316\317#\210\303\320\321#\210\303\322\323#\210\303\324\325#\210\303\326\327#\210\303\330\331#\210\303\332\333#\210\303\334\333#\210\303\335\336#\210\303\337\340#\210\303\341\327#\210\303\342\340#\210\303\343\344#\210\303\345\346#\210\303\347\350#\210\303\351\352#\210\303\353\354#\210\303\355\356#\210\303\357\360#\210\303\361\362#\210\303\363\364#\210\303\365\366#\210\303\367\370#\210\303\371\372#\210\303\373\374#\210\303\375\376#\210\303\377\201@ #\210\303\201A \201B #\210\303\201C \201D #\210\303\201E \201F #\210\303\201G \201H #\210\303\201I \201J #\210\303\201K \201L #\210\303\201M \201N #\210\303\201O \201P #\210\303\201Q \201R #\210\303\201S \201T #\210\303\201U \201V #\210\303\201W \201X #\210\303\201Y \201Z #\210\303\201[ \201\\ #\210\303\201] \201^ #\210\303\201_ \201` #\210\303\201a \201b #\210\303\201c \201d #\210\303\201e \201f #\210\303\201g \201h #\210\303\201i \201j #\210\303\201k \201l #\210\303\201m \201n #\210\303\201o \201p #\210\303\201q \201r #\210\303\201s \201t #\210\303\201u \201v #\210\303\201w \201x #\210\303\201y \201z \201x \201z !B#\210\303\201{ \201| #\210\303\201} \201~ #\210\303\201 \201\200 #\210\303\201\201 \201\202 #\210\303\201\203 \201\204 #\210\303\201\205 \201\206 #\210\303\201\207 \201\210 #\210\303\201\211 \201\212 #\210\303\201\213 \201\214 #\210\303\201\215 \201\216 \201x \201\216 !B#\210\303\201\217 \201\220 #\210\303\201\221 \201\222 #\210\303\201\223 \201\224 #\210\303\201\225 \201\226 #\210\303\201\227 \201\230 #\210\303\201\231 \201\232 #\210\303\201\233 \201\234 \201x \201\234 !B#\210\303\201\235 \201\236 #\210\303\201\237 \201\240 #\210\303\201\241 \201\242 #\210\303\201\243 \201\244 #\210\303\201\245 \201\246 #\210\303\201\247 \201\250 #\210\303\201\251 \201\252 #\210\303\201\253 \201\254 #\210\303\201\255 \201\256 \201x \201\256 !B#\210\303\201\257 \201\260 #\210\303\201\261 \201\262 #\210\303\201\263 \201\264 #\210\303\201\265 \201\266 #\210\303\201\267 \201\270 \201x \201\270 !B#\210\303\201\271 \201\272 #\210\303\201\273 \201\274 #\210\303\201\275 \201\276 #\210\303\201\277 \201\300 #\210\303\201\301 \201\302 #\210\303\201\303 \201\304 #\210\303\201\305 \201\306 #\210\303\201\307 \201\310 #\210)\207" [map make-keymap suppress-keymap define-key [mouse-2] rmail-summary-mouse-goto-message "a" rmail-summary-add-label "b" rmail-summary-bury "c" rmail-summary-continue "d" rmail-summary-delete-forward "" rmail-summary-delete-backward "e" rmail-summary-edit-current-message "f" rmail-summary-forward "g" rmail-summary-get-new-mail "h" rmail-summary "i" rmail-summary-input "j" rmail-summary-goto-msg " " "k" rmail-summary-kill-label "l" rmail-summary-by-labels "" "\f" "" rmail-summary-by-recipients "" rmail-summary-by-regexp "" rmail-summary-by-senders "" rmail-summary-by-topic "m" rmail-summary-mail "\355" rmail-summary-retry-failure "n" rmail-summary-next-msg "n" rmail-summary-next-all "" rmail-summary-next-labeled-message "o" rmail-summary-output "" rmail-summary-output-as-seen "p" rmail-summary-previous-msg "p" rmail-summary-previous-all "" rmail-summary-previous-labeled-message "q" rmail-summary-quit "Q" rmail-summary-wipe "r" rmail-summary-reply "s" rmail-summary-expunge-and-save "s" rmail-summary-search "t" rmail-summary-toggle-header "u" rmail-summary-undelete "\365" rmail-summary-undelete-many "x" rmail-summary-expunge "w" rmail-summary-output-body "v" rmail-mime "." rmail-summary-beginning-of-message "/" rmail-summary-end-of-message "<" rmail-summary-first-message ">" rmail-summary-last-message " " rmail-summary-scroll-msg-up "" rmail-summary-scroll-msg-down "?" describe-mode "" rmail-summary-next-same-subject "" rmail-summary-previous-same-subject "" rmail-summary-sort-by-date "" rmail-summary-sort-by-subject "" rmail-summary-sort-by-author "" rmail-summary-sort-by-recipient "" rmail-summary-sort-by-correspondent "\f" rmail-summary-sort-by-lines "" rmail-summary-sort-by-labels "" rmail-summary-save-buffer [menu-bar] make-sparse-keymap [menu-bar classify] "Classify" [menu-bar classify output-menu] ("Output (Rmail Menu)..." . rmail-summary-output-menu) [menu-bar classify input-menu] ("Input Rmail File (menu)..." . rmail-input-menu) [menu-bar classify input-menu] (nil) [menu-bar classify output-menu] (nil) [menu-bar classify output-body] ("Output body..." . rmail-summary-output-body) [menu-bar classify output-inbox] ("Output..." . rmail-summary-output) [menu-bar classify output] ("Output as seen..." . rmail-summary-output-as-seen) [menu-bar classify kill-label] ("Kill Label..." . rmail-summary-kill-label) [menu-bar classify add-label] ("Add Label..." . rmail-summary-add-label) [menu-bar summary] "Summary" [menu-bar summary senders] ("By Senders..." . rmail-summary-by-senders) [menu-bar summary labels] ("By Labels..." . rmail-summary-by-labels) [menu-bar summary recipients] ("By Recipients..." . rmail-summary-by-recipients) [menu-bar summary topic] ("By Topic..." . rmail-summary-by-topic) [menu-bar summary regexp] ("By Regexp..." . rmail-summary-by-regexp) [menu-bar summary all] ("All" . rmail-summary) [menu-bar mail] "Mail" [menu-bar mail rmail-summary-get-new-mail] ("Get New Mail" . rmail-summary-get-new-mail) [menu-bar mail lambda] ("----") [menu-bar mail continue] ("Continue" . rmail-summary-continue) [menu-bar mail resend] ("Re-send..." . rmail-summary-resend) [menu-bar mail forward] ("Forward" . rmail-summary-forward) [menu-bar mail retry] ("Retry" . rmail-summary-retry-failure) [menu-bar mail reply] ("Reply" . rmail-summary-reply) [menu-bar mail mail] ("Mail" . rmail-summary-mail) [menu-bar delete] "Delete" [menu-bar delete expunge/save] ("Expunge/Save" . rmail-summary-expunge-and-save) [menu-bar delete expunge] ("Expunge" . rmail-summary-expunge) [menu-bar delete undelete] ("Undelete" . rmail-summary-undelete) [menu-bar delete delete] ("Delete" . rmail-summary-delete-forward) [menu-bar move] "Move" [menu-bar move search-back] ("Search Back..." . rmail-summary-search-backward) [menu-bar move search] ("Search..." . rmail-summary-search) [menu-bar move previous] ("Previous Nondeleted" . rmail-summary-previous-msg) [menu-bar move next] ("Next Nondeleted" . rmail-summary-next-msg) [menu-bar move last] ("Last" . rmail-summary-last-message) [menu-bar move first] ("First" . rmail-summary-first-message) [menu-bar move previous] ("Previous" . rmail-summary-previous-all) [menu-bar move next] ("Next" . rmail-summary-next-all)] 6) (#$ . 1782)) (defalias 'rmail-update-summary #[(&rest ignore) "\301@A\"\207" [rmail-summary-redo apply] 3]) #@58 Display a summary of all messages, one line per message. (defalias 'rmail-summary #[nil "\300\301\302\303#\207" [rmail-new-summary "All" (rmail-summary) nil] 4 (#$ . 8627) nil]) #@138 Display a summary of all messages with one or more LABELS. LABELS should be a string containing the desired labels, separated by commas. (defalias 'rmail-summary-by-labels #[(labels) "\302\230\203 \206 \303\304!\305\306P\307D\310\311\312!\313Q$\207" [labels rmail-last-multi-labels "" error "No label specified" rmail-new-summary "labels " rmail-summary-by-labels rmail-message-labels-p " \\(" mail-comma-list-regexp "\\)\\(,\\|\\'\\)"] 7 (#$ . 8812) "sLabels to summarize by: "]) #@261 Display a summary of all messages with the given RECIPIENTS. Normally checks the To, From and Cc fields of headers; but if PRIMARY-ONLY is non-nil (prefix arg given), only look in the To and From fields. RECIPIENTS is a string of regexps separated by commas. (defalias 'rmail-summary-by-recipients #[(recipients &optional primary-only) "\302\303P\304 E\305\306! %\207" [recipients primary-only rmail-new-summary "recipients " rmail-summary-by-recipients rmail-message-recipients-p mail-comma-list-regexp] 6 (#$ . 9310) "sRecipients to summarize by: \nP"]) (defalias 'rmail-message-recipients-p #[(msg recipients &optional primary-only) "\303\304 \n$\207" [msg recipients primary-only rmail-apply-in-message rmail-message-recipients-p-1] 5]) (defalias 'rmail-message-recipients-p-1 #[(recipients &optional primary-only) "`\302\303!\210`}\210\304\305\306!\206 \307\"\2061 \304\305\310!\206 \307\"\2061 ?\2051 \304\305\311!\2060 \307\"\207" [recipients primary-only search-forward "\n\n" string-match mail-fetch-field "To" "" "From" "Cc"] 4]) #@241 Display a summary of all messages according to regexp REGEXP. If the regular expression is found in the header of the message (including in the date and other lines, as well as the subject line), Emacs will list the message in the summary. (defalias 'rmail-summary-by-regexp #[(regexp) "\302\230\203 \206 \303\304!\305\306P\307D\310$\207" [regexp rmail-last-regexp "" error "No regexp specified" rmail-new-summary "regexp " rmail-summary-by-regexp rmail-message-regexp-p] 5 (#$ . 10368) "sRegexp to summarize by: "]) #@75 Return t, if for message number MSG, regexp REGEXP matches in the header. (defalias 'rmail-message-regexp-p #[(msg regexp) "\302\303 $\207" [msg regexp rmail-apply-in-message rmail-message-regexp-p-1] 5 (#$ . 10901)]) (defalias 'rmail-message-regexp-p-1 #[(msg regexp) "`\212\304\305!\210`)}\210\203 \203 \n`#\207\306\307\310#\207" [rmail-enable-mime rmail-search-mime-header-function msg regexp search-forward "\n\n" re-search-forward nil t] 4]) #@241 Display a summary of all messages with the given SUBJECT. Normally checks just the Subject field of headers; but with prefix argument WHOLE-MESSAGE is non-nil, looks in the whole message. SUBJECT is a string of regexps separated by commas. (defalias 'rmail-summary-by-topic #[(subject &optional whole-message) "\302\303P\304 E\305\306! %\207" [subject whole-message rmail-new-summary "about " rmail-summary-by-topic rmail-message-subject-p mail-comma-list-regexp] 6 (#$ . 11364) (let* ((subject (regexp-quote (rmail-simplified-subject))) (prompt (concat "Topics to summarize by (regexp" (if subject ", default current subject" "") "): "))) (list (read-string prompt nil nil subject) current-prefix-arg))]) (defalias 'rmail-message-subject-p #[(msg subject &optional whole-message) "\203\f \303 \304\n\305\306%\207\307\n\310 !\"\207" [whole-message msg subject rmail-apply-in-message re-search-forward nil t string-match rmail-simplified-subject] 6]) #@123 Display a summary of all messages whose "From" field matches SENDERS. SENDERS is a string of regexps separated by commas. (defalias 'rmail-summary-by-senders #[(senders) "\301\302P\303D\304\305!$\207" [senders rmail-new-summary "senders " rmail-summary-by-senders rmail-message-senders-p mail-comma-list-regexp] 6 (#$ . 12325) "sSenders to summarize by: "]) (defalias 'rmail-message-senders-p #[(msg senders) "\302\303\304 \"\206\n \305\"\207" [senders msg string-match rmail-get-header "From" ""] 5]) (defvar rmail-summary-symbol-number 0) #@274 Create a summary of selected messages. DESC makes part of the mode line of the summary buffer. REDO is form ... For each message, FUNC is applied to the message number and ARGS... and if the result is non-nil, that message is included. nil for FUNCTION means all messages. (defalias 'rmail-new-summary #[(desc redo func &rest args) "\306\307!\210\204\f \310\311!\210\312\211\211\f\313=\203 \314rq\210\315 $\211 !)\n\204\226 \316 \203c \"\203c #\204c \317\320 $\"\210\321\322\323 !!\210\324 !\210 \325\323 !=\204g \326 \210\202g \324 !\210q\210%&\327 \203\206 \320 '\212\330\216\324 !\210&\210+\202\217 r q\210&\210)\331 \210) q\210\332\314\211#\210\333 \210\306\334!+\207" [rmail-buffer sumbuf was-in-summary mesg major-mode desc message "Computing summary lines..." error "No RMAIL buffer found" nil rmail-summary-mode t rmail-new-summary-1 one-window-p split-window selected-window select-window next-window frame-first-window rmail-pop-to-buffer window-buffer delete-other-windows rmail-summary-displayed ((select-window window)) rmail-maybe-display-summary rmail-summary-goto-msg rmail-summary-construct-io-menu "Computing summary lines...done" redo func args rmail-summary-buffer rmail-current-message pop-up-windows pop-up-frames rmail-summary-window-size rmail-total-messages total window] 6 (#$ . 12877)]) #@337 Filter messages to obtain summary lines. DESCRIPTION is added to the mode line. Return the summary buffer by invoking FUNCTION on each message passing the message number and ARGS... REDO is a form ... The current buffer must be a Rmail buffer either containing a collection of mbox formatted messages or displaying a single message. (defalias 'rmail-new-summary-1 #[(description form function args) "\306\307\310 \311p\312\212\313 \203 q\210\314 \315 \316\216\212~\210eb\210 Y\203m rq\210 \203G \317 !#\203Q \320!B\nB)T\321 !\204+ \321 \322\246!\203+ \323\324 \"\210\202+ \n\237. \306\"#\203\203 r$q\210\306\")\212p%q\210\306&\325 \210\n\203\244 \326\n@A\"\210\nA\211\204\226 eb\210)\312&\327 \210\330\331!\210\312\332'PDC%$() ++\207" [sumbuf rmail-new-summary-line-count summary-msgs rmail-total-messages inhibit-read-only total nil 0 rmail-get-create-summary-buffer 1 t rmail-buffers-swapped-p point-min-marker point-max-marker ((narrow-to-region old-min old-max)) apply rmail-get-summary zerop 10 message "Computing summary lines...%d" erase-buffer princ rmail-summary-mode make-local-variable minor-mode-alist ": " main-buffer msgnum rmail-view-buffer old-max old-min function args rmail-summary-buffer rmail-enable-mime rmail-buffer rbuf buffer-read-only description form rmail-summary-redo] 5 (#$ . 14227)]) #@84 Return the Rmail summary buffer. If necessary, it is created and undo is disabled. (defalias 'rmail-get-create-summary-buffer #[nil "\203\f \303!\203\f \207\304\303 \305P!r q\210\306) )\207" [rmail-summary-buffer buff buffer-undo-list buffer-name generate-new-buffer "-summary" t] 3 (#$ . 15607)]) #@399 Return the summary line for message MSGNUM. The mbox buffer must be current when you call this function even if its text is swapped. If the message has a summary line already, it will be stored in the message as a header and simply returned, otherwise the summary line is created, saved in the message header, cached and returned. The current buffer contains the unrestricted message collection. (defalias 'rmail-get-summary #[(msgnum) " SH\211\204 T\304 ! S\nI\210\n)\207" [rmail-summary-vector msgnum line rmail-new-summary-line-count rmail-create-summary-line] 4 (#$ . 15917)]) #@217 Function to decode a Rmail summary line. It receives the summary line for one message as a string and should return the decoded string. By default, it is `rfc2047-decode-string', which decodes MIME-encoded subject. (custom-declare-variable 'rmail-summary-line-decoder '#'rfc2047-decode-string '(#$ . 16514) :type 'function :version "23.3" :group 'rmail-summary) #@253 Return the summary line for message MSGNUM. Obtain the message summary from the header if it is available otherwise create it and store it in the message header. The mbox buffer must be current when you call this function even if its text is swapped. (defalias 'rmail-create-summary-line #[(msgnum) "\306!\307!\310!\311\211\212\312 \203 q\210\203$ \313 \f\"\212\214~\210 b\210\314\315\f\316#\203R `}\210 b\210\314\317P\311\316#\205H \320\321!\322\n $\202U \323!.\207" [msgnum lines unseen deleted end beg rmail-msgbeg rmail-msgend rmail-message-deleted-p nil rmail-buffers-swapped-p count-lines search-forward "\n\n" t ": " looking-at "......U" rmail-create-summary rmail-error-bad-format rmail-view-buffer rmail-summary-line-count-flag rmail-attribute-header] 5 (#$ . 16884)]) #@169 Return a coded string wrapped in curly braces denoting the status. The current buffer must already be narrowed to the message headers for the message being processed. (defalias 'rmail-get-summary-status #[nil "\305!\306\307\310\211\203 \f\306\311O\f\312\313OP\202 \307\fGW\203: \f\211TO\211\314\230\2043 \n PT\211\202 \nG\306V\203F \315\n\316Q\n,\207" [rmail-attribute-header char result index status mail-fetch-field 0 "" nil 1 2 6 "-" "{" "}"] 5 (#$ . 17692)]) (autoload 'rmail-make-label "rmailkwd") #@211 Return a string wrapped in curly braces with the current message labels. Returns nil if there are no labels. The current buffer must already be narrowed to the message headers for the message being processed. (defalias 'rmail-get-summary-labels #[nil "\302!\211\205 \303\230?\205 \304\305\306 \307\"\"\210\310\311 \")\207" [rmail-keyword-header labels mail-fetch-field "" mapc rmail-make-label split-string ", " format "{ %s } "] 6 (#$ . 18219)]) #@359 Return the summary line for message MSGNUM. The current buffer should already be narrowed to the header for that message. It could be either buffer, so don't access Rmail local variables. DELETED is t if this message is marked deleted. UNSEEN is t if it is marked unseen. LINES is the number of lines in the message (if we should display that) or else nil. (defalias 'rmail-create-summary #[(msgnum deleted unseen lines) "eb\210\306 \307 \310\211\211\211\211\211\204 \311\202v \312X\203/ \313\314\"\202v \315X\203>