1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00
Commit Graph

2009 Commits

Author SHA1 Message Date
Richard M. Stallman
4d1388b457 (pmail-display-labels): Doc fix.
(pmail-set-attribute): Deleted unused vars.
Bind inhibit-read-only, not buffer-read-only.
(pmail-message-attr-p): Doc fix.
(pmail-message-labels-p, pmail-message-recipients-p)
(pmail-message-regexp-p): Mark as broken.
2008-12-23 03:47:32 +00:00
Richard M. Stallman
d8a83a7edc (pmailhdr): Don't require it.
(pmail-edit-current-message): Don't call pmail-header-show-headers.
(pmail-cease-edit): Force a blank line at end of edited message.
Call pmail-set-attribute properly.
Don't set buffer-read-only.
2008-12-23 03:46:03 +00:00
Richard M. Stallman
45b696cd10 *** empty log message *** 2008-12-22 21:18:19 +00:00
Richard M. Stallman
273f29683f (pmail-retried-attr-index, pmail-forwarded-attr-index):
Renamed from pmail-resent-attr-index and pmail-stored-attr-index.
(pmail-attr-array): Change names to `retried' and `forwarded'

(pmail-get-header): Don't unswap, just look at the data where it is.
(pmail-set-attribute): Don't unswap, just set the data where it is.
(pmail-reply): Use pmail-answered-attr-index.
(pmail-forward): Use pmail-forwarded-attr-index.
(pmail-retry-failure): Use pmail-retried-attr-index.

(pmail-show-message): Call pmail-swap-buffers-maybe before reswapping.

(pmail-get-attr-names): Doc fix.
(pmail-is-text-p): Doc fix.
2008-12-22 21:16:43 +00:00
Richard M. Stallman
9f48700650 *** empty log message *** 2008-12-22 19:58:55 +00:00
Richard M. Stallman
dec3f55f38 (pmail-output): Use pmail-buffers-swapped-p as function. 2008-12-22 19:55:36 +00:00
Richard M. Stallman
dc8e167ff7 (pmail-swap-buffers-maybe): Variable deleted.
All uses call the function instead.

(pmail-save): Function deleted.
(pmail-mode-map): Don't bind C-x C-s.
(pmail-mode-1): Don't set up write-region-annotate-functions.
(pmail-write-region-annotate): Function deleted.
(pmail-change-major-mode-hook): Set buffer-swapped-with.
(pmail-use-collection-buffer): Likewise.
(pmail-show-message): Likewise.

