<commit_before>;; Disable backup files.
(setq-default make-backup-files nil)

;; Use spaces instead of tabs.
(setq-default indent-tabs-mode nil)

;; Set the fill column (for wrapping).
(setq-default fill-column 80)

;; Show the current column.
(setq-default column-number-mode t)

;; Hide menu bar, toolbar, and scroll bar.
(if (display-graphic-p)
    (progn
      (tool-bar-mode -1)
      (scroll-bar-mode -1)))
(menu-bar-mode -1)

;; Cursor settings.
(bar-cursor-mode 1)

;; Set the default browser to Chrome.
(if (eq system-type 'darwin)
    (setq browse-url-generic-program "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
          browse-url-browser-function 'browse-url-generic)
  (setq browse-url-browser-function 'browse-url-chrome))

;; Load changes from disk into buffer if changes are made outside of Emacs.
(global-auto-revert-mode t)

;; Disable warnings for various settings.
(put 'narrow-to-region 'disabled nil)<commit_msg>disable dired mode on mac os<commit_after>;; Disable backup files.
(setq-default make-backup-files nil)

;; Use spaces instead of tabs.
(setq-default indent-tabs-mode nil)

;; Set the fill column (for wrapping).
(setq-default fill-column 80)

;; Show the current column.
(setq-default column-number-mode t)

;; Hide menu bar, toolbar, and scroll bar.
(if (display-graphic-p)
    (progn
      (tool-bar-mode -1)
      (scroll-bar-mode -1)))
(menu-bar-mode -1)

;; Cursor settings.
(bar-cursor-mode 1)

;; Set the default browser to Chrome.
(if (eq system-type 'darwin)
    (setq browse-url-generic-program "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
          browse-url-browser-function 'browse-url-generic)
  (setq browse-url-browser-function 'browse-url-chrome))

;; Load changes from disk into buffer if changes are made outside of Emacs.
(global-auto-revert-mode t)

;; Disable warnings for various settings.
(put 'narrow-to-region 'disabled nil)

;; Disable dired mode on Mac OS.
(when (string= system-type "darwin")
  (setq dired-use-ls-dired nil))
{'fraction_non_alphanumeric': 0.1302417365564874, 'fraction_numerical': 0.0059200789343857915, 'mean_word_length': 3.7383177570093458, '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': '3214833', 'n_tokens_mistral': 694, 'n_tokens_neox': 668, 'n_words': 207}