<commit_before>; http://nschum.de/src/emacs/company-mode/
(autoload 'company-mode "company" nil t)
(setq company-minimum-prefix-length 1)

(require 'pysmell)
(add-hook 'python-mode-hook (lambda () (pysmell-mode 1)))

(require 'company-ropemacs)
(require 'company-abbrev)
(require 'company-css)
(require 'company-elisp)
(require 'company-etags)
(require 'company-ispell)
(require 'company-files)
(require 'company-nxml)

(defun indent-or-complete ()
    (interactive)
    (if (looking-at "\\_>")
        (company-complete-common)
      (indent-according-to-mode)))


(setq company-show-numbers nil)
(dolist (hook (list
               'emacs-lisp-mode-hook
               'lisp-mode-hook
               'lisp-interaction-mode-hook
               'cperl-mode-hook
               'quack-mode-hook
               ;'c-mode-hook
               ;'c++-mode-hook
               ;'java-mode-hook
               'sh-mode-hook
               ))
  (add-hook hook 'company-mode))


(global-set-key "\t" 'indent-or-complete)<commit_msg>Commented out adding cperl mode to company<commit_after>; http://nschum.de/src/emacs/company-mode/
(autoload 'company-mode "company" nil t)
(setq company-minimum-prefix-length 1)

(require 'pysmell)
(add-hook 'python-mode-hook (lambda () (pysmell-mode 1)))

(require 'company-ropemacs)
(require 'company-abbrev)
(require 'company-css)
(require 'company-elisp)
(require 'company-etags)
(require 'company-ispell)
(require 'company-files)
(require 'company-nxml)

(defun indent-or-complete ()
    (interactive)
    (if (looking-at "\\_>")
        (company-complete-common)
      (indent-according-to-mode)))


(setq company-show-numbers nil)
(dolist (hook (list
               'emacs-lisp-mode-hook
               'lisp-mode-hook
               'lisp-interaction-mode-hook
               ; 'cperl-mode-hook
               'quack-mode-hook
               ;'c-mode-hook
               ;'c++-mode-hook
               ;'java-mode-hook
               'sh-mode-hook
               ))
  (add-hook hook 'company-mode))


(global-set-key "\t" 'indent-or-complete)
{'fraction_non_alphanumeric': 0.15306615161757606, 'fraction_numerical': 0.001931434089811685, 'mean_word_length': 2.3205128205128207, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '781534', 'n_tokens_mistral': 725, 'n_tokens_neox': 704, 'n_words': 127}