Re:Emacs 26.2 Released
by anotheryou on Saturday April 13, 2019 @04:02AM
(#19651683)
same here. I'm totally fluid in org, but navigating files, a simple search and replace, finding the spell check suggestions: all still hard
[ Parent
| on HN ]
Re:Emacs 26.2 Released
by michaelmrose on Saturday April 13, 2019 @01:50PM
(#19654555)
Basically just start flyspell mode in the modes you prefer including only for comments with flyspell-prog-mode and configure as desired.
(use-package flyspell
:config
(setq ispell-program-name "/usr/sbin/aspell")
(setq flyspell-consider-dash-as-word-delimiter-flag t)
(define-key flyspell-mode-map (kbd "C-:") 'flyspell-correct-wrapper)
)
(use-package flyspell-correct)
(use-package flyspell-correct-ivy)
you may want a binding to add the word at point to your dictionary I swiped this function for somewhere (defun my-save-word ()
(interactive)
(let ((current-location (point))
(word (flyspell-get-word)))
(when (consp word)
(flyspell-do-correct 'save nil (car word) current-location (cadr word) (caddr word) current-location))))