Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
0
votes
0answers
8 views

How to tell flyspell to ignore the first word of a commet in Go?

In Go, the first word on a comment refers to the function or struct inmediatly below it, for instance: // API is the root of API access type API struct { Banck http.Handler Budget ...
0
votes
1answer
110 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
128 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 ...
1
vote
0answers
15 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 ...
3
votes
1answer
495 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
100 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 ...
3
votes
1answer
639 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 ...
1
vote
1answer
279 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
55 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: ...
3
votes
0answers
43 views

Flyspell breaks on special characters

Special characters appear to split words in flyspell even if the words are in my dictionary: How can I fix this?
2
votes
2answers
47 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 ...
0
votes
0answers
20 views

List mode for project-wide ispell-buffer?

I'm currently correcting a large amount of org files by using ispell-buffer. However, I was wondering if there was a better way of doing so, by having: - A separate buffer with, on each line, the ...
2
votes
4answers
651 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 ...
2
votes
1answer
93 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 *...
7
votes
4answers
3k 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
79 views

Emacs on macOS - Flyspell doesn't recongnize non-english words with diacritics/accents

First of all, I think someone was having a similar problem some months ago, but that person was using a different external spellchecker (Aspell). Link. The problem that I'm having is the following: ...
1
vote
0answers
139 views

Emacs helm-flyspell-correct (wrong-type-argument stringp nil) error

I have installed emacs on a new mac machine and the spell checker (which used to work on an older machine) has stopped working. Here is the details: OS: MacOS Mojave, V. 10.14.2 Emacs: GNU Emacs 26....
4
votes
0answers
45 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 ...
0
votes
0answers
49 views

Flyspell, aspell, emacs with key “affix” Error on windows

I am trying to use flyspell and I get the following Error. Starting new Ispell process aspell with C:/Users/cuspi/AppData/Roaming/Aspell/dict/en dictionary... ispell-init-process: Unhandled ...
0
votes
0answers
39 views

How can i change the bindings of an x-popup menu?

I use flyspell-correct-word-before-point(C-c $) which presents the candidates using x-popup-menu. To navigate through the options I have to use the up down arrow keys. I can't find any keymap that ...
0
votes
0answers
25 views

How to ignore certain modes in polymode by flyspell?

This is smilar to How to make Flyspell ignore code blocks in Markdown? but I have jekyll-modes which is poly-mode with markdown and other languages to be used with jekyll files. I want to ignore ...
2
votes
1answer
65 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
130 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
211 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
121 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. ...
0
votes
1answer
126 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
57 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 ...
5
votes
2answers
481 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
116 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
134 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 ...
0
votes
1answer
1k 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 ...
2
votes
2answers
390 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
88 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 ...
19
votes
1answer
2k 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 ...
0
votes
0answers
35 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 ...
2
votes
1answer
514 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 ...
2
votes
2answers
177 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
845 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
29 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
4k 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 ...
13
votes
2answers
490 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
103 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
337 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-...
5
votes
4answers
825 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
105 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
3k 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
136 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
77 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 #<...
4
votes
2answers
501 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 ...