Questions tagged [flyspell]

Flyspell enables on-the-fly spell checking in Emacs by the means of a minor mode (called Flyspell).

Filter by
Sorted by
Tagged with
3
votes
1answer
3k views

Error enabling flyspell mode in Emacs

I use flyspell hunspell for checking my spelling mistakes in Emacs. Recently, when I run M-x flyspell-mode in .org or .tex files I got the following error: Error enabling Flyspell mode: (hunspell ...
0
votes
0answers
14 views

Error enabling Flyspell mode: Can't open ISO-8859-1

I have downloaded the hunspell build nto ~/lib/hunspell on my windows machine. I have included these lines in my .emacs.d config (setq tian/hunspell-directory (concat (expand-file-name "~/&...
2
votes
1answer
40 views

Flyspell: Ignore comments in LaTeX-documents

Whenever I run flyspell-buffer (using hunspell) in a LaTeX-document, my comments marked with % are spell-checked aswell, although I don't want them to be spell-checked. The simplest solution (setq ...
0
votes
0answers
11 views

Flyspell won't show suggestions in LaTeX [process ispell not running]

I have decided to use aspell as a spell-checker and installed it via msys2 (Windows). The command flyspell-buffer works without a problem for all file types. The weird thing is, though, that I only ...
1
vote
0answers
26 views

Combine `flyspell-region` with`writegood-mode`

I would like to combine flyspell-region with writegood-mode, but writegood-mode does not provide a function to check a region of text. This is what I came up with to work around the limitation: (defun ...
1
vote
1answer
33 views

flyspell error enabling with nuspell

I want to use nuspell as my spellchecker for emacs. I have installed dictionary and it works fine when I call the program from terminal. But I got the following msg in emacs: Error enabling Flyspell ...
2
votes
1answer
197 views

flyspell's highlight cleared after a “save word” action

After running flyspell-buffer, all misspelled words are highlighted. However, after saving a word, all of the highlighting is gone. How can I avoid that? My flyspell-persistent-highlight is set t.
0
votes
1answer
261 views

flyspell overrides company key bindings

I have the following in my init file. ;; ======= Company mode set up ============ (use-package company :ensure t :defer t :init (add-hook 'after-init-hook 'global-company-mode) :config (use-...
0
votes
1answer
240 views

Closing flyspell correction suggestions popup

If I goto correct a word with flyspell-correct-at-point, a word suggestion box will appear, as expected. Unfortunately I cannot close this suggestion box with escape I have to use C-g. Any ideas on ...
23
votes
4answers
5k views

How to use Flyspell to efficiently correct previous word?

From the moment when I started using Flyspell, it always was painful to use. I rarely check entire buffer for misspelled words, usually I type and once I see underlined word I want to correct it ...
0
votes
0answers
22 views

Enable flyspell for org-mode source blocks

I am using org-mode to write an interactive fiction with the inform7 language. In particular, I write all the inform7 into source blocks and then use the org-babel-tangle function. As inform7 is ...
1
vote
1answer
228 views

Error enabling Flyspell mode (Error: No word lists can be found for the language “en_US”)

I recently saw my emacs (GNU Emacs 27.1 running on Arch Linux) throw this error: Error enabling Flyspell mode: (Error: No word lists can be found for the language "en_US".) when I visited a ...
0
votes
1answer
48 views

Flyspell not reading the complete word - FRENCH LANGUAGE

I am using flyspell for the first time. For word with "^" inside, it looks like they are read as two separate words. For example, below, the word "maître" is underlined, and the ...
0
votes
0answers
9 views

Flyspell overwrites C, C. ; modifying local-set-key after flyspell-mode-hook fails to change behavior

Flyspell sets the keys C-. and C-,. I prefer to have other binds living on these keys. I would have assumed locally setting keys in flyspell-mode-hook would have fixed this: (add-hook 'flyspell-...
2
votes
2answers
2k views

Beginner: Doom Emacs, or Emacs in general: Which program is used for spellcheck-as-you-write in text mode and how to change its dictionary

I am learning how to work with Emacs on Ubuntu 20.04. After going through Tutorial and using default key-bindings for some time, I have decided to test more ergonomic (at least for me) setup - that is ...
1
vote
1answer
67 views

flyspell no longer working on emacs28

Whenever I enable flyspell-mode on any file, I immediately get the below error: Error in post-command-hook (flyspell-post-command-hook): (wrong-type-argument keymapp nil) And after that flyspell ...
1
vote
2answers
103 views

flyspell and ispell give too many spelling suggestions

I'm using flyspell mode with aspell under the hood. Emacs 27.1 installed using Homebrew on macOS Mojave. This behavior happens both with my normal configuration as well as emacs -Q. I looked through M-...
0
votes
0answers
39 views

Contstant getting “Blocking call to accept-process-output with quit inhibited!” with flyspell mode

After I installed aspell with Emacs 26.3 and turned on flyspell mode, I constantly get the message: Blocking call to accept-process-output with quit inhibited! How to suppress these messages?
4
votes
0answers
72 views

Ispell + Hunspell recognizes everything after the apostrophe a different word

I'm using flyspell-mode with ispell and hunspell - as the dictionary backend, the problem is: if I type a word, for example you've or you're it recognizes ve and re as individual words. I want to fix ...
0
votes
1answer
75 views

Is it possible to disable flycheckspell for specific file names in text-mode?

I am actively using flyspell on all text files under text-mode. For example: Under requirements.txt text file I am keeping my python packages where I do not need to enable flyspell. But since it is a ...
4
votes
2answers
2k views

How to speed up flyspell-mode?

When flyspell-mode is active, typing is somewhat – although barely noticeable – more sluggish than without, also marking of words. Is it possible to somehow speed up flyspell-mode, maybe make it not ...
12
votes
5answers
7k views

aspell with emacs 26.1 on ms windows

After updating emacs to version 26.1 on a windows machine, I get the following error message from flyspell: Error enabling Flyspell mode: (c:/Program Files (x86)/Aspell/bin/aspell.exe release 0.60 or ...
0
votes
0answers
48 views

Turn off flyspell mode for Greek and Hebrew but not English

I have flyspell activated for certain document types, e.g. txt and org. If I want to turn off flyspell for a specific document, I add # -*- eval: (flyspell-mode -1); -*- to the top of the file. This ...
1
vote
1answer
1k views

How to hook to functions?

I want to center my screen after calling flyspell-goto-next-error. If you have a "direct" solution please let me know, but I encounter the following issue more often: I'm looking to hook to the ...
0
votes
1answer
58 views

Disable clickable links for misspelled words (flyspell)

Is there a way to disable the way flyspell converts misspelled words into clickable links, as well as the background colour (pink, at least for my colour theme) it uses? I find it confusing and ...
0
votes
0answers
53 views

How to use spell checking in PO mode for gettext translations files?

I've tried function I use my my Markdown and Polymode when editing my Jekyll blog with po-mode but it don't work at all: I have code like this: (defun lang (lang) (interactive "sLanguage: ") (...
1
vote
0answers
52 views

How to apply change from flyspell correction popup in Markdown mode?

This seems like such a dumb question. I'm using spacemacs and have in configuration-layers (spell-checking :variables enable-flyspell-auto-completion t) So I'm in markdown and I ...
1
vote
1answer
25 views

How do I get flyspell to ignore pandoc citations in markdown

Flyspell regularly shows pandoc citations as a spelling error in markdown documents. For example @chu2017 will come up as a spelling error for 'chu'. How can I get Flyspell ignore the citations and ...
4
votes
2answers
4k views

Ispell can't find my dictionary

I'm running Emacs on MacOS and I installed aspell and its English dictionaries through nix. When I open a file, flyspell throws the following error. Error enabling Flyspell mode: (Error: No word ...
4
votes
1answer
802 views

How to quiet “Starting new Ispell process” on opening every file?

Using flyspell by default is handy, but the message on every file gets annoying (especially since it doesnt go away). eg: Starting new Ispell process /usr/bin/aspell with american dictionary... Is ...
6
votes
0answers
114 views

Flyspell breaks on special characters

Problematic Behavior Special characters appear to split words in flyspell even if the words are in my dictionary: How can I fix this? Flyspell Configuration Details I am using the ispell backend ...
21
votes
1answer
3k views

How does one use flyspell in org buffers without flyspell triggering on tangled code blocks?

Imagine an org buffer in Emacs like: * Title Some text describing the title and the codew (sic) and whatnot. #+BEGIN_SRC emacs_lisp (setq backup-by-copying t) #+END_SRC I want flyspell to check ...
4
votes
2answers
366 views

Skip flyspell checking of ~code~ and =verbatim= regions in Org mode

First some disambiguation: This Endless Parentheses page demonstrates how to use ispell-skip-region-alist to skip =code= and =verbatim= blocks with ispell… (defun endless/org-ispell () "...
1
vote
1answer
382 views

Enabling `flyspell-prog-mode` starts `flyspell-mode` instead

I've been playing with flyspell lately and with my recently established setup for spell-check, I wanted to enable it for all modes. I found that flyspell-mode and flyspell-prog-mode are best for text-...
1
vote
0answers
59 views

Setting LOCAL aspell dictionary size

How to set local (per buffer) dictionary size used by aspell? [aspell is used by my emacs as "ispell look alike"] It can be set by --size=NN command line option of aspell. I would like to set it via ...
0
votes
0answers
53 views

Flyspell Not Working in AucTeX

A while back flyspell stopped working for me in AucTeX. I've been cleaning out my init.el file to see if I could fix the problem. I can still do M-x flyspell-mode when in a .tex file. But, I still ...
4
votes
1answer
793 views

Run flyspell-buffer automatically after emacs loads a (tex)-file

I want to load flyspell-mode and execute flyspell-buffer automatically after emacs loaded a tex file. I tried the following which loads flyspell-mode but doesn't seem to execute flyspell-buffer. What ...
2
votes
0answers
128 views

Writing on Emacs: Spell + Grammar + More checking? [duplicate]

There is something I never found how to manage correctly on Emacs: advance spell checking. I know that a lot of modes allow spell check (flyspell, hunspell...) but what I really wonder is: is it ...
1
vote
1answer
372 views

How to improve flyspell performance loading files?

On loading large files (~2000+ lines for example), flyspell takes a few seconds to Run. Is there a way to have flyspell delay applying to the entire buffer on load? Only run on visible text for ...
2
votes
1answer
300 views

flyspell does not start form the first try

I used flyspell-mode with aspell backend before, but now I want to make the transition to the hunspell so that I could use multiple dictionaries. To do so, I added the following lines to the init.el: ...
2
votes
2answers
147 views

Show current ispell dictionary in modeline

FlyCheck had dynamic modeline that shows real-time errors information: FlyC:0/21 How to have the similar ability for flyspell, to show the current dictionary used in the current buffer, the info ...
2
votes
4answers
942 views

Improving spell correction

I'm currently using Flyspell to auto-correct the previous word as I type, which is convenient. However, the spell-checker I use, Hunspell, makes some strange decisions. For example, the misspelled ...
4
votes
1answer
230 views

How to set the local dictionary in a *Org Note* buffer?

I am using different flyspell/ispell dictionaries for different buffers/files setting the file local variable ispell-local-dictionary, respectively. But if I want to log e.g. a TODO state change a *...
6
votes
0answers
68 views

Can I have a different dictionary for flyspell in different headings?

I have an org-mode file where I use different languages. I was hoping to be able to have flyspell checking them. Something like: * Title 1 :PROPERTIES: :Language: Italian :END: This is italian text ...
2
votes
1answer
127 views

mmm-mode and flyspell

I use mmm-mode in order to add python code in LaTeX. So i have something like this in my emacs config: (use-package mmm-mode :ensure t :config (mmm-add-group 'latex-python '((latex-...
0
votes
1answer
324 views

Error when using spell-checker in Portuguese

I wrote a text file in Portuguese. I have changed my dictionary to portugues. I tried to spell-check buffer and I get the following error message: Starting new Ispell process aspell with portugues ...
0
votes
1answer
453 views

Problem with flyspell in Emacs 26

After upgrading to Emacs 26, I have been having a problem when flyspell checks a document in Spanish. More precisely, flyspell doesn’t recognize accents and erroneously considers accented words like “...
1
vote
0answers
226 views

How can i set flyspell to Italian

still have some problem to configure emacs: I use orgmode to write principally in italian, but also in english. So i want to use flyspell to check either language. I google and i find this blog. ...
2
votes
1answer
221 views

git-commit-mode with flyspell very slow

I use emacsclient as my git commit editor. This is what I have in my init file: (require 'git-commit) (add-hook 'git-commit-mode-hook 'turn-on-flyspell) I just made a huge commit (update of a third-...
0
votes
1answer
90 views

AUCTeX's TeX-complete-symbol with flyspell

I'm trying to make use of the autocomplete facilities of AUCTeX using M-TAB (actually, through the equivalent binding C-M-i), but apparently, when using flyspell-mode alongside with LaTeX-mode the ...