diff options
| author | Gerd Moellmann | 2001-10-05 09:35:36 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-10-05 09:35:36 +0000 |
| commit | 7271daf79bd8866c45c00d66157fab3d811c2ea4 (patch) | |
| tree | 0b44b3d5972fcaf744ace15958945a2e8c645850 | |
| parent | 349deff4c6b51955488062a6b14ade8fb1757b8c (diff) | |
| download | emacs-7271daf79bd8866c45c00d66157fab3d811c2ea4.tar.gz emacs-7271daf79bd8866c45c00d66157fab3d811c2ea4.zip | |
(rmail-make-summary-line)
(rmail-make-summary-line-1, rmail-summary-next-same-subject)
(rmail-summary-goto-msg, rmail-summary-goto-msg): Allow
5 digit mesage ids instead of 4.
| -rw-r--r-- | lisp/mail/rmailsum.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index 9bcdd0c36ff..357790228ac 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el | |||
| @@ -270,7 +270,7 @@ nil for FUNCTION means all messages." | |||
| 270 | new-summary-line-count)) | 270 | new-summary-line-count)) |
| 271 | (rmail-make-summary-line-1 msg))))) | 271 | (rmail-make-summary-line-1 msg))))) |
| 272 | ;; Fix up the part of the summary that says "deleted" or "unseen". | 272 | ;; Fix up the part of the summary that says "deleted" or "unseen". |
| 273 | (aset line 4 | 273 | (aset line 5 |
| 274 | (if (rmail-message-deleted-p msg) ?\D | 274 | (if (rmail-message-deleted-p msg) ?\D |
| 275 | (if (= ?0 (char-after (+ 3 (rmail-msgbeg msg)))) | 275 | (if (= ?0 (char-after (+ 3 (rmail-msgbeg msg)))) |
| 276 | ?\- ?\ ))) | 276 | ?\- ?\ ))) |
| @@ -339,7 +339,7 @@ By default, `identity' is set." | |||
| 339 | (setq pos (string-match "#" line)) | 339 | (setq pos (string-match "#" line)) |
| 340 | (aset rmail-summary-vector (1- msg) | 340 | (aset rmail-summary-vector (1- msg) |
| 341 | (funcall rmail-summary-line-decoder | 341 | (funcall rmail-summary-line-decoder |
| 342 | (concat (format "%4d " msg) | 342 | (concat (format "%5d " msg) |
| 343 | (substring line 0 pos) | 343 | (substring line 0 pos) |
| 344 | labels | 344 | labels |
| 345 | (substring line (1+ pos))))) | 345 | (substring line (1+ pos))))) |
| @@ -573,7 +573,7 @@ If N is negative, go backwards." | |||
| 573 | ;; Get msg number of this line. | 573 | ;; Get msg number of this line. |
| 574 | (setq i (string-to-int | 574 | (setq i (string-to-int |
| 575 | (buffer-substring (point) | 575 | (buffer-substring (point) |
| 576 | (min (point-max) (+ 5 (point)))))) | 576 | (min (point-max) (+ 6 (point)))))) |
| 577 | ;; See if that msg has desired subject. | 577 | ;; See if that msg has desired subject. |
| 578 | (save-excursion | 578 | (save-excursion |
| 579 | (set-buffer rmail-buffer) | 579 | (set-buffer rmail-buffer) |
| @@ -1055,7 +1055,7 @@ If SKIP-RMAIL, don't do anything to the Rmail buffer." | |||
| 1055 | message-not-found | 1055 | message-not-found |
| 1056 | (curmsg (string-to-int | 1056 | (curmsg (string-to-int |
| 1057 | (buffer-substring (point) | 1057 | (buffer-substring (point) |
| 1058 | (min (point-max) (+ 5 (point)))))) | 1058 | (min (point-max) (+ 6 (point)))))) |
| 1059 | (total (save-excursion (set-buffer buf) rmail-total-messages))) | 1059 | (total (save-excursion (set-buffer buf) rmail-total-messages))) |
| 1060 | ;; If message number N was specified, find that message's line | 1060 | ;; If message number N was specified, find that message's line |
| 1061 | ;; or set message-not-found. | 1061 | ;; or set message-not-found. |
| @@ -1071,7 +1071,7 @@ If SKIP-RMAIL, don't do anything to the Rmail buffer." | |||
| 1071 | (goto-char (point-max)) | 1071 | (goto-char (point-max)) |
| 1072 | (rmail-summary-goto-msg nil nowarn skip-rmail))) | 1072 | (rmail-summary-goto-msg nil nowarn skip-rmail))) |
| 1073 | (goto-char (point-min)) | 1073 | (goto-char (point-min)) |
| 1074 | (if (not (re-search-forward (format "^%4d[^0-9]" n) nil t)) | 1074 | (if (not (re-search-forward (format "^%5d[^0-9]" n) nil t)) |
| 1075 | (progn (or nowarn (message "Message %d not found" n)) | 1075 | (progn (or nowarn (message "Message %d not found" n)) |
| 1076 | (setq n curmsg) | 1076 | (setq n curmsg) |
| 1077 | (setq message-not-found t) | 1077 | (setq message-not-found t) |