MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 3.18.102.38
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/mail/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/emacs/24.3/lisp/mail/mail-hist.elc
;ELC
;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:11:42 2024
;;; from file /builddir/build/BUILD/emacs-24.3/lisp/mail/mail-hist.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&\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 #[nil "\300\301\302\"\210\300\303\304\"\207" [local-set-key "\360" mail-hist-previous-input "\356" mail-hist-next-input] 3 (#$ . 784)])
(defalias 'mail-hist-enable #[nil "\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 (#$ . 1201))
(byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\313\306\307&\207" [custom-declare-variable mail-hist-history-size (or kill-ring-max 1729) "The maximum number of elements in a mail field's history.\nOldest elements are dumped first." :type integer :group mail-hist mail-hist-keep-history t "Non-nil means keep a history for headers and text of outgoing mail." boolean] 8)
(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 "^[^:]*:" (#$ . 1859))
#@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 #[nil "`\304 Y?\205)\212\304 \305	\306\307#\310\311\307#\210`S\n\205(\205(\312\n\"\227,\207" [body-start mail-hist-header-regexp name-start name-end mail-text-start re-search-backward nil t search-forward ":" buffer-substring-no-properties] 4 (#$ . 1980)])
(put 'mail-hist-current-header-name 'byte-optimizer 'byte-compile-inline-expand)
#@291 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.
(defalias 'mail-hist-forward-header #[(count) "\304 \211\305V\205V\306\212b\210\307 \210`S)\n\305V\203/\n\305V\203K\310\306#\nS\211\202\nS\211\305W\203E\311\312\306#\nT\211\2023\310\306#\210\313\314!\203T\315u\210	))\207" [boundary unstopped count mail-hist-header-regexp mail-header-end 0 t beginning-of-line re-search-forward re-search-backward nil looking-at "\\s-" 1] 5 (#$ . 2524)])
(put 'mail-hist-forward-header 'byte-optimizer 'byte-compile-inline-expand)
#@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 #[nil "\304\305 \211\306V\205X\307\212	b\210\310 \210`S)\306V\2031\306V\203M\311	\307#S\211\202S\211\306W\203G\312\313\307#T\211\2025\311	\307#\210\314\315!\203V\316u\210\n)*\203\266\316\305 \211\306V\205\264\307\212	b\210\310 \210`S)\306V\203\215\306V\203\251\311	\307#S\211\202{S\211\306W\203\243\312\313\307#T\211\202\221\311	\307#\210\314\315!\203\262\316u\210\n)*\207\316\305 \211\306V\205\307\212	b\210\310 \210`S)\306V\203\347\306V\203\311	\307#S\211\202\325S\211\306W\203\375\312\313\307#T\211\202\353\311	\307#\210\314\315!\203\f\316u\210\n)*\210\304\305 \211\306V\205h\307\212	b\210\310 \210`S)\306V\203A\306V\203]\311	\307#S\211\202/S\211\306W\203W\312\313\307#T\211\202E\311	\307#\210\314\315!\203f\316u\210\n)*\207" [count boundary unstopped mail-hist-header-regexp -1 mail-header-end 0 t beginning-of-line re-search-forward re-search-backward nil looking-at "\\s-" 1] 4 (#$ . 3307)])
(put 'mail-hist-beginning-of-header 'byte-optimizer 'byte-compile-inline-expand)
#@64 Get the contents of the mail header in which point is located.
(defalias 'mail-hist-current-header-contents #[nil "\212\305\306 \211\307V\205Y\310\212	b\210\311 \210`S)\307V\2032\307V\203N\312	\310#S\211\202 S\211\307W\203H\313\314\310#T\211\2026\312	\310#\210\315\316!\203W\317u\210\n)*\203\271\317\306 \211\307V\205\265\310\212	b\210\311 \210`S)\307V\203\216\307V\203\252\312	\310#S\211\202|S\211\307W\203\244\313\314\310#T\211\202\222\312	\310#\210\315\316!\203\263\317u\210\n)*\202l\317\306 \211\307V\205\310\212	b\210\311 \210`S)\307V\203\352\307V\203\312	\310#S\211\202\330S\211\307W\203\313\314\310#T\211\202\356\312	\310#\210\315\316!\203\317u\210\n)*\210\305\306 \211\307V\205k\310\212	b\210\311 \210`S)\307V\203D\307V\203`\312	\310#S\211\2022S\211\307W\203Z\313\314\310#T\211\202H\312	\310#\210\315\316!\203i\317u\210\n)*\210`\317\306 \211\307V\205\307\310\212	b\210\311 \210`S)\307V\203\240\307V\203\274\312	\310#S\211\202\216S\211\307W\203\266\313\314\310#T\211\202\244\312	\310#\210\315\316!\203\305\317u\210\n)*\204\317\306 b\210\311 \210\f`S{*\207" [count boundary unstopped mail-hist-header-regexp start -1 mail-header-end 0 t beginning-of-line re-search-forward re-search-backward nil looking-at "\\s-" 1] 4 (#$ . 4608)])
(put 'mail-hist-current-header-contents 'byte-optimizer 'byte-compile-inline-expand)
#@82 Get HEADER's history ring, or nil if none.
HEADER is a string without the colon.
(defalias 'mail-hist-get-header-ring #[(header) "\227\302	\"A\207" [header mail-hist-header-ring-alist assoc] 3 (#$ . 6066)])
(byte-code "\300\301\302\303#\210\304\305\306\307\310\311\312\313&\207" [put mail-hist-get-header-ring byte-optimizer byte-compile-inline-expand custom-declare-variable mail-hist-text-size-limit nil "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) :group mail-hist] 8)
#@70 Return non-nil if TEXT's length exceeds `mail-hist-text-size-limit'.
(defalias 'mail-hist-text-too-long-p #[(text) "\205	GV\207" [mail-hist-text-size-limit text] 2 (#$ . 6664)])
#@167 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).
(defalias 'mail-hist-add-header-contents-to-ring #[(header &optional contents) "\227	\206\340\212\306\307 \211\310V\205`\311\212b\210\312 \210`S)\n\310V\2039\n\310V\203U\313
\311#\nS\211\202'\nS\211\310W\203O\314
\315\311#\nT\211\202=\313
\311#\210\316\317!\203^\320u\210\f)*\203\300\320\307 \211\310V\205\274\311\212b\210\312 \210`S)\n\310V\203\225\n\310V\203\261\313
\311#\nS\211\202\203\nS\211\310W\203\253\314
\315\311#\nT\211\202\231\313
\311#\210\316\317!\203\272\320u\210\f)*\202s\320\307 \211\310V\205\311\212b\210\312 \210`S)\n\310V\203\361\n\310V\203
\313
\311#\nS\211\202\337\nS\211\310W\203\314
\315\311#\nT\211\202\365\313
\311#\210\316\317!\203\320u\210\f)*\210\306\307 \211\310V\205r\311\212b\210\312 \210`S)\n\310V\203K\n\310V\203g\313
\311#\nS\211\2029\nS\211\310W\203a\314
\315\311#\nT\211\202O\313
\311#\210\316\317!\203p\320u\210\f)*\210`\320\307 \211\310V\205\317\311\212b\210\312 \210`S)\n\310V\203\250\n\310V\203\304\313
\311#\nS\211\202\226\nS\211\310W\203\276\314
\315\311#\nT\211\202\254\313
\311#\210\316\317!\203\315\320u\210\f)*\204\327\307 b\210\312 \210`S{*\321\"A\322!\203\364\323\204\324!BB\325\"*\207" [header contents count boundary unstopped mail-hist-header-regexp -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 start mail-hist-header-ring-alist ring ctnts mail-hist-history-size] 4 (#$ . 6853)])
(put 'mail-hist-add-header-contents-to-ring 'byte-optimizer 'byte-compile-inline-expand)
#@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 #[nil "\205\320\212eb\210\306\307 \211\310V\205`\311\212\nb\210\312 \210`S)	\310V\2039	\310V\203U\313\f\n\311#	S\211\202'	S\211\310W\203O\314\f\315\311#	T\211\202=\313\f\n\311#\210\316\317!\203^\306u\210)*\203\257`\320 Y?\205\223\212\320 \314\f\315\311#\321\322
\311#\210`S\205\222\205\222\323\"\227,\315\211\227\206z\212\324\307 \211\310V\205\372\311\212\nb\210\312 \210`S)	\310V\203\323	\310V\203\357\313\f\n\311#	S\211\202\301	S\211\310W\203\351\314\f\315\311#	T\211\202\327\313\f\n\311#\210\316\317!\203\370\306u\210)*\203Z\306\307 \211\310V\205V\311\212\nb\210\312 \210`S)	\310V\203/	\310V\203K\313\f\n\311#	S\211\202	S\211\310W\203E\314\f\315\311#	T\211\2023\313\f\n\311#\210\316\317!\203T\306u\210)*\202
\306\307 \211\310V\205\262\311\212\nb\210\312 \210`S)	\310V\203\213	\310V\203\247\313\f\n\311#	S\211\202y	S\211\310W\203\241\314\f\315\311#	T\211\202\217\313\f\n\311#\210\316\317!\203\260\306u\210)*\210\324\307 \211\310V\205\f\311\212\nb\210\312 \210`S)	\310V\203\345	\310V\203\313\f\n\311#	S\211\202\323	S\211\310W\203\373\314\f\315\311#	T\211\202\351\313\f\n\311#\210\316\317!\203\n\306u\210)*\210`\306\307 \211\310V\205i\311\212\nb\210\312 \210`S)	\310V\203B	\310V\203^\313\f\n\311#	S\211\2020	S\211\310W\203X\314\f\315\311#	T\211\202F\313\f\n\311#\210\316\317!\203g\306u\210)*\204q\307 b\210\312 \210`S{*\325 \"A!\"\326\"!\203\217\327\"!\204\244\330#!!!B B \331!\"\",\210\202\320 d{$\332$\211\227\206\236\212\324\307 \211\310V\205\311\212\nb\210\312 \210`S)	\310V\203\367	\310V\203\313\f\n\311#	S\211\202\345	S\211\310W\203
\314\f\315\311#	T\211\202\373\313\f\n\311#\210\316\317!\203\306u\210)*\203~\306\307 \211\310V\205z\311\212\nb\210\312 \210`S)	\310V\203S	\310V\203o\313\f\n\311#	S\211\202A	S\211\310W\203i\314\f\315\311#	T\211\202W\313\f\n\311#\210\316\317!\203x\306u\210)*\2021\306\307 \211\310V\205\326\311\212\nb\210\312 \210`S)	\310V\203\257	\310V\203\313\313\f\n\311#	S\211\202\235	S\211\310W\203\305\314\f\315\311#	T\211\202\263\313\f\n\311#\210\316\317!\203\324\306u\210)*\210\324\307 \211\310V\2050\311\212\nb\210\312 \210`S)	\310V\203		\310V\203%\313\f\n\311#	S\211\202\367	S\211\310W\203\314\f\315\311#	T\211\202
\313\f\n\311#\210\316\317!\203.\306u\210)*\210`\306\307 \211\310V\205\215\311\212\nb\210\312 \210`S)	\310V\203f	\310V\203\202\313\f\n\311#	S\211\202T	S\211\310W\203|\314\f\315\311#	T\211\202j\313\f\n\311#\210\316\317!\203\213\306u\210)*\204\225\307 b\210\312 \210`S{*\325 \"A!\"\326\"!\203\263\327\"!\204\310\330#!!!B B \331!\"\".\207" [mail-hist-keep-history count boundary unstopped mail-hist-header-regexp body-start 1 mail-header-end 0 t beginning-of-line re-search-forward re-search-backward nil looking-at "\\s-" mail-text-start search-forward ":" buffer-substring-no-properties -1 assoc mail-hist-text-too-long-p "" make-ring ring-insert "body" name-start name-end contents header start mail-hist-header-ring-alist ring ctnts mail-hist-history-size body-contents] 5 (#$ . 8700)])
#@67 Helper for `mail-hist-previous-input' and `mail-hist-next-input'.
(defalias 'mail-hist-retrieve-and-insert #[(header access-func) "\227\306	\"A\307\n!\f\310=\211\203 \"\202#\311\n\2041\312 \210\313\314\"\202g\315\n!\203>\316\317\"\202g
\203J@A|\210`\320\n\"c\210`B\310\321\230\205fb)+\207" [header mail-hist-header-ring-alist ring len last-command repeat assoc ring-length mail-hist-input-access 0 ding message "No history for \"%s\"." ring-empty-p error "\"%s\" ring is empty" ring-ref "body" access-func mail-hist-access-count mail-hist-last-bounds start this-command] 4 (#$ . 12181)])
#@281 Insert the previous contents of this mail header or message body.
Moves back through the history of sent mail messages.  Each header has
its own independent history, as does the body of the message.

The history only contains the contents of outgoing messages, not
received mail.
(defalias 'mail-hist-previous-input #[(header) "\301\302\"\207" [header mail-hist-retrieve-and-insert ring-plus1] 3 (#$ . 12818) (list (or (mail-hist-current-header-name) "body"))])
#@427 Insert next contents of this mail header or message body.
Moves back through the history of sent mail messages.  Each header has
its own independent history, as does the body of the message.

Although you can do so, it does not make much sense to call this
without having called `mail-hist-previous-header' first
(\[mail-hist-previous-header]).

The history only contains the contents of outgoing messages, not
received mail.
(defalias 'mail-hist-next-input #[(header) "\301\302\"\207" [header mail-hist-retrieve-and-insert ring-minus1] 3 (#$ . 13288) (list (or (mail-hist-current-header-name) "body"))])
(provide 'mail-hist)

MMCT - 2023