Questions tagged [ispell]
The ispell tag has no usage guidance.
85
questions
1
vote
0
answers
56
views
ispell breaks my org-mode headings folding/unfolding
As the title says, when I run M-x ispell when it reaches a word that is under an org mode heading it won't unfold the heading, so my cursor is on the actual heading and not the incorrect word and then ...
0
votes
0
answers
20
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, ...
0
votes
1
answer
36
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 ...
0
votes
1
answer
25
views
how to move ispell correction suggestion window
When running ispell-buffer, as I scroll down the document, the misspelled word is highlighted at the bottom of the window, but the correction suggestion window appears at the top of the document. Is ...
0
votes
1
answer
57
views
Testing whether string is a valid word
I want to test whether a string constitutes a valid word using ispell.
Here is my function
(defun is-valid-word (word)
"Check if the WORD is valid using `ispell`."
(with-temp-buffer
...
0
votes
0
answers
23
views
ispell on macOS shows limited spelling options
I use Emacs both on Linux Mint and macOS. I use iSpell on both.
On Linux, when I check the region, I have around 20 options for a misspelled word; on macOS, the same word will only display 2 or 3 ...
2
votes
2
answers
163
views
Marking as safe all possible lists of strings
Following this answer, I put the following lines in a .dir-locals.el file:
((latex-mode
(TeX-engine . default)
(mode . latex )
(TeX-master . "main")
(ispell-buffer-session-localwords
...
0
votes
1
answer
103
views
ispell-init-process: Error: The encoding "nil" is not known
ispell-init-process fails
When I try to correct a word with ispell, I got the following error:
ispell-init-process: Error: The encoding "nil" is not known. This could also mean that the file ...
0
votes
1
answer
55
views
How can I show `ispell-word` choices at bottom of the buffer?
When I run ispell-word it suggests word at the top of the buffer, like:
Instead can we show the options at the bottom of the buffer?
0
votes
1
answer
130
views
Ispell does not seem to use hunspell
I tried to set up ispell to use hunspell with this post.
but it seems like ispell is still not using hunspell.
Ispell in Emacs would mark this word as wrong: Schulwochen (German)
$ hunspell -d de_DE
...
2
votes
1
answer
222
views
cape-dict cape-ispell problem with language
I setup flyspell to use hunspell program (and installed french and english dict with apt cmd). I set ispell-dictionary to
fr_FR, en_GB, en_US
Set ispell-hunspell-add-multi-dic to
fr_FR,en_GB, en_US
...
0
votes
1
answer
164
views
Where is personal dictionary for ispell?
In this page I read that “the personal word list is normally a file called .ispell_english or .ispell_words in your home directory."
But I don’t have that file. Is this Unix specific? I’m on a ...
0
votes
1
answer
35
views
Keyboard shortcut for ispell
I used M-x ispell to spellcheck. When I finished, on the mini buffer a sentenced flashed quickly: "You can use s-:" or something like that. What does s-: stand for?
0
votes
1
answer
76
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. ...
0
votes
1
answer
150
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 ...
2
votes
1
answer
50
views
Changes of ispell.el from GNU emacs v27.2 from v26.3?
Recently, I updated my GNU emacs from v26.3 to v27.2. Now, ispell does not work anymore under Windows 10 (on my Macs, it still works). On my Windows machine, I use hunspell, which has been the same v1....
1
vote
1
answer
122
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,...
0
votes
1
answer
75
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 ...
0
votes
0
answers
34
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 "~/&...
1
vote
1
answer
1k
views
Changing language with ispell
M-x ispell works fine for English. However, when I try to change the dictionary, I run into difficulties.
I did M-x ispell-change-dictionary and selected one of the options (francais) from the list ...
0
votes
1
answer
127
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 ...
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 ...
3
votes
2
answers
243
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
0
answers
100
views
ispell-change-dictionary cannot change the dictionary to any other language other than english, american or default
Currently I am using spacemacs. I have installed spell checking layer by writing spell-checking on my dot-spacemacs-configuration-layer.
However when I try to use M-x ispell-change-dictionary it ...
0
votes
0
answers
58
views
How to get spell suggesstion for the word that cursor is on in the minibuffer?
Example behavior:
When I am using python-mode if a cursor is on top of on a error, the error message is printed out on the minibuffer.
If I have following line import o , import keyword get bold and ...
1
vote
2
answers
399
views
How do I disable Centaur Tabs in ispell Choices buffer
I need to disable the Centaur-Tabs in the Choices buffer of ispell/flyspell. In Centaur Tab's site it says to add a hook, so I tried this:
(add-hook 'ispell-choices-buffer 'centaur-tabs-local-mode)
...
5
votes
1
answer
238
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 ...
1
vote
0
answers
370
views
emacs ispell looks for wrong language
Hi I am a little bit confused, because I think that I have already managed to make ispell work on my macOS 10.15.4 and emacs 26.3, but when I tried it I got an error that emacs cannot find ispell.
...
2
votes
0
answers
661
views
ispell personal dictionary for multiple languages
I use hunspell for spellchecking. When I switch dictionaries (e.g., from en_US to hu_HU), I cannot save personal words to my personal dictionary. Emacs complains that
ispell-init-process: Error: ...
1
vote
2
answers
219
views
How can I replace all instances of a mispelled word during ispell?
I can be remarkably consistent with my misspellings some times; in these instances while running ispell, I'd like to be able to hit something like C-u <correction number> (for instance) to ...
1
vote
1
answer
91
views
Ispell suggested word window too small
When I use ispell, it suggests replacements for misspelled words in a window at the top of the screen. However, it is too small, and I can barely read the words it contains.
How do I increase the ...
0
votes
1
answer
969
views
Using company-ispell with large text dictionary?
I've managed to setup company-ispell which seems to work for small files, but fails for a dump of the aspell dictionary.
This works when pressing C-SPC without any existing text before the cursor.
...
2
votes
1
answer
790
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
2
answers
308
views
How to use ispell-word to correct a word immediately without prompting for multiple options?
Since the first option is the right one when fixing a common misspelling. Is there a way to make ispell-word correct the spelling of a word to the first suggestion instead of prompting from a list of ...
5
votes
4
answers
3k
views
Error: No word lists can be found for the language "en_US"
I am using GNU Emacs 26.1 on macOS Catalina.
When I try to enable ispell or flycheck-mode I am getting following error:
No word lists can be found for the language "en_US".
=> How could I fix this ...
1
vote
0
answers
247
views
Disable ispell when using Tramp
In my Spacemacs, I enabled the spell-checking layer which enables ispell. I noticed that my Tramp connection is very slow, and after debugging, I found that one of the causes is ispell:
02:07:20....
0
votes
0
answers
235
views
Enable spell check with american dictionary for all buffers
I have an init file that loads two files: one from customization done from within emacs and other from my custom settings file - better-defaults.el.
I have tried various options like ispell-local-...
1
vote
2
answers
851
views
Hunspell not working
I seem to be unable to configure hunspell to work within emacs. I have hunspell 1.7.0 and emacs 25.3. Supposedly, emacs should be able to find hunspell by default, but it seems that it is unable to ...
0
votes
0
answers
177
views
Running aspell in emacs with aspell key bindings
I am using aspell on the (Linux) command line, and have also started using it with mu4e in emacs to spell-check my composed messages using ispell-message. That command runs aspell, but with ispell ...
0
votes
1
answer
54
views
Creating a macro to change dictionary and run ispell
I would like to create a simple key binding (e.g. C-c s e) to spell check the (mu4e) email message I am composing using English (and use other bindings for other languages). I thought I'd simply ...
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 ...
2
votes
1
answer
1k
views
Ispell not working with Hunspell
I am unable to use Ispell, after the upgrade to Hunspell 1.7.0.
It seems that the "-D" option does not return the loaded dictionary, therefore the function ispell-find-hunspell-dictionaries fails. ...
2
votes
2
answers
509
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 ...
3
votes
1
answer
3k
views
How to use an ispell dictionary in company mode?
I am writing in LaTeX at the moment and I want to use company-mode for word completion. I found this solution: https://emacs.stackexchange.com/a/18522.
I was thinking about using the ispell ...
2
votes
3
answers
1k
views
Where is ispell private dictionary located on Spacemacs?
My Spacemacs help ispell-personal-dictionary says:
ispell-personal-dictionary is a variable defined in ‘ispell.el’.
Its value is nil
Documentation:
File name of your personal spelling dictionary, or ...
4
votes
2
answers
3k
views
Setting a new location for ispell/aspell dictionaries (actually meant replacement files)
I want to synchronize my personal dictionaries between my computers. For this, they should be in a dictionary with only stuff I want to synchronize, preferably in a dictionary in ~/.emacs.d because I'...
2
votes
2
answers
637
views
How to spellcheck all words in a buffer
Is there a way to make a whole spellcheck in a buffer instead of check every word as you type using flyspell, like using aspell command with a file ?
0
votes
0
answers
100
views
ispell word M-$ goes into screen capture mode on MacOS
I am on Mac OS X El Capitan.
Here is my version info.
GNU Emacs 25.3.1 (x86_64-apple-darwin15.6.0, NS appkit-1404.47 Version 10.11.6 (Build 15G31)) of 2017-12-03
Problem:
Like most Emacs users on ...
3
votes
3
answers
278
views
Check whether a string is spelled correctly
I need to check whether a string is spelled correctly from my ELisp code. This is what I am trying:
(ispell-start-process)
(ispell-send-string "Check this")
(ispell-accept-output)
The last call ...
4
votes
2
answers
1k
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 ...