<commit_before>(server-start)

(setq server-window 'pop-to-buffer-same-window)


(menu-bar-mode 0)

(tool-bar-mode 0)


(require 'package)

(setq-default package-archives nil
	      package-enable-at-startup nil)

(package-initialize)


(eval-when-compile
  (require 'use-package))

(setq-default use-package-always-defer t
	      use-package-always-ensure t)


;; https://stackoverflow.com/a/18330742

(defvar --backup-directory
  (concat user-emacs-directory "backups"))

(unless (file-exists-p --backup-directory)
  (make-directory --backup-directory t))

(add-to-list 'backup-directory-alist `("." . ,--backup-directory))

(setq make-backup-files         t
      backup-by-copying         t
      version-control           t
      delete-old-versions       t
      delete-by-moving-to-trash t
      kept-old-versions         2
      kept-new-versions         6
      auto-save-default         t
      auto-save-timeout         20
      auto-save-interval        200)


(setq custom-file "~/.emacs.d/private/local/custom.el")


(load-theme 'wombat)


(global-set-key (kbd "C-x C-k") 'kill-this-buffer)


(setq c-default-style      "k&r"
      c-basic-offset       4
      emacs-lisp-mode-hook '(fci-mode paredit-mode
			     rainbow-delimiters-mode)
      js-indent-level      2
      text-mode-hook       '(text-mode-hook-identify))<commit_msg>emacs: set default fill-column to 80<commit_after>(server-start)

(setq server-window 'pop-to-buffer-same-window)


(menu-bar-mode 0)

(tool-bar-mode 0)


(require 'package)

(setq-default package-archives nil
	      package-enable-at-startup nil)

(package-initialize)


(eval-when-compile
  (require 'use-package))

(setq-default use-package-always-defer t
	      use-package-always-ensure t)


;; https://stackoverflow.com/a/18330742

(defvar --backup-directory
  (concat user-emacs-directory "backups"))

(unless (file-exists-p --backup-directory)
  (make-directory --backup-directory t))

(add-to-list 'backup-directory-alist `("." . ,--backup-directory))

(setq make-backup-files         t
      backup-by-copying         t
      version-control           t
      delete-old-versions       t
      delete-by-moving-to-trash t
      kept-old-versions         2
      kept-new-versions         6
      auto-save-default         t
      auto-save-timeout         20
      auto-save-interval        200)


(setq custom-file "~/.emacs.d/private/local/custom.el")


(load-theme 'wombat)


(global-set-key (kbd "C-x C-k") 'kill-this-buffer)


(setq c-default-style      "k&r"
      c-basic-offset       4
      emacs-lisp-mode-hook '(fci-mode paredit-mode
			     rainbow-delimiters-mode)
      js-indent-level      2
      text-mode-hook       '(text-mode-hook-identify))


(setq-default fill-column 80)
{'fraction_non_alphanumeric': 0.13740458015267176, 'fraction_numerical': 0.015267175572519083, 'mean_word_length': 2.2452830188679247, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1829886', 'n_tokens_mistral': 1009, 'n_tokens_neox': 953, 'n_words': 173}