aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2021-01-16 20:18:32 +0200
committerEli Zaretskii2021-01-16 20:18:32 +0200
commit66756df286bea6efd3f9a8290e38e8d77bdf0264 (patch)
tree17a4fb376529ca0aac99441940716c45a3e622dd
parent0057294b2ad6cdd2802e1b290a190fa42e723fb8 (diff)
downloademacs-66756df286bea6efd3f9a8290e38e8d77bdf0264.tar.gz
emacs-66756df286bea6efd3f9a8290e38e8d77bdf0264.zip
Fix Rmail summary for more than 99,999 messages
* lisp/mail/rmailsum.el (rmail-summary-font-lock-keywords): Don't assume there will be less than 100,000 messages in an mbox file. (Bug#45912)
-rw-r--r--lisp/mail/rmailsum.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el
index 60b67edf85a..d29115a9570 100644
--- a/lisp/mail/rmailsum.el
+++ b/lisp/mail/rmailsum.el
@@ -51,10 +51,10 @@ Setting this option to nil might speed up the generation of summaries."
51 :group 'rmail-summary) 51 :group 'rmail-summary)
52 52
53(defvar rmail-summary-font-lock-keywords 53(defvar rmail-summary-font-lock-keywords
54 '(("^.....D.*" . font-lock-string-face) ; Deleted. 54 '(("^ *[0-9]+D.*" . font-lock-string-face) ; Deleted.
55 ("^.....-.*" . font-lock-type-face) ; Unread. 55 ("^ *[0-9]+-.*" . font-lock-type-face) ; Unread.
56 ;; Neither of the below will be highlighted if either of the above are: 56 ;; Neither of the below will be highlighted if either of the above are:
57 ("^.....[^D-] \\(......\\)" 1 font-lock-keyword-face) ; Date. 57 ("^ *[0-9]+[^D-] \\(......\\)" 1 font-lock-keyword-face) ; Date.
58 ("{ \\([^\n}]+\\) }" 1 font-lock-comment-face)) ; Labels. 58 ("{ \\([^\n}]+\\) }" 1 font-lock-comment-face)) ; Labels.
59 "Additional expressions to highlight in Rmail Summary mode.") 59 "Additional expressions to highlight in Rmail Summary mode.")
60 60