<commit_before>;;; package --- emacs configuration
;;; Commentary:
;; Have emacs --daemon run at startup; otherwise the package
;; initialization will slow every launch

;;; Code:
;; import PATH etc; necessary since emacs starts as a daemon before
;; .bash_profile is run
(setenv "PATH" "/home/alix/bin:/home/alix/.linuxbrew/bin:/home/alix/.linuxbrew/sbin:~/.cabal/bin:/home/alix/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games")
(setq exec-path (append exec-path '("/home/alix/bin:/home/alix/.linuxbrew/bin:/home/alix/.linuxbrew/sbin:~/.cabal/bin:/home/alix/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games")))

;; https://github.com/magnars/.emacs.d/blob/master/init.el
(setq inhibit-startup-message t)

;; UTF-8 as default encoding
(set-language-environment "UTF-8")

;; Do the packaging dance
(require 'package)
(package-initialize)
(add-to-list 'package-archives
  '("melpa-stable" . "http://melpa-stable.milkbox.net/packages/") t)
;; This makes starting emacs slow as ass unless you do emacs --daemon
;; at startup
(package-refresh-contents)

;; Homebrew executables and lisp files
(add-to-list 'load-path "/usr/local/bin")
(add-to-list 'load-path "/usr/local/share/emacs/site-lisp")

;; Solarized theme
;; https://github.com/sellout/emacs-color-theme-solarized/issues/141#issuecomment-71862293
(add-to-list 'custom-theme-load-path "~/.emacs.d/vendor/emacs-color-theme-solarized")
(load-theme 'solarized t)
(setq solarized-termcolors 256)
(add-to-list 'default-frame-alist '(background-mode . dark))

(define-key global-map (kbd "C-+") 'text-scale-increase)<commit_msg>emacs: comment about overriding theme check<commit_after>;;; package --- emacs configuration
;;; Commentary:
;; Have emacs --daemon run at startup; otherwise the package
;; initialization will slow every launch

;;; Code:
;; import PATH etc; necessary since emacs starts as a daemon before
;; .bash_profile is run
(setenv "PATH" "/home/alix/bin:/home/alix/.linuxbrew/bin:/home/alix/.linuxbrew/sbin:~/.cabal/bin:/home/alix/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games")
(setq exec-path (append exec-path '("/home/alix/bin:/home/alix/.linuxbrew/bin:/home/alix/.linuxbrew/sbin:~/.cabal/bin:/home/alix/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games")))

;; https://github.com/magnars/.emacs.d/blob/master/init.el
(setq inhibit-startup-message t)

;; UTF-8 as default encoding
(set-language-environment "UTF-8")

;; Do the packaging dance
(require 'package)
(package-initialize)
(add-to-list 'package-archives
  '("melpa-stable" . "http://melpa-stable.milkbox.net/packages/") t)
;; This makes starting emacs slow as ass unless you do emacs --daemon
;; at startup
(package-refresh-contents)

;; Homebrew executables and lisp files
(add-to-list 'load-path "/usr/local/bin")
(add-to-list 'load-path "/usr/local/share/emacs/site-lisp")

;; Solarized theme
;; https://github.com/sellout/emacs-color-theme-solarized/issues/141#issuecomment-71862293
(add-to-list 'custom-theme-load-path "~/.emacs.d/vendor/emacs-color-theme-solarized")
;; `t` is important: http://stackoverflow.com/a/8547861
(load-theme 'solarized t)
(setq solarized-termcolors 256)
(add-to-list 'default-frame-alist '(background-mode . dark))

(define-key global-map (kbd "C-+") 'text-scale-increase)
{'fraction_non_alphanumeric': 0.18453427065026362, 'fraction_numerical': 0.011423550087873463, 'mean_word_length': 4.508064516129032, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '1126882', 'n_tokens_mistral': 1320, 'n_tokens_neox': 1228, 'n_words': 230}