(pmail-swap-buffers-maybe): Go to pmail-buffer before
testing anything.
(pmail): Call pmail-swap-buffers-maybe only if already in Pmail mode.
2008-12-22 19:54:59 +00:00
Chong Yidong
ea9c64a81a (pmail-save): New function. 2008-12-22 00:05:51 +00:00
Chong Yidong
0ee2fffa92 * pmail.el (pmail-save): New function. 2008-12-22 00:05:20 +00:00
Chong Yidong
5e1b5cde6f (pmail): Ensure that pmail-mode-hook is run. 2008-12-20 21:40:38 +00:00
Chong Yidong
8eb5f33cde * pmail.el (pmail): Ensure that pmail-mode-hook is run. 2008-12-20 21:40:19 +00:00
Chong Yidong
07be10d88f (pmail-add-header): Function deleted.
(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.
2008-12-20 07:03:06 +00:00
Chong Yidong
bbf92dadcd * pmail.el (pmail-add-header): Function deleted.
(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.
2008-12-20 07:02:49 +00:00
Chong Yidong
de16190387 * pmail.el (pmail-expunge-and-save): Call pmail-swap-buffers-maybe before
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.
2008-12-20 04:30:04 +00:00
Chong Yidong
a8eed59f9a (pmail-expunge-and-save): Call pmail-swap-buffers-maybe before
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.
2008-12-20 04:29:26 +00:00
Chong Yidong
2b8e6500ca (pmail-get-new-mail): Call pmail-swap-buffers-maybe.
(pmail-get-new-mail-1): Adjust restriction after calling
pmail-insert-inbox-text.
(pmail-add-mbox-headers): Use save-restriction.
2008-12-20 04:07:07 +00:00
Chong Yidong
8b176528f2 * pmail.el (pmail-get-new-mail): Call pmail-swap-buffers-maybe.
(pmail-get-new-mail-1): Adjust restriction after calling
pmail-insert-inbox-text.
(pmail-add-mbox-headers): Use save-restriction.
2008-12-20 04:06:31 +00:00
Glenn Morris
4c12073242 Header format fix. 2008-12-19 05:29:04 +00:00
Juanma Barranquero
2364df5cff * international/mule-cmds.el (select-safe-coding-system):
* mail/rmail.el (rmail-require-mime-maybe):
  Fix arguments of `display-warning'.
2008-12-15 15:44:13 +00:00
Juanma Barranquero
6d49b2d88f * pmail.el (pmail-require-mime-maybe): Fix arguments of `display-warning'. 2008-12-15 15:40:53 +00:00
Chong Yidong
97a424b858 (pmail-search): Call pmail-swap-buffers-maybe. 2008-12-15 15:06:50 +00:00
Chong Yidong
f520a2c629 * pmail.el (pmail-expunge): Save point if no expunging was done. 2008-12-15 15:06:44 +00:00
Chong Yidong
5136e31587 (pmail): Call pmail-swap-buffers-maybe.
(pmail-search): Call pmail-swap-buffers-maybe.
2008-12-15 14:56:06 +00:00
Chong Yidong
f343d373d3 * pmail.el (pmail): Call pmail-swap-buffers-maybe.
(pmail-search): Call pmail-swap-buffers-maybe.
2008-12-15 14:55:32 +00:00
Chong Yidong
7635ef3856 (pmail-output-to-babyl-file): Rewrite, assuming mbox
internal format.
(pmail-convert-to-babyl-format, pmail-nuke-pinhead-header): New
functions, moved from pmail.el.
2008-12-13 14:19:56 +00:00
Chong Yidong
f047d0db19 * pmailout.el (pmail-output-to-babyl-file): Rewrite, assuming mbox
internal format.
(pmail-convert-to-babyl-format, pmail-nuke-pinhead-header): New
functions, moved from pmail.el.
2008-12-13 14:19:24 +00:00
Chong Yidong
2c6ee63db5 All callers to pmail-output-to-pmail-file changed to
pmail-output-to-babyl-file.
2008-12-12 15:26:46 +00:00
Chong Yidong
c1589cbeac (pmail-output): Rewrite to handle mbox format.
(pmail-output-to-babyl-file): Renamed from pmail-output-to-pmail-file.
2008-12-12 15:26:28 +00:00
Chong Yidong
17a1c3f768 * pmailout.el (pmail-output): Rewrite to handle mbox format.
(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.
2008-12-12 15:26:17 +00:00
Chong Yidong
ecc69b6579 (pmail-perm-variables): Don't call pmail-parse-file-inboxes.
(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.
2008-12-10 21:50:23 +00:00
Chong Yidong
a6ab233810 * pmail.el (pmail-perm-variables): Don't call pmail-parse-file-inboxes.
(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.
2008-12-10 21:48:55 +00:00
Chong Yidong
adc3b85d06 (pmail-insert-pmail-file-header): Function deleted.
(pmail-decode-babyl-format): Function deleted.
2008-12-10 20:56:39 +00:00
Chong Yidong
aecb916e99 (pmail-output-to-pmail-file): Don't call
pmail-insert-pmail-file-header.
2008-12-10 20:56:32 +00:00
Chong Yidong
f1b13b5bea * pmailout.el (pmail-output-to-pmail-file): Don't call
pmail-insert-pmail-file-header.

* pmail.el (pmail-insert-pmail-file-header): Function deleted.
(pmail-decode-babyl-format): Function deleted.
2008-12-10 20:56:16 +00:00
Chong Yidong
0fa15b2d02 Remove debugging code. 2008-12-10 20:36:47 +00:00
Chong Yidong
89f4fb7c0f (pmail-expunge): Pass new optional arg to pmail-only-expunge.
(pmail-expunge-and-save): Don't reset view buffer.
2008-12-09 23:23:05 +00:00
Chong Yidong
d1c0ec0d45 * pmail.el (pmail-expunge): Pass new optional arg to pmail-only-expunge.
(pmail-expunge-and-save): Don't reset view buffer.
2008-12-09 23:22:58 +00:00
Chong Yidong
1b8d0b78a3 (pmail-summary-header): Deleted.
(pmail-get-create-summary-line): Don't insert a summary line into
the file.
2008-12-09 19:35:33 +00:00
Chong Yidong
397b4cd0fd (pmail-only-expunge): Swap buffers at the beginning. 2008-12-09 19:35:06 +00:00
Chong Yidong
5b681764fe * pmail.el (pmail-only-expunge): Swap buffers at the beginning.
* pmailsum.el (pmail-summary-header): Deleted.
(pmail-get-create-summary-line): Don't insert a summary line into
the file.
2008-12-09 19:35:00 +00:00
Chong Yidong
c786a92921 (pmail-convert-babyl-to-mbox): Reinitialize pmail-mode variables after
conversion.
2008-12-05 20:43:18 +00:00
Chong Yidong
cab320968e * pmail.el (pmail-convert-babyl-to-mbox): Reinitialize pmail-mode
variables after conversion.
2008-12-05 20:43:11 +00:00
Chong Yidong
b0a1b6f349 (pmailhdr): Require pmailhdr. 2008-12-04 23:16:45 +00:00
Chong Yidong
d29e8611a1 * pmailsort.el (pmailhdr): Require pmailhdr. 2008-12-04 23:16:40 +00:00
Chong Yidong
509b4397bc Require pmailhdr. 2008-12-04 23:14:50 +00:00
Chong Yidong
ba3eac401c Remove pmaildesc dependency. 2008-12-04 23:13:08 +00:00
Chong Yidong
0143335b9a Sync with rmailedit.el.
(pmail-edit-current-message): Remove deleted function
pmail-msg-is-pruned.
2008-12-04 22:54:48 +00:00
Chong Yidong
faa2c8ba6a (pmail-retry-failure): Remove call to non-existent function
pmail-clear-headers.
(pmail-message-labels-p): New function.
2008-12-04 22:50:50 +00:00
Chong Yidong
bb5690937d Sync with rmailout.el. 2008-12-04 22:49:30 +00:00
Chong Yidong
bc6cdadc94 Sync with rmailkwd.el. 2008-12-04 22:49:21 +00:00