<commit_before>(require 'smart-mode-line)

;; (setq sml/mode-width 50)
(setq sml/shorten-modes nil)            ; https://github.com/Bruce-Connor/smart-mode-line/issues/12
(if after-init-time (sml/setup)
    (add-hook 'after-init-hook 'sml/setup))

(add-to-list 'sml/replacer-regexp-list '("^~/Dropbox/" ":DB:"))
(add-to-list 'sml/replacer-regexp-list '("^~/Code/investor-bridge" ":IB:"))
(add-to-list 'sml/replacer-regexp-list '("^~/.*/lib/ruby/gems" ":GEMS" ))
<commit_msg>Setting sml/mode-width to any value prevents the sml hang issue.<commit_after>(require 'smart-mode-line)

(setq sml/mode-width 25) ; https://github.com/Bruce-Connor/smart-mode-line/issues/12
;; (setq sml/shorten-modes nil)
(if after-init-time (sml/setup)
    (add-hook 'after-init-hook 'sml/setup))

(add-to-list 'sml/replacer-regexp-list '("^~/Dropbox/" ":DB:"))
(add-to-list 'sml/replacer-regexp-list '("^~/Code/investor-bridge" ":IB:"))
(add-to-list 'sml/replacer-regexp-list '("^~/.*/lib/ruby/gems" ":GEMS" ))

{'fraction_non_alphanumeric': 0.22975708502024292, 'fraction_numerical': 0.008097165991902834, 'mean_word_length': 4.151041666666667, 'pattern_counts': {'":': 6, '<': 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': '5794286', 'n_tokens_mistral': 435, 'n_tokens_neox': 414, 'n_words': 63}