Questions tagged [flyspell]

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

98 questions
25
votes
4 answers

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 instantly and continue typing. This is simply because…
Mark Karpov
  • 4,893
  • 1
  • 24
  • 53
23
votes
1 answer

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 the org buffer (and catch the spelling error in it)…
prjorgensen
  • 533
  • 3
  • 12
17
votes
2 answers

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?
Matthew Piziak
  • 5,958
  • 3
  • 29
  • 77
15
votes
1 answer

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?
Sean Allred
  • 6,861
  • 16
  • 85
13
votes
6 answers

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 greater is required) The problem is, even after…
B_old
  • 717
  • 5
  • 14
11
votes
3 answers

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. Here's the text: I wish there were a way so that…
Tymric
  • 762
  • 1
  • 6
  • 15
7
votes
2 answers

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 disable spell checking in strings. How can I enable…
Ben
  • 587
  • 4
  • 11
7
votes
2 answers

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-property (point) 'face)) (when (equal face…
katspaugh
  • 379
  • 2
  • 8
7
votes
4 answers

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?
qazwsx
  • 569
  • 3
  • 12
7
votes
1 answer

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 words such as: Orionis Virginis The words are…
Karpov
  • 256
  • 1
  • 4
6
votes
0 answers

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 for Flyspell. I have added these words to my…
Matthew Piziak
  • 5,958
  • 3
  • 29
  • 77
6
votes
0 answers

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 spell checked. * Title 2 :PROPERTIES: :Language:…
Fernando César
  • 233
  • 2
  • 5
6
votes
2 answers

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-auto-correct-word. Aspell: Corrections: whiter water…
incandescentman
  • 4,111
  • 16
  • 53
5
votes
1 answer

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 that so it recognizes apostrophes as part of…
uncle-ted
  • 51
  • 2
5
votes
1 answer

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 word. The problem is that when I use the context…
tmalsburg
  • 2,540
  • 1
  • 14
  • 29
1
2 3 4 5 6 7