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
6
votes
2answers
335 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-...
3
votes
1answer
484 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 ...
0
votes
3answers
3k 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 ...
0
votes
0answers
131 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. ...
3
votes
0answers
815 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-...
5
votes
4answers
791 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
1answer
144 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 ...
18
votes
3answers
3k views

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 ...
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
1answer
633 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 ...
2
votes
1answer
488 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
68 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 ...
1
vote
0answers
108 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 ...
13
votes
1answer
1k 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?
1
vote
1answer
517 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 ...
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 ...
13
votes
2answers
471 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?
9
votes
3answers
1k 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. ...
5
votes
1answer
218 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 ...