Function: nnmbox-save-mail
nnmbox-save-mail is a byte-compiled function defined in nnmbox.el.gz.
Signature
(nnmbox-save-mail GROUP-ART)
Documentation
Called narrowed to an article.
Source Code
;; Defined in /usr/src/emacs/lisp/gnus/nnmbox.el.gz
(defun nnmbox-save-mail (group-art)
"Called narrowed to an article."
(let ((delim (concat "^" message-unix-mail-delimiter)))
(goto-char (point-min))
;; This might come from somewhere else.
(if (looking-at delim)
(forward-line 1)
(insert "From nobody " (current-time-string) "\n"))
;; Quote all "From " lines in the article.
(while (re-search-forward delim nil t)
(goto-char (match-beginning 0))
(insert ">")))
(goto-char (point-max))
(unless (bolp)
(insert "\n"))
(nnmail-insert-lines)
(nnmail-insert-xref group-art)
(nnmbox-insert-newsgroup-line group-art)
(let ((alist group-art))
(while alist
(nnmbox-record-active-article (car alist))
(setq alist (cdr alist))))
(run-hooks 'nnmail-prepare-save-mail-hook)
(run-hooks 'nnmbox-prepare-save-mail-hook)
group-art)