<commit_before>;;----------------------------------------------------------------------------
;; Show and edit all lines matching a regex
;;----------------------------------------------------------------------------
;(require 'all)


;;----------------------------------------------------------------------------
;; Don't disable narrowing commands
;;----------------------------------------------------------------------------
(put 'narrow-to-region 'disabled nil)
(put 'narrow-to-page 'disabled nil)
(put 'narrow-to-defun 'disabled nil)


;;----------------------------------------------------------------------------
;; Autopair quotes and parentheses
;;----------------------------------------------------------------------------
(require 'autopair)
(autopair-global-mode)
(setq autopair-autowrap t)


;;----------------------------------------------------------------------------
;; Supercharge undo/redo
;;----------------------------------------------------------------------------
(require 'undo-tree)
(global-undo-tree-mode)

(require 'diminish)
(eval-after-load "undo-tree" '(diminish 'undo-tree-mode))


;;----------------------------------------------------------------------------
;; Don't disable case-change functions
;;----------------------------------------------------------------------------
(put 'upcase-region 'disabled nil)
(put 'downcase-region 'disabled nil)
<commit_msg>Don't enable autopair mode globally<commit_after>;;----------------------------------------------------------------------------
;; Show and edit all lines matching a regex
;;----------------------------------------------------------------------------
;(require 'all)


;;----------------------------------------------------------------------------
;; Don't disable narrowing commands
;;----------------------------------------------------------------------------
(put 'narrow-to-region 'disabled nil)
(put 'narrow-to-page 'disabled nil)
(put 'narrow-to-defun 'disabled nil)


;;----------------------------------------------------------------------------
;; Autopair quotes and parentheses
;;----------------------------------------------------------------------------
(require 'autopair)
(setq autopair-autowrap t)


;;----------------------------------------------------------------------------
;; Supercharge undo/redo
;;----------------------------------------------------------------------------
(require 'undo-tree)
(global-undo-tree-mode)

(require 'diminish)
(eval-after-load "undo-tree" '(diminish 'undo-tree-mode))


;;----------------------------------------------------------------------------
;; Don't disable case-change functions
;;----------------------------------------------------------------------------
(put 'upcase-region 'disabled nil)
(put 'downcase-region 'disabled nil)

{'fraction_non_alphanumeric': 0.6176154672395274, 'fraction_numerical': 0.0, 'mean_word_length': 0.6131639722863741, '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': '3179503', 'n_tokens_mistral': 500, 'n_tokens_neox': 477, 'n_words': 123}