* pmailsum.el: Require pmailkwd.
(pmail-summary-expunge-and-save): Use pmail-expunge-and-save.
* pmail.el (buffer-swapped-with): Var removed.
(pmail-buffer-swapped): New var.
(pmail-write-region-annotate): New function.
(pmail-save-buffer): New function.
* pmailedit.el (pmail-cease-edit, pmail-edit-mode): Use
pmail-buffer-swapped.
(pmail-add-mbox-headers): Insert header directly instead of
calling pmail-add-header.
(pmail-display-labels): Add leading space to attribute string.
(pmail-set-attribute): Call pmail-swap-buffers-maybe. Insert
header directly instead of calling pmail-add-header.
saving.
(pmail-quit): Handling expunging manually, instead of calling
pmail-expunge-and-save.
(pmail-next-undeleted-message): If no other message can be shown,
show the current one.
(pmail-output-to-babyl-file): Renamed from
pmail-output-to-pmail-file.
* pmail.el: All callers to pmail-output-to-pmail-file changed to
pmail-output-to-babyl-file.
* pmail.el: All callers to pmail-output-to-pmail-file changed to
pmail-output-to-babyl-file.
(pmail-parse-file-inboxes): Function deleted.
(pmail-get-new-mail-1): Function merged into pmail-get-new-mail.
(pmail-get-new-mail-2): Renamed to pmail-get-new-mail-1.
(pmail-get-new-mail-filter-spam): Call rmail-spam-filter, not
pmail-spam-filter.
(pmail-convert-to-babyl-format): Function deleted.
(pmail-nuke-pinhead-header): Function deleted.
(pmail-reply): Parsing headers in mbox format. Call
rmail-dont-reply-to instead of pmail-dont-reply-to.
(pmail-sort-messages): Insert two newlines at the end of the
message if they do not exist.
* pmailmm.el: Require mail-parse.
(pmail-mime-show): Don't use removed function
pmail-header-hide-headers.
(pmail-mime): Use pmail-msgbeg and pmail-msgend instead of removed
pmail-desc-* functions.
* pmailkwd.el: Sync with rmailkwd.el.
* pmailout.el: Sync with rmailout.el.
* pmailedit.el: Sync with rmailedit.el.
(pmail-edit-current-message): Remove deleted function
pmail-msg-is-pruned.
* pmaildesc.el: File deleted.
* pmail.el (pmail-get-header): Call pmail-swap-buffers-maybe.
(pmail-retry-failure): Remove call to non-existent function
pmail-clear-headers.
(pmail-message-labels-p): New function.