diff options
| -rw-r--r-- | lisp/ChangeLog | 25 | ||||
| -rw-r--r-- | lisp/mail/rmailsort.el | 12 |
2 files changed, 29 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8d39cc70a07..3e43dfb74c3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,28 @@ | |||
| 1 | 2009-02-10 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * mail/rmailsort.el: Just require rmail. | ||
| 4 | |||
| 5 | * mail/rmailedit.el: Just require rmail. | ||
| 6 | (rmail-old-pruned): Add doc string. | ||
| 7 | (rmail-edit-current-message): Use rmail-msg-is-pruned. | ||
| 8 | (rmail-cease-edit): Don't mangle the leading From line. | ||
| 9 | Don't mark as edited if there were no changes. (Bug#2256) | ||
| 10 | Correctly restore header state. | ||
| 11 | |||
| 12 | * mail/rmail.el (rmail-automatic-folder-directives): Doc fix. | ||
| 13 | (rmail-current-message, rmail-total-messages) | ||
| 14 | (rmail-message-vector, rmail-deleted-vector): Add doc strings. | ||
| 15 | (rmail-duplicate-message): Doc fix. | ||
| 16 | (rmail-get-header-1, rmail-set-header-1, rmail-set-attribute-1): | ||
| 17 | New functions. | ||
| 18 | (rmail-get-header, rmail-set-header, rmail-set-attribute): | ||
| 19 | Use rmail-apply-in-message. | ||
| 20 | (rmail-message-attr-p): Use rmail-get-header, hence no longer requires | ||
| 21 | unswapped-ness. | ||
| 22 | (rmail-get-attr-names): Check for missing or corrupt attribute headers. | ||
| 23 | (rmail-auto-file): Set the filed attribute, rather than explicitly not | ||
| 24 | doing so. (Bug#2231) | ||
| 25 | |||
| 1 | 2009-02-09 Ulf Jasper <ulf.jasper@web.de> | 26 | 2009-02-09 Ulf Jasper <ulf.jasper@web.de> |
| 2 | 27 | ||
| 3 | * net/newst-treeview.el (newsticker-treeview-save) | 28 | * net/newst-treeview.el (newsticker-treeview-save) |
diff --git a/lisp/mail/rmailsort.el b/lisp/mail/rmailsort.el index e5b9da3ea6d..e53bcdfa8a2 100644 --- a/lisp/mail/rmailsort.el +++ b/lisp/mail/rmailsort.el | |||
| @@ -26,14 +26,7 @@ | |||
| 26 | 26 | ||
| 27 | ;;; Code: | 27 | ;;; Code: |
| 28 | 28 | ||
| 29 | (eval-when-compile | 29 | (require 'rmail) |
| 30 | (require 'mail-utils) | ||
| 31 | (require 'sort) | ||
| 32 | (require 'rmail)) | ||
| 33 | |||
| 34 | (autoload 'timezone-make-date-sortable "timezone") | ||
| 35 | |||
| 36 | (declare-function rmail-update-summary "rmailsum" (&rest ignore)) | ||
| 37 | 30 | ||
| 38 | ;; Sorting messages in Rmail buffer | 31 | ;; Sorting messages in Rmail buffer |
| 39 | 32 | ||
| @@ -153,6 +146,7 @@ KEYWORDS is a comma-separated list of labels." | |||
| 153 | n)))))) | 146 | n)))))) |
| 154 | 147 | ||
| 155 | ;; Basic functions | 148 | ;; Basic functions |
| 149 | (declare-function rmail-update-summary "rmailsum" (&rest ignore)) | ||
| 156 | 150 | ||
| 157 | (defun rmail-sort-messages (reverse keyfun) | 151 | (defun rmail-sort-messages (reverse keyfun) |
| 158 | "Sort messages of current Rmail file. | 152 | "Sort messages of current Rmail file. |
| @@ -228,6 +222,8 @@ If 1st argument REVERSE is non-nil, sort them in reverse order. | |||
| 228 | (if (rmail-summary-exists) | 222 | (if (rmail-summary-exists) |
| 229 | (rmail-select-summary (rmail-update-summary))))))) | 223 | (rmail-select-summary (rmail-update-summary))))))) |
| 230 | 224 | ||
| 225 | (autoload 'timezone-make-date-sortable "timezone") | ||
| 226 | |||
| 231 | (defun rmail-make-date-sortable (date) | 227 | (defun rmail-make-date-sortable (date) |
| 232 | "Make DATE sortable using the function string-lessp." | 228 | "Make DATE sortable using the function string-lessp." |
| 233 | ;; Assume the default time zone is GMT. | 229 | ;; Assume the default time zone is GMT. |