From c1921f7238de60d33b0655c65b179977f7ab973a Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 30 Aug 2021 08:54:30 -0500 Subject: Delete commented flyspell blocks It ... /just works/ ??? --- init.el | 68 ----------------------------------------------------------------- 1 file changed, 68 deletions(-) diff --git a/init.el b/init.el index e4b87ab..74f3258 100644 --- a/init.el +++ b/init.el @@ -505,74 +505,6 @@ like a dumbass." (define-key flyspell-mode-map (kbd (car keybind)) (cdr keybind)))))) -;; (setup flyspell -;; ;; follow the directions here: https://old.reddit.com/r/emacs/comments/dgj0ae -;; ;; in short: -;; ;; - download hunspell from GitHub and put in ~/usr/bin -;; ;; - download LibreOffice English dictionaries and put in -;; ;; ~/usr/share/hunspell -;; (setq-default -;; flyspell-issue-message-flag nil -;; ispell-program-name "hunspell" -;; ispell-dictionary "default" -;; ispell-personal-dictionary "~/.hunspell_personal" -;; ispell-local-dictionary-alist '(("default" -;; "[[:alpha:]]" "[^[:alpha:]]" -;; "[']" nil -;; ("-d" "en_US") nil utf-8))) - -;; (acdw/system -;; (:work (let ((dicpath (expand-file-name "~/usr/share/hunspell/"))) -;; (setenv "DICPATH" dicpath)))) - -;; ;; new variable `ispell-hunspell-dictionary-alist' is defined in Emacs -;; ;; If it's nil, Emacs tries to automatically set up the dictionaries. -;; (when (boundp 'ispell-hunspell-dictionary-alist) -;; (setq ispell-hunspell-dictionary-alist ispell-local-dictionary-alist)) - -;; (:needs ispell-program-name) ; don't proceed if not installed - -;; (unless (file-exists-p ispell-personal-dictionary) -;; (write-region "" nil ispell-personal-dictionary nil 0)) - -;; (when (executable-find ispell-program-name) -;; (add-hook 'text-mode-hook #'flyspell-mode) -;; (add-hook 'prog-mode-hook #'flyspell-prog-mode)) - -;; (:when-loaded -;; (setup (:straight flyspell-correct) -;; (:with-map flyspell-mode-map -;; (:bind "C-;" flyspell-correct-wrapper -;; ;; Remove all other binds -;; "C-," nil -;; "C-." nil -;; "C-M-i" nil))))) - -;; (setup flyspell -;; (:option -;; flyspell-issue-message-flag nil -;; ispell-program-name "aspell" -;; ispell-dictionary "en_US" -;; ispell-personal-dictionary "~/.dictionary" -;; ispell-extra-args '("--sug-mode=ultra" "--lang=en_US")) - -;; (:needs ispell-program-name) - -;; (unless (file-exists-p ispell-personal-dictionary) -;; (write-region "" nil ispell-personal-dictionary nil 0)) - -;; (add-hook 'text-mode-hook #'flyspell-mode) -;; (add-hook 'prog-mode-hook #'flyspell-prog-mode) - -;; (:when-loaded -;; (setup (:straight flyspell-correct) -;; (:with-map flyspell-mode-map -;; (:bind "C-;" flyspell-correct-wrapper -;; ;; Remove other binds -;; "C-," nil -;; "C-." nil -;; "C-M-i" nil))))) - (setup frames (:option frame-title-format '("%b@" (:eval -- cgit 1.4.1-21-gabe81