diff options
author | Case Duckworth | 2021-08-30 08:54:30 -0500 |
---|---|---|
committer | Case Duckworth | 2021-08-30 08:54:30 -0500 |
commit | c1921f7238de60d33b0655c65b179977f7ab973a (patch) | |
tree | 8827ec525156b4a548268da2170b522cc0910eed | |
parent | Add persistent-scratch (diff) | |
download | emacs-c1921f7238de60d33b0655c65b179977f7ab973a.tar.gz emacs-c1921f7238de60d33b0655c65b179977f7ab973a.zip |
Delete commented flyspell blocks
It ... /just works/ ???
-rw-r--r-- | init.el | 68 |
1 files changed, 0 insertions, 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." | |||
505 | (define-key flyspell-mode-map | 505 | (define-key flyspell-mode-map |
506 | (kbd (car keybind)) (cdr keybind)))))) | 506 | (kbd (car keybind)) (cdr keybind)))))) |
507 | 507 | ||
508 | ;; (setup flyspell | ||
509 | ;; ;; follow the directions here: https://old.reddit.com/r/emacs/comments/dgj0ae | ||
510 | ;; ;; in short: | ||
511 | ;; ;; - download hunspell from GitHub and put in ~/usr/bin | ||
512 | ;; ;; - download LibreOffice English dictionaries and put in | ||
513 | ;; ;; ~/usr/share/hunspell | ||
514 | ;; (setq-default | ||
515 | ;; flyspell-issue-message-flag nil | ||
516 | ;; ispell-program-name "hunspell" | ||
517 | ;; ispell-dictionary "default" | ||
518 | ;; ispell-personal-dictionary "~/.hunspell_personal" | ||
519 | ;; ispell-local-dictionary-alist '(("default" | ||
520 | ;; "[[:alpha:]]" "[^[:alpha:]]" | ||
521 | ;; "[']" nil | ||
522 | ;; ("-d" "en_US") nil utf-8))) | ||
523 | |||
524 | ;; (acdw/system | ||
525 | ;; (:work (let ((dicpath (expand-file-name "~/usr/share/hunspell/"))) | ||
526 | ;; (setenv "DICPATH" dicpath)))) | ||
527 | |||
528 | ;; ;; new variable `ispell-hunspell-dictionary-alist' is defined in Emacs | ||
529 | ;; ;; If it's nil, Emacs tries to automatically set up the dictionaries. | ||
530 | ;; (when (boundp 'ispell-hunspell-dictionary-alist) | ||
531 | ;; (setq ispell-hunspell-dictionary-alist ispell-local-dictionary-alist)) | ||
532 | |||
533 | ;; (:needs ispell-program-name) ; don't proceed if not installed | ||
534 | |||
535 | ;; (unless (file-exists-p ispell-personal-dictionary) | ||
536 | ;; (write-region "" nil ispell-personal-dictionary nil 0)) | ||
537 | |||
538 | ;; (when (executable-find ispell-program-name) | ||
539 | ;; (add-hook 'text-mode-hook #'flyspell-mode) | ||
540 | ;; (add-hook 'prog-mode-hook #'flyspell-prog-mode)) | ||
541 | |||
542 | ;; (:when-loaded | ||
543 | ;; (setup (:straight flyspell-correct) | ||
544 | ;; (:with-map flyspell-mode-map | ||
545 | ;; (:bind "C-;" flyspell-correct-wrapper | ||
546 | ;; ;; Remove all other binds | ||
547 | ;; "C-," nil | ||
548 | ;; "C-." nil | ||
549 | ;; "C-M-i" nil))))) | ||
550 | |||
551 | ;; (setup flyspell | ||
552 | ;; (:option | ||
553 | ;; flyspell-issue-message-flag nil | ||
554 | ;; ispell-program-name "aspell" | ||
555 | ;; ispell-dictionary "en_US" | ||
556 | ;; ispell-personal-dictionary "~/.dictionary" | ||
557 | ;; ispell-extra-args '("--sug-mode=ultra" "--lang=en_US")) | ||
558 | |||
559 | ;; (:needs ispell-program-name) | ||
560 | |||
561 | ;; (unless (file-exists-p ispell-personal-dictionary) | ||
562 | ;; (write-region "" nil ispell-personal-dictionary nil 0)) | ||
563 | |||
564 | ;; (add-hook 'text-mode-hook #'flyspell-mode) | ||
565 | ;; (add-hook 'prog-mode-hook #'flyspell-prog-mode) | ||
566 | |||
567 | ;; (:when-loaded | ||
568 | ;; (setup (:straight flyspell-correct) | ||
569 | ;; (:with-map flyspell-mode-map | ||
570 | ;; (:bind "C-;" flyspell-correct-wrapper | ||
571 | ;; ;; Remove other binds | ||
572 | ;; "C-," nil | ||
573 | ;; "C-." nil | ||
574 | ;; "C-M-i" nil))))) | ||
575 | |||
576 | (setup frames | 508 | (setup frames |
577 | (:option frame-title-format '("%b@" | 509 | (:option frame-title-format '("%b@" |
578 | (:eval | 510 | (:eval |