diff options
| author | Stephen Gildea | 2021-09-25 07:18:50 -0700 |
|---|---|---|
| committer | Stephen Gildea | 2021-09-25 07:18:50 -0700 |
| commit | 2148f67d0ef815d4ceead33dcdba193fa496c2a9 (patch) | |
| tree | 2eb4203a0be7817610ca7ff1b5d623baa22f7be9 /lisp/mh-e | |
| parent | e41b7f7b4db55a23bb2f55d373c38b837beeaba8 (diff) | |
| download | emacs-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.el | 62 |
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 | ||
| 109 | Note that the default setting of `mh-folder-font-lock-keywords' | 109 | It must match from the beginning of the line. Note that the |
| 110 | expects this expression to contain at least one parenthesized | 110 | default setting of `mh-folder-font-lock-keywords' expects this |
| 111 | expression which matches the body text as in the default of | 111 | expression to contain at least one parenthesized expression which |
| 112 | \"\\\\(<<\\\\([^\\n]+\\\\)?\\\\)\". If this regular expression is | 112 | matches the message number as in the default of |
| 113 | not correct, the body fragment will not be highlighted with the | 113 | |
| 114 | face `mh-folder-body'.") | 114 | \"^\\\\( *[0-9]+\\\\)A\". |
| 115 | |||
| 116 | This expression includes the leading space within parenthesis | ||
| 117 | since it looks better to highlight it as well. The highlighting | ||
| 118 | is done with the face `mh-folder-allowlisted'. This regular | ||
| 119 | expression should be correct as it is needed by non-fontification | ||
| 120 | functions. 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 | |||
| 129 | expression should be correct as it is needed by non-fontification | 135 | expression should be correct as it is needed by non-fontification |
| 130 | functions. See also `mh-note-blocklisted'.") | 136 | functions. See also `mh-note-blocklisted'.") |
| 131 | 137 | ||
| 138 | (defvar mh-scan-body-regexp "\\(<<\\([^\n]+\\)?\\)" | ||
| 139 | "This regular expression matches the message body fragment. | ||
| 140 | |||
| 141 | Note that the default setting of `mh-folder-font-lock-keywords' | ||
| 142 | expects this expression to contain at least one parenthesized | ||
| 143 | expression which matches the body text as in the default of | ||
| 144 | \"\\\\(<<\\\\([^\\n]+\\\\)?\\\\)\". If this regular expression is | ||
| 145 | not correct, the body fragment will not be highlighted with the | ||
| 146 | face `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.") | |||
| 295 | This is used to eliminate error messages that are occasionally | 311 | This is used to eliminate error messages that are occasionally |
| 296 | produced by \"inc\".") | 312 | produced by \"inc\".") |
| 297 | 313 | ||
| 298 | (defvar mh-scan-allowlisted-msg-regexp "^\\( *[0-9]+\\)A" | ||
| 299 | "This regular expression matches allowlisted (non-spam) messages. | ||
| 300 | |||
| 301 | It must match from the beginning of the line. Note that the | ||
| 302 | default setting of `mh-folder-font-lock-keywords' expects this | ||
| 303 | expression to contain at least one parenthesized expression which | ||
| 304 | matches the message number as in the default of | ||
| 305 | |||
| 306 | \"^\\\\( *[0-9]+\\\\)A\". | ||
| 307 | |||
| 308 | This expression includes the leading space within parenthesis | ||
| 309 | since it looks better to highlight it as well. The highlighting | ||
| 310 | is done with the face `mh-folder-allowlisted'. This regular | ||
| 311 | expression should be correct as it is needed by non-fontification | ||
| 312 | functions. 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. | ||
| 404 | See 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. |
| 404 | See also `mh-scan-blocklisted-msg-regexp'.") | 408 | See 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. |
| 408 | See also `mh-scan-cur-msg-number-regexp'.") | 415 | See 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. |
| 415 | See also `mh-scan-deleted-msg-regexp'.") | 419 | See also `mh-scan-deleted-msg-regexp'.") |
| @@ -436,10 +440,6 @@ See also `mh-scan-refiled-msg-regexp'.") | |||
| 436 | Messages in the \"search\" sequence are marked by this character as | 440 | Messages in the \"search\" sequence are marked by this character as |
| 437 | well.") | 441 | well.") |
| 438 | 442 | ||
| 439 | (defvar mh-note-allowlisted ?A | ||
| 440 | "Messages that have been allowlisted are marked by this character. | ||
| 441 | See also `mh-scan-allowlisted-msg-regexp'.") | ||
| 442 | |||
| 443 | 443 | ||
| 444 | 444 | ||
| 445 | ;;; Utilities | 445 | ;;; Utilities |