<commit_before>;;; Configuration for Subscribed Groups

;; Settings by Group
(setq gnus-parameters
      '(
        
        ;; Defaults
        (".*INBOX.*"
         (display . all)
         (gnus-thread-sort-functions 'gnus-thread-sort-by-date))
        
        ;; Mailing Lists
        ("\\.mlists\\."
         (comment . "Mailing List")
         (display . [unread])
         (subscribed . t)
         (auto-expire . t)
         (expiry-wait . 14)
         (gnus-thread-sort-functions '(gnus-thread-sort-by-number (not gnus-thread-sort-by-date))))))
        
;; Posting Styles
(setq gnus-posting-styles
      `((".*"
         (signature-file ,(concat pmade-sigs-dir "/default")))
        (".*mlists"
         (From "<NAME> <<EMAIL>>")
         (signature-file ,(concat pmade-sigs-dir "/mlists")))
        ((header "to" ".*<EMAIL>")
         (From "<NAME> <<EMAIL>>"))
        (message-news-p
         (From "<NAME> <<EMAIL>>")
         (signature-file ,(concat pmade-sigs-dir "/news")))))

;; Mailing Lists<commit_msg>Change Gnus posting rules<commit_after>;;; Configuration for Subscribed Groups

;; Settings by Group
(setq gnus-parameters
      '(
        ;; Defaults
        (".*INBOX.*"
         (display . all)
         (gnus-thread-sort-functions 'gnus-thread-sort-by-date))
        
        ;; Mailing Lists
        ("\\.mlists\\."
         (comment . "Mailing List")
         (display . [unread])
         (subscribed . t)
         (auto-expire . t)
         (expiry-wait . 14)
         (gnus-thread-sort-functions '(gnus-thread-sort-by-number (not gnus-thread-sort-by-date))))))
        
;; Posting Styles
(setq gnus-posting-styles
      `((".*"
         (signature-file ,(concat pmade-sigs-dir "/default")))
        (".*mlists"
         (From "<NAME> <<EMAIL>>")
         (signature-file ,(concat pmade-sigs-dir "/mlists")))
        ((header "to" ".*@googlegroups\\.com")
         (From "<NAME> <<EMAIL>>"))
        (message-news-p
         (From "<NAME> <<EMAIL>>")
         (signature-file ,(concat pmade-sigs-dir "/mlists")))))

;; Mailing Lists
{'fraction_non_alphanumeric': 0.1851672321861367, 'fraction_numerical': 0.0019389238972370335, 'mean_word_length': 1.9152542372881356, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 22, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5591680', 'n_tokens_mistral': 706, 'n_tokens_neox': 681, 'n_words': 134}