Allow specifying list shortnames with regexes
This way mu4e will intelligently shorten mailing list names which
contain dots:
(setq mu4e-mailing-list-patterns
'("\\([a-z0-9.]+\\)\.lists\.company\.com"))
This commit is contained in:
@ -85,4 +85,9 @@
|
||||
"A list of (MAILING-LIST-ID . SHORTNAME); these are used in
|
||||
addition to the 'built-in' list `mu4e~user-lists'.")
|
||||
|
||||
(defvar mu4e-mailing-list-patterns nil
|
||||
"A list of regex patterns to capture a shortname out of a list ID. For
|
||||
the first regex that matches, its first matchgroup will be used as the
|
||||
shortname.")
|
||||
|
||||
(provide 'mu4e-lists)
|
||||
|
||||
Reference in New Issue
Block a user