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
1 vote
2 answers
85 views

How to solve alt-tab keybinding clash between flyspell and global keymap/org-mode?

This is about GNU Emacs 29.1 (build 8, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0): The keybinding C-M-i, equivalent to <escape><tab> or to M-Tab (the latter often ...
pglpm's user avatar
  • 301
1 vote
1 answer
70 views

Spell checking a multi-language org document, set dictionary according to property value

Is it possible to use flyspell on an org document where the dictionary is specified by a property variable? For instance * English set property to english dictionary * Italiano set property to ...
tempestcat's user avatar
0 votes
0 answers
27 views

Modify spell-fu to exclude words starting with a capital letter that are not at the start of a sentence

I am using Doom Emacs with the spell-fu package for spellchecking. I would like to modify spell-fu to ignore words that start with a capital letter and are not at the start of a sentence. For example, ...
harabat's user avatar
  • 31
0 votes
1 answer
78 views

Flyspell and/or ispell + hunspell: Quirk for contraction words (shouldn't, isn't etc. getting flagged)

When setting up my spell-checking with flyspell and hunspell, contractions such as shouldn't and isn't are getting flagged: I believe it's not (entirely) the dictionary's issue (en_GB) as when I type ...
xdl's user avatar
  • 125
1 vote
2 answers
154 views

flyspell: ignore certain words in a buffer, but not others?

There are some words I want flyspell to ignore in some buffers, but not others. For example, in one buffer I want etaoin to not be flagged by flyspell because in that context it's not a misspelling (...
Dan Drake's user avatar
  • 615
1 vote
1 answer
61 views

How to write a function that goes through every misspelled word in a buffer one by one?

I wrote the following code to realize my preferred spellchecking scheme: (defun flyspell-1by1-popup-correction () "When this function is called it first marks all incorrect words in a buffer ...
pana pana's user avatar
0 votes
1 answer
35 views

Is Javascript supported by `flyspell-prog-mode`?

Which programming languages are supported by flyspell-prog-mode? Is Javascript? I can get flyspell-prog-mode to spellcheck comments on Python buffers, but it doesn't seem to work on Javascript buffers....
Fergie's user avatar
  • 203
0 votes
0 answers
30 views

Emacs flyspell choices buffer hidden under tabbar

When using flyspell in Xemacs to correct spelling the buffer showing the list of choices is partially hidden under the tabbar elements at the top of the frame - I loose the bottom line of choices. Yup,...
rolandw's user avatar
1 vote
0 answers
39 views

How to delay flyspell also after space?

Flyspell has flyspell-delay and flyspell-delayed-commands which delay the spellchecking process when point is still in the word. However, flyspell-delay is not taken into account after typing space. ...
Victor's user avatar
  • 133
0 votes
1 answer
138 views

flyspell-buffer in flyspell-prog-mode

In my init.el I have (add-hook 'text-mode-hook 'flyspell-mode) (add-hook 'prog-mode-hook 'flyspell-prog-mode) (add-hook 'flyspell-mode-hook 'flyspell-buffer) but when I find a prog file, buffer isn't ...
Francesco Cadei's user avatar
0 votes
1 answer
101 views

Why does ispell generates a process?

After fixing ispell to work on a new machine running macOS (see previous question), I was surprised to see it listed as one of my processes, see the image: As text: Process. PID. Status. Buffer. ...
Pedro Delfino's user avatar
0 votes
1 answer
183 views

Why can't I use flyspell-mode? Error: (Searching for program No such file or directory ispell)

I am using Emacs on a macOS Monterey 12.5 with M1 hardware. This is my init file. I used to use in a Linux (NixOS) machine this init file (or something very similar) without ever having a single ...
Pedro Delfino's user avatar
2 votes
1 answer
119 views

How to insert a flyspell hook on Magit via `use-package` declaration?

I am rewriting my Emacs config file to fully use use-package and organize code. Currently, I have (use-package magit :custom (magit-display-buffer-function #'magit-display-buffer-same-window-...
Pedro Delfino's user avatar
2 votes
2 answers
959 views

Activating Hunspell or Aspell on MacOS

Sorry, newbie question: I am trying to get spell checking to work in emacs on MacOSX 12.3.1 I installed emacs-plus as well as Aspell via Homebrew. I then added the following lines to my .emacs (add-...
totti's user avatar
  • 43
1 vote
1 answer
143 views

Reload flyspell after changing ispell dictionary

Whenever I ispell-change-dictionary, I have to disable and re-enable flyspell-mode for flyspell to pick up the new dictionary. Is there a way to automate this? It probably involves a post-command-hook,...
henning's user avatar
  • 112
0 votes
1 answer
365 views

Disable flyspell-mode by default

How do you disable flyspell-mode by default in spacemacs? I don't see where it is enabled in the first place. With customize-variable I can track down global-flycheck-mode, but they seem to be ...
mcp's user avatar
  • 546
0 votes
1 answer
82 views

Flyspell and Ispell find different incorrect words

There are words that are considered to be wrong by Flyspell that are instead considered correct by Ispell. I thought that Flyspell was merely an async version of Ispell, I must be wrong... To add to ...
cYrus's user avatar
  • 222
0 votes
1 answer
1k views

Error enabling flyspell in emacs - aspell MacOS

I am having some difficulty getting flyspell/aspell to run on emacs 27.2, MacOS 12.01. I think I need to install or enable a dictionary, but no ideas on how to do this. If I type 'M-x flyspell-mode' I ...
Lindsay's user avatar
  • 37
0 votes
0 answers
39 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 "~/&...
Tian's user avatar
  • 288
2 votes
1 answer
164 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 ...
Vitus Schäfftlein's user avatar
1 vote
0 answers
46 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 ...
Rudolf Adamkovic's user avatar
1 vote
1 answer
273 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 ...
Kabocha Porter's user avatar
2 votes
1 answer
2k 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 ...
Jensun Ravichandran's user avatar
0 votes
1 answer
134 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 ...
user1683620's user avatar
4 votes
2 answers
6k 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 ...
Tomáš Kruliš's user avatar
3 votes
2 answers
271 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-...
Reid's user avatar
  • 161
1 vote
1 answer
376 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 ...
Chakravarthy Raghunandan's user avatar
0 votes
0 answers
197 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?
tony's user avatar
  • 113
0 votes
1 answer
194 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 ...
alper's user avatar
  • 1,370
6 votes
1 answer
270 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 ...
uncle-ted's user avatar
0 votes
0 answers
60 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 ...
Edman's user avatar
  • 1,207
1 vote
1 answer
2k 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 ...
R. Bosman's user avatar
  • 123
0 votes
0 answers
109 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: ") (...
jcubic's user avatar
  • 743
1 vote
0 answers
107 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 ...
James's user avatar
  • 11
1 vote
1 answer
45 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 ...
Atanas Janackovski's user avatar
4 votes
2 answers
778 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 () "...
Matthew Piziak's user avatar
3 votes
1 answer
878 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-...
myTerminal's user avatar
0 votes
0 answers
73 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 ...
J126's user avatar
  • 103
1 vote
0 answers
70 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 ...
AnFi's user avatar
  • 173
2 votes
0 answers
139 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 ...
lvictorino's user avatar
6 votes
0 answers
202 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 ...
Matthew Piziak's user avatar
2 votes
2 answers
290 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 ...
azzamsa's user avatar
  • 634
2 votes
1 answer
396 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: ...
Sergey's user avatar
  • 249
4 votes
1 answer
458 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 *...
Martin Buchmann's user avatar
3 votes
1 answer
5k 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 ...
Irbin B.'s user avatar
  • 131
6 votes
0 answers
80 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 ...
Fernando César's user avatar
2 votes
1 answer
178 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-...
RCV's user avatar
  • 105
2 votes
2 answers
543 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 ...
sbac's user avatar
  • 419
1 vote
1 answer
647 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 “...
user3476591's user avatar
1 vote
0 answers
330 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. ...
acidwinzip 77's user avatar