<commit_before>;;; packages.el --- mu4e Layer packages File for Spacemacs
;;
;; Copyright (c) 2012-2016 <NAME> & Contributors
;;
;; Author: <NAME> <<EMAIL>>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3

(setq mu4e-packages
      '(
        (mu4e :skip-install t)
        mu4e-maildirs-extension
        org
        ))

(defun mu4e/init-mu4e ()
  (use-package mu4e
    :commands (mu4e mu4e-compose-new)
    :init
    (progn
      (spacemacs/set-leader-keys "a M" 'mu4e)
      (global-set-key (kbd "C-x m") 'mu4e-compose-new))
    :config
    (progn
      (evilified-state-evilify-map mu4e-main-mode-map
        :mode mu4e-main-mode
        :bindings
        (kbd "j") 'mu4e~headers-jump-to-maildir)
      (evilified-state-evilify-map mu4e-headers-mode-map
        :mode mu4e-headers-mode)
      (evilified-state-evilify-map mu4e-view-mode-map
        :mode mu4e-view-mode)

      (setq mu4e-completing-read-function
            (if (configuration-layer/layer-usedp 'spacemacs-ivy)
                'ivy-completing-read
              'helm-completing-read))

      (add-to-list 'mu4e-view-actions<commit_msg>mu4e: use helm--completing-read-default<commit_after>;;; packages.el --- mu4e Layer packages File for Spacemacs
;;
;; Copyright (c) 2012-2016 <NAME> & Contributors
;;
;; Author: <NAME> <<EMAIL>>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3

(setq mu4e-packages
      '(
        (mu4e :skip-install t)
        mu4e-maildirs-extension
        org
        ))

(defun mu4e/init-mu4e ()
  (use-package mu4e
    :commands (mu4e mu4e-compose-new)
    :init
    (progn
      (spacemacs/set-leader-keys "a M" 'mu4e)
      (global-set-key (kbd "C-x m") 'mu4e-compose-new))
    :config
    (progn
      (evilified-state-evilify-map mu4e-main-mode-map
        :mode mu4e-main-mode
        :bindings
        (kbd "j") 'mu4e~headers-jump-to-maildir)
      (evilified-state-evilify-map mu4e-headers-mode-map
        :mode mu4e-headers-mode)
      (evilified-state-evilify-map mu4e-view-mode-map
        :mode mu4e-view-mode)

      (setq mu4e-completing-read-function
            (if (configuration-layer/layer-usedp 'spacemacs-ivy)
                'ivy-completing-read
              'helm--completing-read-default))

      (add-to-list 'mu4e-view-actions
{'fraction_non_alphanumeric': 0.14526315789473684, 'fraction_numerical': 0.026526315789473683, 'mean_word_length': 2.3417721518987342, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 2, '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': '2861234', 'n_tokens_mistral': 959, 'n_tokens_neox': 908, 'n_words': 161}