Variable: rmail-re-abbrevs
rmail-re-abbrevs is a customizable variable defined in rmail.el.gz.
Value
"\\(RE\\|RÉ\\.?\\|FWD?\\|رد\\|回复\\|回覆\\|SV\\|Antw\\.?\\|VS\\|REF\\|AW\\|ΑΠ\\|ΣΧΕΤ\\|השב\\|Vá\\|R\\|RIF\\|BLS\\|RES\\|Odp\\|YNT\\|ATB\\)"
Documentation
Regexp with localized "Re" abbreviations in various languages.
Matching is done case-insensitively.
Initialized from mail-re-regexps, which is easier to customize.
This variable was added, or its default value changed, in Emacs 31.1.
Probably introduced at or before Emacs version 28.1.
Source Code
;; Defined in /usr/src/emacs/lisp/mail/rmail.el.gz
;; Some mailers use "Re(2):" or "Re^2:" or "Re: Re:" or "Re[2]:".
;; This pattern should catch all the common variants.
;; rms: I deleted the change to delete tags in square brackets
;; because they mess up RT tags.
;; Note: this is matched with case-fold-search bound to t.
(defcustom rmail-re-abbrevs
(concat "\\("
(string-join mail-re-regexps "\\|")
"\\)")
"Regexp with localized \"Re\" abbreviations in various languages.
Matching is done case-insensitively.
Initialized from `mail-re-regexps', which is easier to customize."
:set-after '(mail-re-regexps)
:set (lambda (sym val)
(custom-set-default sym val)
(setq rmail-reply-regexp (mail--wrap-re-regexp val)))
:type 'regexp
:version "31.1")