<commit_before>;; use common lisp extensions below
(eval-when-compile (require 'cl))

;; start server for emacsclient
(when window-system
  (condition-case nil
      (let ((warning-minimum-level :error))
        (server-start))
    (error nil)))

;; go ahead and kill clients without prompting
(remove-hook 'kill-buffer-query-functions
             'server-kill-buffer-query-function)

;; disable startup message
(setq inhibit-startup-message t)

;; no beeping
(setq visible-bell t)
(setq ring-bell-function 'ignore)

;; leave the scratch buffer empty by default
(setq initial-scratch-message nil)

;; never use tabs to indent
(setq-default indent-tabs-mode nil)

;; truncate long lines, don't wrap
(setq-default truncate-lines t)

;; follow symlinks to source-controlled locations without prompting
(setq vc-follow-symlinks t)

;; no menu bar on console or X
(if (or (not window-system)
        (eq window-system 'x))
    (menu-bar-mode -1))

;; no tool bar<commit_msg>Only hide menu bar on console<commit_after>;; use common lisp extensions below
(eval-when-compile (require 'cl))

;; start server for emacsclient
(when window-system
  (condition-case nil
      (let ((warning-minimum-level :error))
        (server-start))
    (error nil)))

;; go ahead and kill clients without prompting
(remove-hook 'kill-buffer-query-functions
             'server-kill-buffer-query-function)

;; disable startup message
(setq inhibit-startup-message t)

;; no beeping
(setq visible-bell t)
(setq ring-bell-function 'ignore)

;; leave the scratch buffer empty by default
(setq initial-scratch-message nil)

;; never use tabs to indent
(setq-default indent-tabs-mode nil)

;; truncate long lines, don't wrap
(setq-default truncate-lines t)

;; follow symlinks to source-controlled locations without prompting
(setq vc-follow-symlinks t)

;; no menu bar on console
(unless window-system
  (menu-bar-mode -1))

;; no tool bar
{'fraction_non_alphanumeric': 0.11297071129707113, 'fraction_numerical': 0.0010460251046025104, 'mean_word_length': 3.905128205128205, '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': '686775', 'n_tokens_mistral': 596, 'n_tokens_neox': 582, 'n_words': 201}