summaryrefslogtreecommitdiff
path: root/lisp/mail/pmail.el
Commit message (Collapse)AuthorAgeFilesLines
* File removed.Chong Yidong2009-01-231-3893/+0
|
* (pmail-buffer-swapped): Mark as permanent local.Chong Yidong2009-01-231-1/+1
|
* (buffer-swapped-with): Var removed.Chong Yidong2009-01-221-54/+24
| | | | | | (pmail-buffer-swapped): New var. (pmail-write-region-annotate): New function. (pmail-save-buffer): New function.
* Restore comment lost in previous change.Glenn Morris2009-01-201-0/+2
|
* (pmail-last-label, pmail-last-multi-labels):Glenn Morris2009-01-201-0/+9
| | | | | Move back here from pmailkwd.el. (pmail-message-labels-p): Move back here from pmailsum.el.
* (buffer-swapped-with): Mark as permanent local.Richard M. Stallman2009-01-171-2/+6
| | | | | (pmail-set-message-counters): Set pmail-deleted-vector from msg hdrs. (pmail-auto-file): Simplify a regexp.
* (pmail-count-screen-lines, pmail-use-collection-buffer)Richard M. Stallman2009-01-101-127/+94
| | | | | (pmail-use-viewer-buffer): Fns deleted. Other functions reordered but not changed.
* (pmail-ignored-headers): Hide more fields.Richard M. Stallman2009-01-101-11/+12
| | | | | (pmail-next-undeleted-message): If we stay on same message, don't change anything.
* (basic-save-buffer): Protect buffer-modified flag around first swap.Richard M. Stallman2009-01-051-170/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (pmail-show-message): Protect buffer-modified flag around swap. (pmail-change-major-mode-hook): Likewise. (pmail-use-collection-buffer, pmail-swap-buffers-maybe): Likewise. (pmail-error-bad-format): Always phrase the error as about an invalid message. (pmail-convert-file-maybe): Don't use pmail-error-bad-format. (pmail-mode-map): Move pmail-widen to C-c C-w. (pmail-mode-1): Don't alter mode-line-modified. (pmail-perm-variables): Turn off undo in view buffer. (pmail-variables): Turn off undo. (pmail-show-message): Delete useless calls to `widen'. Avoid passing thru temp buffer if we don't need base64 or quoted printable decoding for whole message. (pmail-keywords): Variable deleted. (pmail-last-label, pmail-last-multi-labels): Moved to pmailkwd.el. (pmail-perm-variables): Don't mess with pmail-last-label. Don't mess with pmail-keywords. (pmail-copy-headers): Doc fix. (pmail-set-header): New function. (pmail-get-keywords): Doc fix. (pmail-get-labels): New function. (pmail-display-labels): Use pmail-get-labels. (pmail-set-attribute): Mark pmail-buffer modified if we change an attribute. (pmail-apply-in-message): New function. (pmail-message-labels-p): Function moved to pmailsum.el. (pmail-message-recipients-p, pmail-message-regexp-p): Likewise. (pmail-current-subject, pmail-current-subject-regexp): Fns deleted. (pmail-simplified-subject, pmail-simplified-subject-regexp): New fns. (pmail-next-same-subject): Fetch each msg's subject and compare. (pmail-speedbar-move-message): Use pmail-output. (pmail-construct-io-menu): Use pmail-output. (pmail-default-pmail-file): Variable deleted. (pmail-auto-file): Use pmail-output. (pmail-mode-map): Remove pmail-output-to-babyl-file. Add pmail-output-as-seen. (pmail-mode): Update output commands in doc string.
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* (buffer-swapped-with): New var, moved from files.el. Add advice toChong Yidong2008-12-311-0/+28
| | | | basic-save-buffer to use it.
* (pmail-forwarded-attr-index): Doc fix.Richard M. Stallman2008-12-291-14/+37
| | | | | | | | | | | | | (pmail-resent-attr-index): New variable. (pmail-attr-array): Add r for resent. (pmail-add-mbox-headers): Make 8 attributes. (pmail-set-attribute): Extend attribute line if necessary. (pmail-widen): New command. (pmail-mode-map): o is pmail-output, C-o is pmail-output-as-seen, (pmail-mode-map): c-w is pmail-widen. (pmail-change-major-mode-hook): Do nothing unless buffer-swapped-with. (pmail-show-message): Downcase character-coding.
* (pmail-variables): Don't set save-buffer-coding-system.Richard M. Stallman2008-12-231-7/+0
|
* (pmail-display-labels): Doc fix.Richard M. Stallman2008-12-231-9/+22
| | | | | | | | (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.
* (pmail-retried-attr-index, pmail-forwarded-attr-index):Richard M. Stallman2008-12-221-63/+65
| | | | | | | | | | | | | | | | 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.
* (pmail-swap-buffers-maybe): Variable deleted.Richard M. Stallman2008-12-221-42/+13
| | | | | | | | | | | | | | | | 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.
* (pmail-save): New function.Chong Yidong2008-12-221-0/+11
|
* (pmail): Ensure that pmail-mode-hook is run.Chong Yidong2008-12-201-0/+2
|
* (pmail-add-header): Function deleted.Chong Yidong2008-12-201-20/+16
| | | | | | | | (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.
* (pmail-expunge-and-save): Call pmail-swap-buffers-maybe beforeChong Yidong2008-12-201-4/+8
| | | | | | | | 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-get-new-mail): Call pmail-swap-buffers-maybe.Chong Yidong2008-12-201-27/+33
| | | | | | (pmail-get-new-mail-1): Adjust restriction after calling pmail-insert-inbox-text. (pmail-add-mbox-headers): Use save-restriction.
* * pmail.el (pmail-require-mime-maybe): Fix arguments of `display-warning'.Juanma Barranquero2008-12-151-7/+8
|
* (pmail-search): Call pmail-swap-buffers-maybe.Chong Yidong2008-12-151-3/+10
|
* (pmail): Call pmail-swap-buffers-maybe.Chong Yidong2008-12-151-23/+22
| | | | (pmail-search): Call pmail-swap-buffers-maybe.
* All callers to pmail-output-to-pmail-file changed toChong Yidong2008-12-121-8/+8
| | | | pmail-output-to-babyl-file.
* (pmail-perm-variables): Don't call pmail-parse-file-inboxes.Chong Yidong2008-12-101-437/+51
| | | | | | | | | | | | (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-insert-pmail-file-header): Function deleted.Chong Yidong2008-12-101-71/+3
| | | | (pmail-decode-babyl-format): Function deleted.
* Remove debugging code.Chong Yidong2008-12-101-1/+0
|
* (pmail-expunge): Pass new optional arg to pmail-only-expunge.Chong Yidong2008-12-091-4/+4
| | | | (pmail-expunge-and-save): Don't reset view buffer.
* (pmail-only-expunge): Swap buffers at the beginning.Chong Yidong2008-12-091-8/+6
|
* (pmail-convert-babyl-to-mbox): Reinitialize pmail-mode variables afterChong Yidong2008-12-051-1/+7
| | | | conversion.
* (pmail-retry-failure): Remove call to non-existent functionChong Yidong2008-12-041-2/+9
| | | | | pmail-clear-headers. (pmail-message-labels-p): New function.
* (pmail-get-header): Call pmail-swap-buffers-maybe.Chong Yidong2008-12-041-0/+1
|
* (pmail-only-expunge): Pass correct arg to pmail-show-message-maybe.Chong Yidong2008-12-021-1/+1
|
* Add support for save-buffer.Paul Reilly2008-11-131-5/+48
|
* (pmail): Remove a redundant message counter reset call; try toPaul Reilly2008-10-171-19/+26
| | | | | | | | | | | | minimize the attempts to show a message (ideally it should be done once and only once). (pmail-convert-babyl-to-mbox): Set up the global message variables after inserting the converted mbox file into the Pmail buffer; avoid an unecessary message display function call. (pmail-show-message-maybe): Use the current message number when the optional argument is not passed.
* (pmail): Check for babyl conversion early; ignore multibyte.Paul Reilly2008-10-141-15/+7
|
* * pmail.el (pmail-tool-bar-map): Initialize it unconditionally.Chong Yidong2008-10-111-27/+26
|
* Next step in the Rmail/mbox support: getting basic summary support working.Paul Reilly2008-10-051-216/+249
|
* First pass at handling decoding the mbox message into the view buffer.Paul Reilly2008-09-231-71/+132
|
* The Rmail/mbox merge has been abandoned in favor of a restart usingPaul Reilly2008-09-151-1093/+1864
| | | | | | | | | | the current rmail.el file. A comprehensive list of changes will be supplied when pmail.el is morphed back into rmail.el The current status is that pmail.el supports basic Rmail navigation (no summary support) and shows the current message in a special buffer using buffer-swap-text. No decoding is done yet. That is the next step.
* (rmail-spam-filter): Autoload it.Glenn Morris2008-09-061-0/+2
|
* (pmail-use-spam-filter): Remove un-needed variable declaration.Glenn Morris2008-09-061-8/+8
| | | | | | Doc fix for actual definition. (pmail-get-new-mail): Call rmail-spam-filter rather than non-existent pmail-spam-filter.
* Add local variable setting for change-log-default-name.Glenn Morris2008-09-061-0/+4
|
* (pmail-spam-filter): Remove declaration of undefined function.Glenn Morris2008-09-061-1/+1
|
* * pmail.el (pmail-get-new-mail): When there are no new messages,Paul Reilly2008-09-051-0/+1
| | | | invoke a redisplay of the current message.
* Fix the expunge command so that the current message index is correct.Paul Reilly2008-09-031-13/+16
| | | | | | | | | | | | | | | * pmail.el (pmail-expunge-counter): New variable (pmail-set-attribute): Canonicalize the calling sequence to index, attribute, state. (pmail-show-message, pmail-delete-message, pmail-undelete-previous-message, pmail-delete-forward, pmail-mark-message): Use the new canonical calling sequence. (pmail-only-expunge): Use the expunge counter to update the current message index. (pmail-expunge-callback): Simplify. Just count the expunged messages with a lower index than the current message index. * pmaildesc.el (pmail-desc-get-previous): Fix an "off by one" issue. (pmail-desc-set-attribute): Canonicalize the calling sequence to index, attribute, state. * pmailout.el (pmail-output-body-to-file): Use the canonical calling sequence.
* (pmail-reply-callback): Call pmail-show-message to repaint thePaul Reilly2008-09-011-1/+2
| | | | | message, insuring that new headers, like X-BABYL-V6... are correctly hidden.
* Fix the expunge operation.Paul Reilly2008-09-011-6/+11
| | | | | | | | | pmail.el (pmail-only-expunge): Manage pmail-total-messages in the callback handler; remove the extra show message call. (pmail-expunge-callback): Rewrite to handle all possible conditions. pmaildesc.el (pmail-desc-get-previous, pmail-desc-get-match-index): New functions.
* Resolve all byte compiler warnings and enable IMAP/movemail support.Paul Reilly2008-08-291-33/+30
|