chiark / gitweb /
dot/gnus.el: Make `.' be a symbol constituent when splitting mail.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 14 Apr 2020 17:30:07 +0000 (18:30 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 20 Apr 2020 12:24:48 +0000 (13:24 +0100)
This sometimes gets used in email address local parts.

dot/gnus.el

index 8b1990854058599868561521b76b388748100724..be92db77384185410fb323a1b2bee36848e6b42c 100644 (file)
@@ -129,6 +129,9 @@ (setq nnmail-split-fancy-syntax-table
        (modify-syntax-entry ?< "(>" table)
        (modify-syntax-entry ?> ")<" table)
 
        (modify-syntax-entry ?< "(>" table)
        (modify-syntax-entry ?> ")<" table)
 
+       ;; Email addresses definitely contain `.'.
+       (modify-syntax-entry ?. "_" table)
+
        ;; Done.
        table))
 
        ;; Done.
        table))