<commit_before>;;; packages.el -- Emacs package management
(require 'package)

(defvar pjones:package-archives
  '(("melpa" . "http://melpa.org/packages/")
    ("org"   . "http://orgmode.org/elpa/"))
  "List of package archives to use with Emacs.")

(defvar pjones:packages
  '( bbdb
     beginend
     bm
     circe
     circe-notifications
     color-theme-sanityinc-tomorrow
     company
     company-flx
     company-ghc
     dante
     deft
     dictionary
     dired-collapse
     dired-narrow
     dired-subtree
     flx
     flx-ido
     flycheck
     gist
     google-contacts
     graphviz-dot-mode
     indium
     haskell-mode
     highlight-indent-guides
     htmlize
     http
     hydra
     inf-ruby
     js2-mode
     magit
     markdown-mode
     nix-mode
     no-littering
     org
     org-tree-slide
     passmm
     rainbow-mode
     rhtml-mode
     ruby-end
     scad-mode
     smex
     smtpmail-multi
     yaml-mode
     yasnippet
   )
  "A list of packages to ensure are installed at launch.")

;; Prepare package management
(package-initialize)

(dolist (archive pjones:package-archives)
  (add-to-list 'package-archives archive))

;; Make sure all the packages are installed
(defun pjones:install-packages ()
  (package-refresh-contents)<commit_msg>Add package `ido-completing-read+' for Magit<commit_after>;;; packages.el -- Emacs package management
(require 'package)

(defvar pjones:package-archives
  '(("melpa" . "http://melpa.org/packages/")
    ("org"   . "http://orgmode.org/elpa/"))
  "List of package archives to use with Emacs.")

(defvar pjones:packages
  '( bbdb
     beginend
     bm
     circe
     circe-notifications
     color-theme-sanityinc-tomorrow
     company
     company-flx
     company-ghc
     dante
     deft
     dictionary
     dired-collapse
     dired-narrow
     dired-subtree
     flx
     flx-ido
     flycheck
     gist
     google-contacts
     graphviz-dot-mode
     indium
     haskell-mode
     highlight-indent-guides
     htmlize
     http
     hydra
     ido-completing-read+
     inf-ruby
     js2-mode
     magit
     markdown-mode
     nix-mode
     no-littering
     org
     org-tree-slide
     passmm
     rainbow-mode
     rhtml-mode
     ruby-end
     scad-mode
     smex
     smtpmail-multi
     yaml-mode
     yasnippet
   )
  "A list of packages to ensure are installed at launch.")

;; Prepare package management
(package-initialize)

(dolist (archive pjones:package-archives)
  (add-to-list 'package-archives archive))

;; Make sure all the packages are installed
(defun pjones:install-packages ()
  (package-refresh-contents)
{'fraction_non_alphanumeric': 0.09038682497127537, 'fraction_numerical': 0.0007659900421294523, 'mean_word_length': 2.204907975460123, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1253960', 'n_tokens_mistral': 897, 'n_tokens_neox': 873, 'n_words': 198}