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
5
votes
2answers
678 views

how to install Aquamacs' OSX spellchecker (NSSpellChecker) in GNU Emacs?

Spellcheck in Aquamacs works much better than either the default aspell or the improved hunspell. Example typo: whtehr Here are the suggestions provided by the various engines when I do flyspell-...
2
votes
1answer
257 views

How to clear underlines after disabling flyspell?

There are already questions on disabling flyspell (see: https://stackoverflow.com/questions/3423638) However I would like to toggle flyspell at runtime. An annoyance I've found is the red-underline ...
3
votes
1answer
199 views

Flyspell check entire document upon opening

I have enabled Flyspell in .emacs: (add-hook 'org-mode-hook 'turn-on-flyspell) When I open a document and start typing, typos will be underlined. However, when I close and reopen the document, the ...
2
votes
2answers
501 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
1answer
144 views

flyspell in terminal

I'm trying to use flyspell from inside the terminal but when I run flyspell-correct-word-before-point I get the error This command requires pop-up dialogs. Is there a way to work around this issue? Am ...
2
votes
2answers
324 views

Make flyspell avoid checking #includes in C++

Flyspell does a great job ignoring all the source code and only check comments, with one flaw: it still does check the text after #includes. So the iostream here does get highlighted: #include <...
1
vote
1answer
2k views

How to permanently change the default spelling dictionary?

In Aquamacs, the Emacs for macs, the dictionary can be changed in the Menu by going to Edit -> Spelling -> Change Dictionary... In my case, I enter en_GB. How do I avoid doing this for every file ...
1
vote
0answers
20 views

flyspell inserts clipboard on top of correction

for me flyspell is broken (or at least the default setup of it) in all versions of Emacs from 24.x - 25.x, running on OpenSuSE Leap 42.3 within KDE 5.8.7 Plasma Desktop. The behavior is as follows: ...
1
vote
0answers
34 views

Set-up scspell like behavior for the flyspell

I was trying to enable scspell like behavior for Flyspell but still can't succeed. Shortly - Flyspell parses "DemoWord" like "DemoWord" and scspell splits is into two words demo and word. I was ...
1
vote
3answers
6k views

Hunspell error in emacs

My .emacs file contains the following code to make hunspell work, however I get the following error message when starting flyspell-mode: Starting new Ispell process hunspell with deutsch-hunspell ...
15
votes
2answers
707 views

How can I make flyspell ignore urls?

When I use flyspell-mode, it reports spelling errors whenever I type a URL. Is there a way I can tell Flyspell to stop checking URLs?
0
votes
1answer
183 views

Running flyspell on Latex files in batch-mode

I'd like to run flyspell on several Latex-files in the same directory and output all the words which are misspelled.
6
votes
2answers
509 views

How to make Flyspell ignore code blocks in Markdown?

Can I filter what Flyspell may check in the buffer? I don't want it to spell-check code in Markdown mode. Maybe I can use the font-face at point for that? Something like this: (let ((get-char-...
7
votes
4answers
1k views

How to automatically load flyspell-mode when Markdown (.md, .mdwn) file is open?

When editing Markdown files (.md, .mdwn, etc.) and Mediawiki files (.mw), I almost always need to have flyspell-mode loaded. How to have that automatically happen via configuration?
1
vote
0answers
108 views

small font for programming wanted [closed]

I have a low-res screen (1366x768) and therefore are searching for a small font which is clearly readable. Till now I used this font: -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1 I had ...
1
vote
2answers
5k views

Hunspell flyspell and Emacs on windows

I know this has been asked many times, but the answers don't seem to do it for me. How do you get Flyspell to work with hunspell? After installing the hunspell executables via mingw-64-hunspell ...
0
votes
0answers
183 views

flyspell & hunspell: 'flyspell-buffer' is not marking words … sometimes

I try to get flyspell working with hunspell on Linux with German de_DE_frami dictionary from LibreOffice Extensions. The setup works ... more or less. (English dictionarys work perfectly fine.) But ...
0
votes
1answer
125 views

how to fix flyspell-lazy args-out-of-range error?

I use flyspell-lazy to improve flyspell performance and it works really well. However, when I open a buffer with a lot of text, I get this error: Debugger entered--Lisp error: (args-out-of-range #<...
6
votes
2answers
913 views

Can you turn on flyspell for comments but NOT strings?

I currently use the following to enable flyspell in prog-mode: (add-hook 'prog-mode-hook 'flyspell-prog-mode) This checks spelling automatically in comments and strings. However, I would like to ...
10
votes
3answers
2k views

Is it possible to auto-correct spelling “on space”?

I was about to post the question but then I saw it on Stack Overflow while searching for auto-correct possibilities. The linked question has no answers, so I thought it'd have more luck on this site. ...
1
vote
0answers
82 views

Remove the left font lock of flyspell after uncomment

I use flyspell-prog-mode, and quite often I comment a region, the source code was checked, and the font lock of dirty words will left after I uncomment the source code. How can I fixes this? Thanks ...
2
votes
0answers
109 views

How to cycle between language specific abbrev tables in a buffer?

I have (human-)language-specific abbrev-tables named like lang-francais-mode-abbrev-table, lang-castellano8-mode-abbrev-table backed by my ~/.emacs.d/abbrev_defs file. The language names are the ...
3
votes
1answer
256 views

Is it possible to enable flyspell in scratch buffers?

I often use scratch buffers, when I want to take a closer look at some code. However I can't enable flyspell in scratch buffers. Is there a way to also use it when not editing a file ? EDIT: I can't ...
2
votes
0answers
397 views

Emacs Ispell to list all spelling errors at once

I am using emacs ispell to look for spelling mistakes. It works well in interactive mode, but I was wondering if I can see all the words with spelling issues highlighted in the buffer itself or ...
2
votes
2answers
464 views

flyspell-goto-next-error without running flyspell-buffer first?

I would like to do a sort of flyspell-goto-next-error but without first having to run flyspell-buffer or flyspell-region. How could this be accomplished? In other words: keep "flyspell-buffering" ...
4
votes
1answer
874 views

The format of ispell personal dictionary

I'm having difficulty getting flyspell to accept a personal dictionary. In my .emacs file I have the line: (setq ispell-personal-dictionary "~/.karpov_dic") This .karpov_dic file only has a few ...
0
votes
0answers
182 views

Run flyspell when loading new buffer with custom dictionary

Sometimes it is possible to add commands to the start of an org-mode buffer to customize it. I would like flyspell to run and stay active with pt_PT dictionary on a specific file whenever I open it. ...
1
vote
1answer
1k views

how to add new UTF-8 words to Hunspell's user custom dictionary?

How do I set up Hunspell so that I can add new UTF-8 words (e.g. "Rúdi") to my user local dictionary? I have a function that allows me to add new words to my local dictionary. It works for adding ...
4
votes
0answers
1k views

How to set the Ispell language via a file variable in Org-Mode?

I put the following in the beginning of the Org file: * :noexport: Local Variables: ispell-local-dictionary: "american" End: #+EXPORT_EXCLUDE_TAGS: noexport And I start flyspell via a hook: (add-...
1
vote
1answer
219 views

Add last mistake to dictionary with flyspell and ispell

flyspell-auto-correct-previous-word is a great way to quickly correct mistakes in a buffer. I get a lot of false positives though, and I would like to quickly add them to my dictionary in an analogous ...
15
votes
1answer
2k views

How can I use Company to spell-check a word?

company-ispell can complete a word at point, but what if you want to use Company to list the possible corrections for spelling? As an added bonus, is there any way to integrate this into Flyspell?
3
votes
1answer
619 views

How do I disable the emacs flyspell middle mouse correction?

I already use middle mouse to paste/yank. However flyspell seems to hijack this, making it impossible to paste in the vicinity of a correctable word. With the help of this question I have discovered ...
3
votes
1answer
86 views

how to keep my abbrevs table files separate?

I'd like to maintain several distinct abbrevs files for different types of abbreviation expansions. I have this: (read-abbrev-file "~/Dropbox/elisp/main-abbrevs-file.abbrev_defs") (read-abbrev-file ...
5
votes
1answer
238 views

Inadvertent paste when correcting spelling mistakes using flyspell

When I click with the middle mouse button that usually inserts the primary selection at the point where I clicked. However, the same button opens flyspell's context menu when I click on a misspelled ...
1
vote
0answers
135 views

wcheck-mode: Add buffer local dictionary?

With flyspell-mode, one can maintain a buffer local dictionary. For example, I may middle-click "stackexchange" and select Accept (buffer). This adds the word to the dictionary at the end of the ...
1
vote
1answer
870 views

Could not load package flyspell with use-package

I have configured flyspell mode with use-package like this: (use-package flyspell-mode :init (progn (flyspell-mode 1)) :config (progn (setq ispell-program-name "aspell") (setq ...

1
2