| Server IP : 217.160.0.212 / Your IP : 216.73.216.141 Web Server : Apache System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64 User : sws1073854427 ( 1073854427) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/mail/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301!\210\300\302!\210\303\304\305\306\307\310\311\312&\207" [require ring sendmail custom-declare-group mail-hist nil "Headers and message body history for outgoing mail." :prefix "mail-hist-" :group mail] 8)
#@67 Define keys for accessing mail header history. For use in hooks.
(defalias 'mail-hist-define-keys #[0 "\300\301\302\"\210\300\303\304\"\207" [local-set-key "\360" mail-hist-previous-input "\356" mail-hist-next-input] 3 (#$ . 311)])
(defalias 'mail-hist-enable #[0 "\300\301\302\"\210\300\303\304\"\207" [add-hook mail-mode-hook mail-hist-define-keys mail-send-hook mail-hist-put-headers-into-history] 3])
#@136 Alist of form (header-name . history-ring).
Used for knowing which history list to look in when the user asks for
previous/next input.
(defvar mail-hist-header-ring-alist nil (#$ . 724))
(byte-code "\300\301\302\303\304DD\305\306\307%\210\300\310\302\303\311DD\312\306\313%\207" [custom-declare-variable mail-hist-history-size funcall function #[0 "\206 \301\207" [kill-ring-max 1729] 1 #1=""] "The maximum number of elements in a mail field's history.\nOldest elements are dumped first." :type integer mail-hist-keep-history #[0 "\300\207" [t] 1 #1#] "Non-nil means keep a history for headers and text of outgoing mail." boolean] 6)
(defvar mail-hist-access-count 0)
(defvar mail-hist-last-bounds nil)
#@60 Regular expression for matching headers in a mail message.
(defvar mail-hist-header-regexp "^[^:]*:" (#$ . 1435))
#@150 Get name of mail header point is currently in, without the colon.
Returns nil if not in a header, implying that point is in the body of
the message.
(defalias 'mail-hist-current-header-name #[0 "`\301 Y?\205( \212\301 \302\303\304#\305\306\304#\210`S\205% \211\205% \307\"\227\266\203)\207" [mail-hist-header-regexp mail-text-start re-search-backward nil t search-forward ":" buffer-substring-no-properties] 6 (#$ . 1556)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put mail-hist-current-header-name speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@303 Move forward COUNT headers (backward if COUNT is negative).
If last/first header is encountered first, stop there and returns
nil.
Places point on the first non-whitespace on the line following the
colon after the header name, or on the second space following that if
the header is empty.
(fn COUNT)
(defalias 'mail-hist-forward-header #[257 "\301 \211\302V\205Y \303\212b\210\304 \210`S)\262\302V\203/ \302V\203M \305\303#\262S\262\202 S\262\302W\203G \306\307\303#\262T\262\2023 \305\303#\210\310\311!\203V \312u\210\211\262\207" [mail-hist-header-regexp mail-header-end 0 t beginning-of-line re-search-forward re-search-backward nil looking-at "\\s-" 1] 7 (#$ . 2147)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put mail-hist-forward-header speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@176 Move to the start of the current header.
The start of the current header is defined as one space after the
colon, or just after the colon if it is not followed by whitespace.
(defalias 'mail-hist-beginning-of-header #[0 "\301\302 \211\303V\205Z \304\212b\210\305 \210`S)\262\303V\2030 \303V\203N \306\304#\262S\262\202 S\262\303W\203H \307\310\304#\262T\262\2024 \306\304#\210\311\312!\203W \313u\210\211\262\266\202\203\272 \313\302 \211\303V\205\271 \304\212b\210\305 \210`S)\262\303V\203\217 \303V\203\255 \306\304#\262S\262\202{ S\262\303W\203\247 \307\310\304#\262T\262\202\223 \306\304#\210\311\312!\203\266 \313u\210\211\262\207\313\302 \211\303V\205\304\212b\210\305 \210`S)\262\303V\203\352 \303V\203\306\304#\262S\262\202\326 S\262\303W\203\307\310\304#\262T\262\202\356 \306\304#\210\311\312!\203\313u\210\211\262\266\301\302 \211\303V\205p\304\212b\210\305 \210`S)\262\303V\203F\303V\203d\306\304#\262S\262\2022S\262\303W\203^\307\310\304#\262T\262\202J\306\304#\210\311\312!\203m\313u\210\211\262\207" [mail-hist-header-regexp -1 mail-header-end 0 t beginning-of-line re-search-forward re-search-backward nil looking-at "\\s-" 1] 7 (#$ . 2999)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put mail-hist-beginning-of-header speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@64 Get the contents of the mail header in which point is located.
(defalias 'mail-hist-current-header-contents #[0 "\212\301\302 \211\303V\205[ \304\212b\210\305 \210`S)\262\303V\2031 \303V\203O \306\304#\262S\262\202 S\262\303W\203I \307\310\304#\262T\262\2025 \306\304#\210\311\312!\203X \313u\210\211\262\266\202\203\277 \313\302 \211\303V\205\272 \304\212b\210\305 \210`S)\262\303V\203\220 \303V\203\256 \306\304#\262S\262\202| S\262\303W\203\250 \307\310\304#\262T\262\202\224 \306\304#\210\311\312!\203\267 \313u\210\211\262\266\202w\313\302 \211\303V\205\304\212b\210\305 \210`S)\262\303V\203\357 \303V\203
\306\304#\262S\262\202\333 S\262\303W\203\307\310\304#\262T\262\202\363 \306\304#\210\311\312!\203\313u\210\211\262\266\301\302 \211\303V\205u\304\212b\210\305 \210`S)\262\303V\203K\303V\203i\306\304#\262S\262\2027S\262\303W\203c\307\310\304#\262T\262\202O\306\304#\210\311\312!\203r\313u\210\211\262\266`\313\302 \211\303V\205\322\304\212b\210\305 \210`S)\262\303V\203\250\303V\203\306\306\304#\262S\262\202\224S\262\303W\203\300\307\310\304#\262T\262\202\254\306\304#\210\311\312!\203\317\313u\210\211\262\266\202\204\333\302 b\210\305 \210\211`S{\262)\207" [mail-hist-header-regexp -1 mail-header-end 0 t beginning-of-line re-search-forward re-search-backward nil looking-at "\\s-" 1] 8 (#$ . 4412)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put mail-hist-current-header-contents speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@95 Get HEADER's history ring, or nil if none.
HEADER is a string without the colon.
(fn HEADER)
(defalias 'mail-hist-get-header-ring #[257 "\211\227\262\301\"A\207" [mail-hist-header-ring-alist assoc] 4 (#$ . 6015)])
(byte-code "\300\301\302\303#\304\301\305\306#\210\307\310\311\312\313DD\314\315\316%\207" [function-put mail-hist-get-header-ring speed -1 put byte-optimizer byte-compile-inline-expand custom-declare-variable mail-hist-text-size-limit funcall function #[0 "\300\207" [nil] 1 ""] "Don't store any header or body with more than this many characters.\nIf the value is nil, that means no limit on text size." :type (choice (const nil) integer)] 7)
#@81 Return non-nil if TEXT's length exceeds `mail-hist-text-size-limit'.
(fn TEXT)
(defalias 'mail-hist-text-too-long-p #[257 "\205 \211GV\207" [mail-hist-text-size-limit] 3 (#$ . 6684)])
#@199 Add the contents of HEADER to the header history ring.
Optional argument CONTENTS is a string which will be the contents
(instead of whatever's found in the header).
(fn HEADER &optional CONTENTS)
(defalias 'mail-hist-add-header-contents-to-ring #[513 "\227\262\211\206\355\212\303\304 \211\305V\205c \306\212b\210\307 \210`S)\262\305V\2039 \305V\203W \310\306#\262S\262\202% S\262\305W\203Q \311\312\306#\262T\262\202= \310\306#\210\313\314!\203` \315u\210\211\262\266\202\203\307 \315\304 \211\305V\205\302 \306\212b\210\307 \210`S)\262\305V\203\230 \305V\203\266 \310\306#\262S\262\202\204 S\262\305W\203\260 \311\312\306#\262T\262\202\234 \310\306#\210\313\314!\203\277 \315u\210\211\262\266\202\315\304 \211\305V\205!\306\212b\210\307 \210`S)\262\305V\203\367 \305V\203\310\306#\262S\262\202\343 S\262\305W\203\311\312\306#\262T\262\202\373 \310\306#\210\313\314!\203\315u\210\211\262\266\303\304 \211\305V\205}\306\212b\210\307 \210`S)\262\305V\203S\305V\203q\310\306#\262S\262\202?S\262\305W\203k\311\312\306#\262T\262\202W\310\306#\210\313\314!\203z\315u\210\211\262\266`\315\304 \211\305V\205\332\306\212b\210\307 \210`S)\262\305V\203\260\305V\203\316\310\306#\262S\262\202\234S\262\305W\203\310\311\312\306#\262T\262\202\264\310\306#\210\313\314!\203\327\315u\210\211\262\266\202\204\343\304 b\210\307 \210\211`S{\262)\316 \"A\317!\203\373\320\262\211\204\n\321\n!\262B B\322\"\207" [mail-hist-header-regexp mail-hist-header-ring-alist mail-hist-history-size -1 mail-header-end 0 t beginning-of-line re-search-forward re-search-backward nil looking-at "\\s-" 1 assoc mail-hist-text-too-long-p "" make-ring ring-insert] 10 (#$ . 6879)])
(byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put mail-hist-add-header-contents-to-ring speed -1 put byte-optimizer byte-compile-inline-expand] 5)
#@212 Put headers and contents of this message into mail header history.
Each header has its own independent history, as does the body of the
message.
This function normally would be called when the message is sent.
(defalias 'mail-hist-put-headers-into-history #[0 "\205\274\212eb\210\304\305 \211\306V\205b \307\212b\210\310 \210`S)\262\306V\2038 \306V\203V \311 \307#\262S\262\202$ S\262\306W\203P \312 \313\307#\262T\262\202<