aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mh-e
diff options
context:
space:
mode:
authorStephen Gildea2021-09-25 07:18:50 -0700
committerStephen Gildea2021-09-25 07:18:50 -0700
commit2148f67d0ef815d4ceead33dcdba193fa496c2a9 (patch)
tree2eb4203a0be7817610ca7ff1b5d623baa22f7be9 /lisp/mh-e
parente41b7f7b4db55a23bb2f55d373c38b837beeaba8 (diff)
downloademacs-2148f67d0ef815d4ceead33dcdba193fa496c2a9.tar.gz
emacs-2148f67d0ef815d4ceead33dcdba193fa496c2a9.zip
; * lisp/mh-e/mh-scan.el: re-order variables to be actually alphabetical
Diffstat (limited to 'lisp/mh-e')
-rw-r--r--lisp/mh-e/mh-scan.el62
1 files changed, 31 insertions, 31 deletions
diff --git a/lisp/mh-e/mh-scan.el b/lisp/mh-e/mh-scan.el
index bad20852466..5aa599942e3 100644
--- a/lisp/mh-e/mh-scan.el
+++ b/lisp/mh-e/mh-scan.el
@@ -103,15 +103,21 @@ non-empty Newsgroups: field is present."
103 103
104;; Alphabetical. 104;; Alphabetical.
105 105
106(defvar mh-scan-body-regexp "\\(<<\\([^\n]+\\)?\\)" 106(defvar mh-scan-allowlisted-msg-regexp "^\\( *[0-9]+\\)A"
107 "This regular expression matches the message body fragment. 107 "This regular expression matches allowlisted (non-spam) messages.
108 108
109Note that the default setting of `mh-folder-font-lock-keywords' 109It must match from the beginning of the line. Note that the
110expects this expression to contain at least one parenthesized 110default setting of `mh-folder-font-lock-keywords' expects this
111expression which matches the body text as in the default of 111expression to contain at least one parenthesized expression which
112\"\\\\(<<\\\\([^\\n]+\\\\)?\\\\)\". If this regular expression is 112matches the message number as in the default of
113not correct, the body fragment will not be highlighted with the 113
114face `mh-folder-body'.") 114 \"^\\\\( *[0-9]+\\\\)A\".
115
116This expression includes the leading space within parenthesis
117since it looks better to highlight it as well. The highlighting
118is done with the face `mh-folder-allowlisted'. This regular
119expression should be correct as it is needed by non-fontification
120functions. See also `mh-note-allowlisted'.")
115 121
116(defvar mh-scan-blocklisted-msg-regexp "^\\( *[0-9]+\\)B" 122(defvar mh-scan-blocklisted-msg-regexp "^\\( *[0-9]+\\)B"
117 "This regular expression matches blocklisted (spam) messages. 123 "This regular expression matches blocklisted (spam) messages.
@@ -129,6 +135,16 @@ is done with the face `mh-folder-blocklisted'. This regular
129expression should be correct as it is needed by non-fontification 135expression should be correct as it is needed by non-fontification
130functions. See also `mh-note-blocklisted'.") 136functions. See also `mh-note-blocklisted'.")
131 137
138(defvar mh-scan-body-regexp "\\(<<\\([^\n]+\\)?\\)"
139 "This regular expression matches the message body fragment.
140
141Note that the default setting of `mh-folder-font-lock-keywords'
142expects this expression to contain at least one parenthesized
143expression which matches the body text as in the default of
144\"\\\\(<<\\\\([^\\n]+\\\\)?\\\\)\". If this regular expression is
145not correct, the body fragment will not be highlighted with the
146face `mh-folder-body'.")
147
132(defvar mh-scan-cur-msg-number-regexp "^\\( *[0-9]+\\+\\).*" 148(defvar mh-scan-cur-msg-number-regexp "^\\( *[0-9]+\\+\\).*"
133 "This regular expression matches the current message. 149 "This regular expression matches the current message.
134 150
@@ -295,22 +311,6 @@ non-fontification functions.")
295This is used to eliminate error messages that are occasionally 311This is used to eliminate error messages that are occasionally
296produced by \"inc\".") 312produced by \"inc\".")
297 313
298(defvar mh-scan-allowlisted-msg-regexp "^\\( *[0-9]+\\)A"
299 "This regular expression matches allowlisted (non-spam) messages.
300
301It must match from the beginning of the line. Note that the
302default setting of `mh-folder-font-lock-keywords' expects this
303expression to contain at least one parenthesized expression which
304matches the message number as in the default of
305
306 \"^\\\\( *[0-9]+\\\\)A\".
307
308This expression includes the leading space within parenthesis
309since it looks better to highlight it as well. The highlighting
310is done with the face `mh-folder-allowlisted'. This regular
311expression should be correct as it is needed by non-fontification
312functions. See also `mh-note-allowlisted'.")
313
314 314
315 315
316;;; Widths, Offsets and Columns 316;;; Widths, Offsets and Columns
@@ -399,17 +399,21 @@ This column will only ever have spaces in it.")
399 399
400;; Alphabetical. 400;; Alphabetical.
401 401
402(defvar mh-note-allowlisted ?A
403 "Messages that have been allowlisted are marked by this character.
404See also `mh-scan-allowlisted-msg-regexp'.")
405
402(defvar mh-note-blocklisted ?B 406(defvar mh-note-blocklisted ?B
403 "Messages that have been blocklisted are marked by this character. 407 "Messages that have been blocklisted are marked by this character.
404See also `mh-scan-blocklisted-msg-regexp'.") 408See also `mh-scan-blocklisted-msg-regexp'.")
405 409
410(defvar mh-note-copied ?C
411 "Messages that have been copied are marked by this character.")
412
406(defvar mh-note-cur ?+ 413(defvar mh-note-cur ?+
407 "The current message (in MH, not in MH-E) is marked by this character. 414 "The current message (in MH, not in MH-E) is marked by this character.
408See also `mh-scan-cur-msg-number-regexp'.") 415See also `mh-scan-cur-msg-number-regexp'.")
409 416
410(defvar mh-note-copied ?C
411 "Messages that have been copied are marked by this character.")
412
413(defvar mh-note-deleted ?D 417(defvar mh-note-deleted ?D
414 "Messages that have been deleted are marked by this character. 418 "Messages that have been deleted are marked by this character.
415See also `mh-scan-deleted-msg-regexp'.") 419See also `mh-scan-deleted-msg-regexp'.")
@@ -436,10 +440,6 @@ See also `mh-scan-refiled-msg-regexp'.")
436Messages in the \"search\" sequence are marked by this character as 440Messages in the \"search\" sequence are marked by this character as
437well.") 441well.")
438 442
439(defvar mh-note-allowlisted ?A
440 "Messages that have been allowlisted are marked by this character.
441See also `mh-scan-allowlisted-msg-regexp'.")
442
443 443
444 444
445;;; Utilities 445;;; Utilities