MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 18.218.164.141
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/mh-e/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/emacs/24.3/lisp/mh-e/mh-comp.elc
;ELC
;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:11:37 2024
;;; from file /builddir/build/BUILD/emacs-24.3/lisp/mh-e/mh-comp.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\300\303!\210\300\304!\210\305\306\307\"\210\305\310\311\"\207" [require mh-e mh-gnus mh-scan sendmail autoload easy-menu-add "easymenu" mml-insert-tag "mml"] 3)
#@89 Name of the MH send program.
Some sites need to change this because of a name conflict.
(defvar mh-send-prog "send" (#$ . 755))
#@321 Non-nil means "send" uses "spost" to submit messages.

If the value of "postproc:" is "spost", you may need to set
this variable to t to tell MH-E to avoid using features of
"post" that are not supported by "spost". You'll know that
you'll need to do this if sending mail fails with an error of
"spost: -msgid unknown".
(defvar mh-send-uses-spost-flag nil (#$ . 890))
#@139 If non-nil redist will be done in background like send.
This allows transaction log to be visible if -watch, -verbose or
-snoop are used.
(defvar mh-redist-background nil (#$ . 1265))
#@216 Name of file to be used as a skeleton for composing messages.

Default is "components".

If not an absolute file name, the file is searched for first in the
user's MH directory, then in the system MH lib directory.
(defvar mh-comp-formfile "components" (#$ . 1456))
#@217 Name of file to be used as a skeleton for replying to messages.

Default is "replcomps".

If not an absolute file name, the file is searched for first in the
user's MH directory, then in the system MH lib directory.
(defvar mh-repl-formfile "replcomps" (#$ . 1729))
#@350 Name of file to be used as a skeleton for replying to messages.

Default is "replgroupcomps".

This file is used to form replies to the sender and all recipients of
a message. Only used if `(mh-variant-p 'nmh)' is non-nil.
If not an absolute file name, the file is searched for first in the
user's MH directory, then in the system MH lib directory.
(defvar mh-repl-group-formfile "replgroupcomps" (#$ . 2002))
(defvar mh-rejected-letter-start (format "^%s$" "\\(?: \\(?: \\(?: \\(?: Your message follows:\\|----- \\(?:\\(?:Original\\|Unsent\\) message follows -----\\)\\)\\|--- The unsent message follows ---\\)\\|--------Unsent Message below:\\)\\|---\\(?: Below this line is a copy of the message\\.\\|---\\(?: This is a copy of the message, including all the headers\\. ------\\|-\\(?: Unsent Draft\\|---  Original Message  ----------\\)\\)\\)\\|Content-\\(?:Description: Returned Content\\|Type: message/rfc822\\)\\)"))
#@168 Regexp of header lines to remove before offering a message as a new draft\<mh-folder-mode-map>.
Used by the \[mh-edit-again] and \[mh-extract-rejected-mail] commands.
(defvar mh-new-draft-cleaned-headers "^Date:\\|^Received:\\|^Message-Id:\\|^From:\\|^Sender:\\|^Errors-To:\\|^Delivery-Date:\\|^Return-Path:" (#$ . 2933))
#@52 Syntax table used by MH-E while in MH-Letter mode.
(defvar mh-letter-mode-syntax-table (byte-code "\302!\303\304\305	#\210	)\207" [text-mode-syntax-table syntax-table make-syntax-table modify-syntax-entry 37 "."] 4) (#$ . 3261))
#@39 Extra args to pass to "send" command.
(defvar mh-send-args "" (#$ . 3498))
#@50 Character to use to annotate `mh-sent-from-msg'.
(defvar mh-annotate-char nil (#$ . 3579))
#@36 Field name for message annotation.
(defvar mh-annotate-field nil (#$ . 3676))
#@127 Messages annotated, either a sequence name or a list of message numbers.
This variable can be used by `mh-annotate-msg-hook'.
(defvar mh-annotate-list nil (#$ . 3761))
#@77 Buffer-local variable set when `mh-insert-auto-fields' called successfully.
(defvar mh-insert-auto-fields-done-local nil (#$ . 3935))
(make-variable-buffer-local 'mh-insert-auto-fields-done-local)
#@94 Compose a message with the MH mail system.
See `mh-send' for more details on composing mail.
(defalias 'mh-smail #[nil "\300 \210\301\302!\207" [mh-find-path call-interactively mh-send] 2 (#$ . 4138) nil])
#@110 Compose a message with the MH mail system in other window.
See `mh-send' for more details on composing mail.
(defalias 'mh-smail-other-window #[nil "\300 \210\301\302!\207" [mh-find-path call-interactively mh-send-other-window] 2 (#$ . 4351) nil])
#@143 Compose a message in another window.

See `mh-send' for more information and a description of how the
TO, CC, and SUBJECT arguments are used.
(defalias 'mh-send-other-window #[(to cc subject) "\304\305	\n\306 $)\207" [pop-up-windows to cc subject t mh-send-sub current-window-configuration] 5 (#$ . 4606) (list (mh-interactive-read-address "To: ") (mh-interactive-read-address "Cc: ") (mh-interactive-read-string "Subject: "))])
(defvar mh-error-if-no-draft nil)
#@454 Compose a message with the MH mail system.

This function does not prompt the user for any header fields, and
thus is suitable for use by programs that want to create a mail
buffer. Users should use \[mh-smail] to compose mail.

Optional arguments for setting certain fields include TO,
SUBJECT, and OTHER-HEADERS. Additional arguments are IGNORED.

This function remains for Emacs 21 compatibility. New
applications should use `mh-user-agent-compose'.
(defalias 'mh-smail-batch #[(&optional to subject other-headers &rest ignored) "\303 \210\304\305	\206\306\306\n\206\306#)\207" [mh-error-if-no-draft to subject mh-find-path t mh-send ""] 4 (#$ . 5078)])
(define-mail-user-agent 'mh-e-user-agent 'mh-user-agent-compose 'mh-send-letter 'mh-fully-kill-draft 'mh-before-send-letter-hook)
#@626 Set up mail composition draft with the MH mail system.
This is the `mail-user-agent' entry point to MH-E. This function
conforms to the contract specified by `define-mail-user-agent'
which means that this function should accept the same arguments
as `compose-mail'.

The optional arguments TO and SUBJECT specify recipients and the
initial Subject field, respectively.

OTHER-HEADERS is an alist specifying additional header fields.
Elements look like (HEADER . VALUE) where both HEADER and VALUE
are strings.

CONTINUE, SWITCH-FUNCTION, YANK-ACTION, SEND-ACTIONS, and
RETURN-ACTION and any additional arguments are IGNORED.
(defalias 'mh-user-agent-compose #[(&optional to subject other-headers continue switch-function yank-action send-actions return-action &rest ignored) "\304 \210\305\306	\307\n#\210\205\"\310@@\311P@A\"\210A\211\204\312)\207" [mh-error-if-no-draft to subject other-headers mh-find-path t mh-send "" mh-insert-fields ":" nil] 5 (#$ . 5877)])
#@1013 Save draft and send message.

When you are all through editing a message, you send it with this
command. You can give a prefix argument ARG to monitor the first stage
of the delivery; this output can be found in a buffer called "*MH-E
Mail Delivery*".

The hook `mh-before-send-letter-hook' is run at the beginning of
this command. For example, if you want to check your spelling in
your message before sending, add the function `ispell-message'.

Unless `mh-insert-auto-fields' had previously been called
manually, the function `mh-insert-auto-fields' is called to
insert fields based upon the recipients. If fields are added, you
are given a chance to see and to confirm these fields before the
message is actually sent. You can do away with this confirmation
by turning off the option `mh-auto-fields-prompt-flag'.

In case the MH "send" program is installed under a different name,
use `mh-send-prog' to tell MH-E the name.

The hook `mh-annotate-msg-hook' is run after annotating the
message and scan line.
(defalias 'mh-send-letter #[(&optional arg) "\306\307!\210\310\311!\203\203eb\203\312\313!\204\314\315!\210\316 \203(\317 \210\2025\320 \2042\321 \2045\322 \210\323 \210\324\325!\210p	\n\326\303p\"\203P\327>\204P\202g\330\304!\203Z\f\206g\331\303!\203f\332\303!\206g\333<=>?\204\221\334@P@\335\336!\203\221\337\340!\203\221\337\341!\203\221\342@P@A\203\274\343B!\210\344 \210\345C\311\346\347\350\351@!=&\210db\210\352\353!\210>q\210\202\313\354C\355\346\356\351@!=&\210D\203\347\357EFD\360G\361\362\363\364\365!\364\366!#&\210A\203\362\312\367!\203\370>!\210<\203\371<!\210A\203\f\324\372!\202\324\373!,\207" [mh-auto-fields-prompt-flag buffer-file-name mh-previous-window-config buffer-file-coding-system sendmail-coding-system coding-system-for-write run-hooks mh-before-send-letter-hook mh-insert-auto-fields t y-or-n-p "Auto fields inserted, send? " error "Send aborted" mh-mh-directive-present-p mh-mh-to-mime mh-mml-tag-present-p mh-ascii-buffer-p mh-mml-to-mime save-buffer message "Sending..." local-variable-p (undecided undecided-unix undecided-dos) boundp default-boundp default-value iso-latin-1 "-msgid " mh-variant-p nmh mh-goto-header-field "Bcc:" "Content-Type:" "-mime " pop-to-buffer erase-buffer mh-exec-cmd-output "-nodraftfolder" "-watch" "-nopush" split-string recenter -1 mh-exec-cmd-daemon nil "-noverbose" mh-annotate-msg "-component" "-text" format "\"%s %s\"" mh-get-header-field "To:" "Cc:" "Kill draft buffer? " kill-buffer set-window-configuration "Sending...done" "Sending...backgrounded" config file-name draft-buffer mh-send-uses-spost-flag mh-send-args arg mh-mail-delivery-buffer mh-send-prog mh-annotate-char mh-sent-from-msg mh-sent-from-folder mh-annotate-field] 12 (#$ . 6859) "P"])
#@252 Quit editing and delete draft message.

If for some reason you are not happy with the draft, you can use
this command to kill the draft buffer and delete the draft
message. Use the command \[kill-buffer] if you don't want to
delete the draft message.
(defalias 'mh-fully-kill-draft #[nil "\303\304!\203(\305\n!\203\306\n!\210\307\310!\210\311\312 !\210\313\314!\210	\205&\315	!)\207\316\317!\207" [mh-previous-window-config config buffer-file-name y-or-n-p "Kill draft message? " file-exists-p delete-file set-buffer-modified-p nil kill-buffer buffer-name message "" set-window-configuration error "Message not killed"] 2 (#$ . 9669) nil])
#@837 Edit a MESSAGE to send it again.

If you don't complete a draft for one reason or another, and if
the draft buffer is no longer available, you can pick your draft
up again with this command. If you don't use a draft folder, your
last "draft" file will be used. If you use draft folders,
you'll need to visit the draft folder with "\[mh-visit-folder]
drafts <RET>", use \[mh-next-undeleted-msg] to move to the
appropriate message, and then use \[mh-edit-again] to prepare
the message for editing.

This command can also be used to take messages that were sent to
you and to send them to more people.

Don't use this command to re-edit a message from a Mailer-Daemon
who complained that your mail wasn't posted for some reason or
another (see `mh-extract-rejected-mail').

The default message is the current message.

See also `mh-send'.
(defalias 'mh-edit-again #[(message) "\306 \2035	\232\2035\307\310\311\f!!\312\"\210\313\314\315\f\"!\210\316\317=\2030\320 \210\321!\210\322 \202<\323\324\311\f!\316#\325e\316#\210\326 \210eb\210\327 \210\330\331	\316\211\211\211\211\211\n&\n\210\332 \210\333 +\207" [mh-current-folder from-folder config mh-draft-folder message buffer-read-only current-window-configuration pop-to-buffer find-file-noselect mh-msg-filename t rename-buffer format "draft-%d" nil mh-show-mode erase-buffer insert-file-contents buffer-name mh-read-draft "clean-up" mh-clean-msg-header mh-insert-header-separator save-buffer mh-compose-and-send-mail "" mh-letter-mode-message mh-letter-adjust-point major-mode buffer-file-name draft mh-new-draft-cleaned-headers] 11 (#$ . 10322) (list (mh-get-msg-num t))])
#@326 Edit a MESSAGE that was returned by the mail system.

This command prepares the message for editing by removing the
Mailer-Daemon envelope and unneeded header fields. Fix whatever
addressing problem you had, and send the message again with
\[mh-send-letter].

The default message is the current message.

See also `mh-send'.
(defalias 'mh-extract-rejected-mail #[(message) "\306 \307\310\311	!\312#eb\210\313
\312\314#\203*\315\312w\210e`|\210\316e\312#\210\202.\301\317!\210\320 \210eb\210\321 \210\322\n\323\f	\324\325!\324\326!\324\327!\312\211&\n\210\330 +\207" [mh-current-folder message draft config from-folder mh-rejected-letter-start current-window-configuration mh-read-draft "extraction" mh-msg-filename nil re-search-forward t " 	\n" mh-clean-msg-header "Does not appear to be a rejected letter" mh-insert-header-separator save-buffer mh-compose-and-send-mail "" mh-get-header-field "To:" "From:" "Cc:" mh-letter-mode-message mh-new-draft-cleaned-headers] 11 (#$ . 11973) (list (mh-get-msg-num t))])
#@538 Forward message.

You are prompted for the TO and CC recipients. You are given a
draft to edit that looks like it would if you had run the MH
command "forw". You can then add some text.

You can forward several messages by using a RANGE. All of the
messages in the range are inserted into your draft. Check the
documentation of `mh-interactive-range' to see how RANGE is read
in interactive use.

The hook `mh-forward-hook' is called on the draft.

See also `mh-compose-forward-as-mime-flag',
`mh-forward-subject-format', and `mh-send'.
(defalias 'mh-forward #[(to cc &optional range) "\306\n!\307 \310@	\"\311\312=\">\313>!\203#\314\315!\203M\316\317\320\321\322!\2052?\2052\323\324!%\210\325\326>\327#\330\331@\332A$\210\333 \210\202S\325\326>\334#B\334\211CDr\335E!q\210\336 \210\337
!\210\340\341!D\340\342!C)\343DC\"F\330\342F\"\210eb\210G\344\232\203\356\212\345 b\210\346\347d\327#\203\355\350\351!\352\232\203\245\353\202\250\350\351!\354\350\355!!\356HI\357 \210`\351y\210`|\210\334J\211K\203\351K@JHTH\360\361IH\"	J#\210db\210KA\211K\204\307-\202\221)\346\362\334\327#\203\374\363y\210\202\345 b\210\351y\210\364 \210\365\366\327#\210\367B\326	@FAL\370\f&\n\210\371 \210\372 \210\373\374!.	\207" [mh-current-folder folder range msgs config fwd-msg-file mh-range-to-msg-list current-window-configuration mh-msg-filename expand-file-name "draft" file-exists-p y-or-n-p "The file draft exists; discard it? " mh-exec-cmd "forw" "-build" mh-variant-p nmh "-mime" mh-coalesce-msg-list mh-read-draft "" t mh-insert-fields "To:" "Cc:" save-buffer nil get-buffer-create erase-buffer insert-file-contents mh-get-header-field "From:" "Subject:" mh-forwarded-letter-subject mml mh-mail-header-end re-search-forward "^#forw \\[\\([^]]+\\)\\] \\(+\\S-+\\) \\(.*\\)$" match-string 1 "forwarded messages" "forwarded message %d" split-string 3 0 beginning-of-line mh-mml-forward-message format "^------- Forwarded Message" -1 delete-other-windows mh-add-msgs-to-seq forwarded mh-compose-and-send-mail "Forwarded:" mh-letter-mode-message mh-letter-adjust-point run-hooks mh-forward-hook mh-user-path draft-name mh-compose-forward-as-mime-flag to cc draft orig-subject orig-from mh-temp-buffer forw-subject mh-compose-insertion i description msg --dolist-tail-- mh-note-forw] 12 (#$ . 13001) (list (mh-interactive-read-address "To: ") (mh-interactive-read-address "Cc: ") (mh-interactive-range "Forward"))])
#@99 Return a Subject suitable for a forwarded message.
Original message has headers FROM and SUBJECT.
(defalias 'mh-forwarded-letter-subject #[(from subject) "\305\306\"\305\307\"\211\203\n\310V\203\310\nSO\202)	\203)	TGSO*\311\f#\207" [from comment addr-start mh-forward-subject-format subject string-match "<" "(" 0 format] 5 (#$ . 15470)])
#@597 Redistribute a message.

This command is similar in function to forwarding mail, but it
does not allow you to edit the message, nor does it add your name
to the "From" header field. It appears to the recipient as if
the message had come from the original sender. When you run this
command, you are prompted for the TO and CC recipients. The
default MESSAGE is the current message.

Also investigate the command \[mh-edit-again] for another way to
redistribute messages.

See also `mh-redist-full-contents-flag'.

The hook `mh-annotate-msg-hook' is run after annotating the
message and scan line.
(defalias 'mh-redistribute #[(to cc &optional message) "\204\306\307!\310 \311\216\n\312\313\205\314!\315#\316\317!\210\320&\321\261\210'\322\232\2044\323'\321\261\210\324e\325\315#\210\326 \210\300\327!\210\330\211(\331\203O)\202S\314
\"Q(\204`(\332P(*\203r\333(+\315)$\210\202|\334(+\335)$\210\336
,\337\340\341\342\343&'#&\210)\344\f!\210\300\345!,\207" [message #1=#:wconfig mh-current-folder mh-redist-full-contents-flag draft folder mh-get-msg-num t current-window-configuration ((set-window-configuration #1#)) mh-read-draft "redistribution" mh-msg-filename nil mh-goto-header-end 0 "Resent-To: " "\n" "" "Resent-cc: " mh-clean-msg-header "^Message-Id:\\|^Received:\\|^Return-Path:\\|^Sender:\\|^Date:\\|^From:" save-buffer "Redistributing..." "mhdist=1" " mhaltmsg=" " mhannotate=1" mh-exec-cmd-env-daemon mh-exec-cmd-error "-push" mh-annotate-msg "-component" "Resent:" "-text" format "\"%s %s\"" kill-buffer "Redistributing...done" to cc env buffer-file-name mh-redist-background mh-send-prog mh-note-dist] 12 (#$ . 15833) (list (mh-read-address "Redist-To: ") (mh-read-address "Redist-Cc: ") (mh-get-msg-num t))])
#@1967 Reply to a MESSAGE.

When you reply to a message, you are first prompted with "Reply
to whom?" (unless the optional argument REPLY-TO is provided).
You have several choices here.

     Response     Reply Goes To

     from         The person who sent the message. This is the
                  default, so <RET> is sufficient.

     to           Replies to the sender, plus all recipients in the
                  "To:" header field.

     all cc       Forms a reply to the addresses in the
                  "Mail-Followup-To:" header field if one
                  exists; otherwise forms a reply to the sender,
                  plus all recipients.

Depending on your answer, "repl" is given a different argument
to form your reply. Specifically, a choice of "from" or none at
all runs "repl -nocc all", and a choice of "to" runs "repl
-cc to". Finally, either "cc" or "all" runs "repl -cc all
-nocc me".

Two windows are then created. One window contains the message to
which you are replying in an MH-Show buffer. Your draft, in
MH-Letter mode (*note `mh-letter-mode'), is in the other window.
If the reply draft was not one that you expected, check the
things that affect the behavior of "repl" which include the
"repl:" profile component and the "replcomps" and
"replgroupcomps" files.

If you supply a prefix argument INCLUDEP, the message you are
replying to is inserted in your reply after having first been run
through "mhl" with the format file "mhl.reply".

Alternatively, you can customize the option `mh-yank-behavior'
and choose one of its "Automatically" variants to do the same
thing. If you do so, the prefix argument has no effect.

Another way to include the message automatically in your draft is
to use "repl: -filter repl.filter" in your MH profile.

If you wish to customize the header or other parts of the reply
draft, please see "repl" and "mh-format".

See also `mh-reply-show-message-flag',
`mh-reply-default-reply-to', and `mh-send'.
(defalias 'mh-reply #[(message &optional reply-to includep) "\n\306 
\307\232\206
\310\232:\311\312\313\"\203):\203);;\203);\2025<;\2034<\2025\314=\315\316!\210\317\320\321\322\323=\205I\324=D

\325\232\204X
\326\232\203\\\327\202w
\330\232\203f\331\202w:\205w\311\312\313\"\203v\332\202w\333>\334=\204\205>\335=\203\211\336\202\223?\203\222\337\202\223\314&	\210\340\341\342\341@\"\343#A\344 \210\345 \210\346\347!\346\350!\346\351!BCDeb\210\352\353!\210?\204\341E\203\341\354 F\355!\210G\203\330\356p!\210\357\216\360
	\"\210*\361
\362\343#\210\315\363!\210\364A\326	
DCBH\365\f&\n\210+>\334=\204>\335=\203\366 I=\203\367 \210\370 \210\371 .\207" [mh-current-folder folder mh-show-buffer show-buffer config reply-to current-window-configuration "cc" "all" mh-variant-p nmh gnu-mh nil message "Composing a reply..." mh-exec-cmd "repl" "-build" "-noquery" "-nodraftfolder" "-form" "from" "" ("-nocc" "all") "to" ("-cc" "to") ("-group" "-nocc" "me") ("-cc" "all" "-nocc" "me") autosupercite autoattrib ("-noformat") ("-filter" "mhl.reply") mh-read-draft "reply" expand-file-name t delete-other-windows save-buffer mh-get-header-field "To:" "Subject:" "Cc:" mh-goto-header-end 1 selected-window switch-to-buffer-other-window bury-buffer ((select-window mh-in-show-buffer-saved-window)) mh-display-msg mh-add-msgs-to-seq answered "Composing a reply...done" mh-compose-and-send-mail "Replied:" mh-show-buffer-message-number undo-boundary mh-yank-cur-msg mh-letter-mode-message group-reply mh-repl-group-formfile mh-repl-formfile form-file mh-yank-behavior includep mh-user-path draft cc subject to mh-reply-show-message-flag mh-in-show-buffer-saved-window mh-bury-show-buffer-flag mh-note-repl mh-sent-from-msg] 11 (#$ . 17604) (list (mh-get-msg-num t) (let ((minibuffer-help-form "from => Sender only\nto => Sender and primary recipients\ncc or all => Sender and all recipients")) (or mh-reply-default-reply-to (completing-read "Reply to whom (default from): " '(("from") ("to") ("cc") ("all")) nil t))) current-prefix-arg)])
#@529 Compose a message.

Your letter appears in an Emacs buffer whose mode is
MH-Letter (see `mh-letter-mode').

The arguments TO, CC, and SUBJECT can be used to prefill the
draft fields or suppress the prompts if `mh-compose-prompt-flag'
is on. They are also passed to the function set in the option
`mh-compose-letter-function'.

See also `mh-insert-x-mailer-flag' and `mh-letter-mode-hook'.

Outside of an MH-Folder buffer (`mh-folder-mode'), you must call
either \[mh-smail] or \[mh-smail-other-window] to compose a new
message.
(defalias 'mh-send #[(to cc subject) "\304 \305 \210\306	\n$)\207" [config to cc subject current-window-configuration delete-other-windows mh-send-sub] 5 (#$ . 21672) (list (mh-interactive-read-address "To: ") (mh-interactive-read-address "Cc: ") (mh-interactive-read-string "Subject: "))])
#@127 Read an address.
If `mh-compose-prompt-flag' is non-nil, then read an address with
PROMPT.
Otherwise return the empty string.
(defalias 'mh-interactive-read-address #[(prompt) "\203\302	!\207\303\207" [mh-compose-prompt-flag prompt mh-read-address ""] 2 (#$ . 22501)])
#@123 Read a string.
If `mh-compose-prompt-flag' is non-nil, then read a string with
PROMPT.
Otherwise return the empty string.
(defalias 'mh-interactive-read-string #[(prompt) "\203\302	!\207\303\207" [mh-compose-prompt-flag prompt read-string ""] 2 (#$ . 22780)])
#@340 Message number of displayed message in corresponding show buffer.

Return nil if show buffer not displayed.
If in `mh-letter-mode', don't display the message number being replied
to, but rather the message number of the show buffer associated with
our originating folder buffer.
Optional argument BUFFER can be used to specify the buffer.
(defalias 'mh-show-buffer-message-number #[(&optional buffer) "\212\203q\210	\306=\203\307\310\n\"\311\nT\312O!)\202K	\313=\2034\f\2034\314\f!\2034\315\f!\202K	\316=\203J
\203J\314
!\203J\315
!\202K\312)\207" [buffer major-mode buffer-file-name number-start mh-show-buffer mh-sent-from-folder mh-show-mode mh-search-from-end 47 string-to-number nil mh-folder-mode get-buffer mh-show-buffer-message-number mh-letter-mode] 4 (#$ . 23050)])
#@162 Do the real work of composing and sending a letter.
Expects the TO, CC, and SUBJECT fields as arguments.
CONFIG is the window configuration before sending mail.
(defalias 'mh-send-sub #[(to cc subject config) "\306\307!\310\311!\210\312\313\307\314\315\f
\"\211!\203\2024\314\315\f\"\211!\203-\2024\316\317\f
$)\307#\320\321\322\323&\210db\210\324\325\n	\307\211&\n\210\326 \210\327 +\207" [mh-current-folder msg-num folder components mh-comp-formfile mh-user-path mh-get-msg-num nil message "Composing a message..." mh-read-draft "message" file-exists-p expand-file-name error "Can't find %s in %s or %s" mh-insert-fields "To:" "Subject:" "Cc:" mh-compose-and-send-mail "" mh-letter-mode-message mh-letter-adjust-point mh-lib draft to subject cc config] 11 (#$ . 23851)])
#@514 Read draft file into a draft buffer and make that buffer the current one.

USE is a message used for prompting about the intended use of the
message.
INITIAL-CONTENTS is filename that is read into an empty buffer, or nil
if buffer should not be modified. Delete the initial-contents file if
DELETE-CONTENTS-FILE flag is set.
Returns the draft folder's name.
If the draft folder facility is enabled in ~/.mh_profile, a new buffer
is used each time and saved in the draft folder. The draft file can
then be reused.
(defalias 'mh-read-draft #[(use initial-contents delete-contents-file) "\203	\306 \307\310\311\312\313\n!\"!!\210\314\315\316\217\210*\202]\317\320\f\"\307\320!\210\321 \203>\322\323!\203:\324\314!\210\202>\325\326!\210
&\327 \210\330 \210\331
!\203\\
'\232\204\\\332
!\210\333
!\210)'\203\224\334\335 !\204\202\322\311\336(\"!\203~)\203\224\325\337!\202\340\203\224\341 \210\332'!\210*\203\224\333'!\210\342\343!\210\203\237\344 \210\345 \207" [mh-draft-folder default-directory draft-file-name orig-default-dir mh-user-path draft-name mh-new-draft-name pop-to-buffer generate-new-buffer format "draft-%s" file-name-nondirectory nil (insert-file-contents draft-file-name t) ((file-error)) expand-file-name "draft" buffer-modified-p y-or-n-p "Draft has been modified; kill anyway? " set-buffer-modified-p error "Draft preserved" clear-visited-file-modtime unlock-buffer file-exists-p insert-file-contents delete-file zerop buffer-size "A draft exists.  Use for %s? " "A prior draft exists" t erase-buffer auto-save-mode 1 save-buffer buffer-name buffer-file-name initial-contents use mh-error-if-no-draft delete-contents-file] 6 (#$ . 24667)])
#@51 Return the pathname of folder for draft messages.
(defalias 'mh-new-draft-name #[nil "\212\301\302\303\304$\210edS{)\207" [mh-draft-folder mh-exec-cmd-quiet t "mhpath" "new"] 5 (#$ . 26362)])
#@155 Insert the NAME-VALUES pairs in the current buffer.
If the field exists, append the value to it.
Do not insert any pairs whose value is the empty string.
(defalias 'mh-insert-fields #[(&rest name-values) "\304	\205C	@	A@\305\306\"\204\307P\n\203;\n\310\232\204;\311!\2034\312\n\206.\310\261\210\202;\312\n\313\261\210	AA*\202)\207" [case-fold-search name-values value field-name t string-match "^.*:$" ":" "" mh-position-on-field " " "\n"] 4 (#$ . 26562)])
#@596 Edit and compose a draft message in buffer DRAFT and send or save it.
SEND-ARGS is the argument passed to the send command.
SENT-FROM-FOLDER is buffer containing scan listing of current folder,
or nil if none exists.
SENT-FROM-MSG is the message number or sequence name or nil.
The TO, SUBJECT, and CC fields are passed to the
`mh-compose-letter-function'.
If ANNOTATE-CHAR is non-null, it is used to notate the scan listing of
the message. In that case, the ANNOTATE-FIELD is used to build a
string for `mh-annotate-msg'.
CONFIG is the window configuration to restore after sending the
letter.
(defalias 'mh-compose-and-send-mail #[(draft send-args sent-from-folder sent-from-msg to subject cc annotate-char annotate-field config) "\306!\210\307 \210\310	\311\"\210\312 \210\313 \210\314 \210\315 \210\316 \210\317 \210\n\f\320C \321 \210\322\323\324\325\311$\210\326\327!\"#$\207" [draft mh-identity-default sent-from-folder mh-sent-from-folder sent-from-msg mh-sent-from-msg pop-to-buffer mh-letter-mode mh-insert-identity t mh-identity-make-menu mh-identity-add-menu mh-decode-message-subject mh-insert-x-mailer mh-insert-x-face mh-letter-hide-all-skipped-fields "    {%b}" mh-logo-display add-hook kill-buffer-hook mh-tidy-draft-buffer nil run-hook-with-args mh-compose-letter-function send-args mh-send-args annotate-char mh-annotate-char annotate-field mh-annotate-field config mh-previous-window-config mode-line-buffer-identification to subject cc] 5 (#$ . 27047)])
#@88 Append an X-Mailer field to the header.
The versions of MH-E, Emacs, and MH are shown.
(defalias 'mh-insert-x-mailer #[nil "\203	\204\305\306\n\307\310\311\f\"\210\312\313\f\"%\212\205(\314\315!?\205(\316\317	\")\207" [mh-insert-x-mailer-flag mh-x-mailer-string mh-version mh-variant-in-use emacs-version format "MH-E %s; %s; %sEmacs %s" "GNU " string-match "[0-9]+\\.[0-9]+\\(\\.[0-9]+\\)?" match-string 0 mh-goto-header-field "X-Mailer" mh-insert-fields "X-Mailer:"] 8 (#$ . 28551)])
#@110 Append X-Face, Face or X-Image-URL field to header.
If the field already exists, this function does nothing.
(defalias 'mh-insert-x-face #[nil "\302!\205A\303!\205A\212\304\305!\206\304\306!\206\304\307!?\205@\212`\310!\211A@)\\b\210\311\312!\2046\313c\210)\311\314!?\205@\315c)\207" [mh-x-face-file x file-exists-p file-readable-p mh-position-on-field "X-Face" "Face" "X-Image-URL" insert-file-contents looking-at "^" "\n" "\\(X-Face\\|Face\\|X-Image-URL\\): " "X-Face: "] 4 (#$ . 29054)])
#@39 Run when a draft buffer is destroyed.
(defalias 'mh-tidy-draft-buffer #[nil "\302!\211\205\303	!)\207" [mh-recipients-buffer buffer get-buffer kill-buffer] 3 (#$ . 29564)])
#@121 Display a help message for users of `mh-letter-mode'.
This should be the last function called when composing the draft.
(defalias 'mh-letter-mode-message #[nil "\300\301\302\303!\"\207" [message "%s" substitute-command-keys "Type \\[mh-send-letter] to send message, \\[mh-help] for help"] 4 (#$ . 29748)])
#@68 Move cursor to first header field if are using the no prompt mode.
(defalias 'mh-letter-adjust-point #[nil "?\205\ndb\210\301 \207" [mh-compose-prompt-flag mh-letter-next-header-field] 1 (#$ . 30060)])
#@248 Mark MSG in FOLDER with character NOTE and annotate message with ARGS.
MSG can be a message number, a list of message numbers, or a sequence.
The hook `mh-annotate-msg-hook' is run after annotating; see its
documentation for variables it can use.
(defalias 'mh-annotate-msg #[(msg folder note &rest args) "\306\307\310	<\203\311	\n\"\202	\nB$\210\212\312!\203\364q\210	\247\2037\313	\314\211#\203\364\315\316\f
\\#\210\202\364	:\203t	@\247\203t	A\247\203t\212	@b\210\317 \210`	AX\203pm\204p\320!\203j\315\316\f
\\#\210\321y\210\202P)\202\364	\203\203	9\203\203\322	!\202\221	;\203\220\323	\"\202\221	\324 \211\316\211\203\275@\211 \325\314 #\210*A\211\204\240*\212eb\210\317 \210`dX\203\363m\204\363\320!\203\355\326\314!!\327!\"\203\354\315\316\f
\\#\210)\321y\210\202\305+)	\247\203	C\202	\"\330\331!*\207" [folder msg args note mh-cmd-note mh-scan-field-destination-offset apply mh-exec-cmd "anno" append get-buffer mh-goto-msg t mh-notate nil beginning-of-line looking-at 1 mh-seq-to-msgs mh-translate-range make-hash-table puthash mh-get-msg-num gethash run-hooks mh-annotate-msg-hook mh-scan-valid-regexp mh-current-folder #1=#:seq-hash-table #2=#:msgs --dolist-tail-- #3=#:v #4=#:v v mh-annotate-list] 8 (#$ . 30271)])
#@47 Insert `mh-mail-header-separator', if absent.
(defalias 'mh-insert-header-separator #[nil "\212eb\210\301 \210\302\303!\205c)\207" [mh-mail-header-separator rfc822-goto-eoh looking-at "$"] 2 (#$ . 31577)])
#@528 Insert custom fields if recipient is found in `mh-auto-fields-list'.

Once the header contains one or more recipients, you may run this
command to insert these fields manually. However, if you use this
command, the automatic insertion when the message is sent is
disabled.

In a program, set buffer-local `mh-insert-auto-fields-done-local'
if header fields were added. If NON-INTERACTIVE is non-nil,
perform actions quietly and only if
`mh-insert-auto-fields-done-local' is nil. Return t if fields
added; otherwise return nil.
(defalias 'mh-insert-auto-fields #[(&optional non-interactive) "\203		?\205\222\212\306\307!\204\306\310!\205\221\n\311\211\203\217\f@@\f@A@\312\307\310#\203\207\313\211\204?\314\315\"\210
\211\203\206\211@@)\211@A)\211\316\232\203q\317\"\203|\320!\210\202|\321\322\232#\210*A\211\204F)*\fA\211\204*)\207" [non-interactive mh-insert-auto-fields-done-local mh-auto-fields-list fields-inserted list entries mh-goto-header-field "To:" "cc:" nil mh-regexp-in-field-p t message "Fields for %s added" ":identity" assoc mh-insert-identity mh-modify-header-field "From" regexp entry-list x value field mh-identity-list] 6 (#$ . 31793) nil])
#@103 To header FIELD add VALUE.
If OVERWRITE-FLAG is non-nil then the old value, if present, is
discarded.
(defalias 'mh-modify-header-field #[(field value &optional overwrite-flag) "\203\303	\304P!\203\305\n\261\210`\306 |\207\204$\307\310\n\310Q	\"\206@\2046\303	\304P!\2036\305\n\311\261\207\312\313!\210	\314\n\315\261\207" [overwrite-flag field value mh-goto-header-field ":" " " mh-line-end-position mh-regexp-in-field-p "\\b" "," mh-goto-header-end 0 ": " "\n"] 4 (#$ . 33020)])
#@43 Non-nil means REGEXP was found in FIELDS.
(defalias 'mh-regexp-in-field-p #[(regexp &rest fields) "\212\304\211\n\203-\n@\305!\203&\306\212\307 \210`)\310#\203&\304\310\202\nA\211\204		+\207" [field search-result fields regexp nil mh-goto-header-field re-search-forward mh-header-field-end t] 5 (#$ . 33521)])
#@142 Check if current buffer is entirely composed of ASCII.
The function doesn't work for XEmacs since `find-charset-region'
doesn't exist there.
(defalias 'mh-ascii-buffer-p #[nil "\304\305!\205\n\305ed\"\306\307\306:\203.@\211\310=\204'\306\211\211\203.A\211\202\n\2036\307\2027,\207" [#1=#:--cl-var-- charset #2=#:--cl-var-- #3=#:--cl-var-- fboundp find-charset-region nil t ascii] 4 (#$ . 33852)])
(provide 'mh-comp)

MMCT - 2023