Skip to main content

Questions tagged [spell-checking]

Filter by
Sorted by
Tagged with
0 votes
0 answers
41 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, ...
harabat's user avatar
  • 31
0 votes
1 answer
179 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 ...
xdl's user avatar
  • 125
1 vote
2 answers
229 views

flyspell: ignore certain words in a buffer, but not others?

There are some words I want flyspell to ignore in some buffers, but not others. For example, in one buffer I want etaoin to not be flagged by flyspell because in that context it's not a misspelling (...
Dan Drake's user avatar
  • 687
0 votes
1 answer
179 views

flyspell-buffer in flyspell-prog-mode

In my init.el I have (add-hook 'text-mode-hook 'flyspell-mode) (add-hook 'prog-mode-hook 'flyspell-prog-mode) (add-hook 'flyspell-mode-hook 'flyspell-buffer) but when I find a prog file, buffer isn't ...
Francesco Cadei's user avatar
0 votes
1 answer
288 views

How to selectively enable flyspell-mode?

How can I selectively enable spell checking? Previously I had the same issue as this question and disabled spell checking globally. But now I can't seem to enable it back on buffers that I need it, ...
Luctins's user avatar
  • 120
2 votes
1 answer
630 views

How to install spell-check in emacs 27.1?

I got a new laptop and installed new emacs (27.1) for windows 10. Now, I am back to the battle to get the spell check working in emacs. I am kicking myself for not saving the path to victory last time....
tony's user avatar
  • 113
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 ...
Tomáš Kruliš's user avatar
3 votes
2 answers
318 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-...
Reid's user avatar
  • 171
0 votes
0 answers
112 views

How to use spell checking in PO mode for gettext translations files?

I've tried function I use my my Markdown and Polymode when editing my Jekyll blog with po-mode but it don't work at all: I have code like this: (defun lang (lang) (interactive "sLanguage: ") (...
jcubic's user avatar
  • 793
4 votes
2 answers
832 views

Skip flyspell checking of ~code~ and =verbatim= regions in Org mode

First some disambiguation: This Endless Parentheses page demonstrates how to use ispell-skip-region-alist to skip =code= and =verbatim= blocks with ispell… (defun endless/org-ispell () "...
Matthew Piziak's user avatar
1 vote
0 answers
71 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 ...
AnFi onet.eu's user avatar
2 votes
0 answers
139 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 ...
lvictorino's user avatar
0 votes
0 answers
265 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-...
Saurabh's user avatar
  • 213
0 votes
0 answers
206 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 ...
AstroFloyd's user avatar
4 votes
3 answers
1k views

How to make emacs automatically spell check all visible text?

When flyspell is enabled it doesn't show spelling errors on all visible text (like most text editors that support spell checking). When moving the cursor over text, misspelled words become underlined....
ideasman42's user avatar
  • 9,157
6 votes
0 answers
81 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 ...
Fernando César's user avatar
1 vote
0 answers
54 views

Help wanted. paced - populated Dictionary not saved

i managed to install and configure the paced package. My system is Emacs "GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-29" on Windows 8.1 64. Unfortunately the paced dictionary is not ...
space_held's user avatar
2 votes
1 answer
182 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-...
RCV's user avatar
  • 105
2 votes
2 answers
577 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 ...
sbac's user avatar
  • 429
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 ...
wolfv's user avatar
  • 1,443
4 votes
2 answers
4k 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'...
UTF-8's user avatar
  • 917
3 votes
1 answer
3k 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 ...
Realbeginner's user avatar
5 votes
0 answers
925 views

Send a text from Emacs to Grammarly

Is there a nice way to bind Emacs and Grammarly. This is what I wrote to myself. A very simple plugin that helps you to send a marked text to Grammarly. It is a very simple plugin, is there a better ...
Marcin Magnus's user avatar
1 vote
3 answers
3k views

Spelling check in Emacs 25.2 on Mac OS Sierra

I am new to Emacs and I have a hard time to have spelling check when I use Emacs+AUCTex. Here is a list of what I have done so far: I read on a post saying that I should not install Flyspell. So I ...
redmouse's user avatar
  • 111
2 votes
1 answer
887 views

Norwegian spell check

I'm trying to get Norwegian spell checking working in Emacs, and I'm having trouble with the Norwegian dictionary. System Ubuntu 17.04 GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24....
Teodor's user avatar
  • 153
1 vote
1 answer
291 views

How can I move all my file-local LocalWords to .dir-locals.el?

This is a follow-up question to Can I instruct ispell to insert LocalWords in a different file?. So now that I've got a way to use a separate file for my local dictionary, is there any way to move ...
Sean Allred's user avatar
  • 7,051
4 votes
1 answer
583 views

Can I instruct ispell to insert LocalWords in a different file?

Sometimes my LocalWords can get very long. In Org documents, it's awkward to have this 'appendix' of dictionary junk. I'd like to move this to a separate file (.dir-locals.el if possible).
Sean Allred's user avatar
  • 7,051
7 votes
2 answers
1k 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 ...
Ben's user avatar
  • 617
8 votes
0 answers
523 views

How to get Emacs to use the Mac system-level spell correction capabilities?

Mac OSX has autocorrect for spelling that: Doesn't require pressing any buttons to make a retroactive change. Doesn't require manually inputting these corrections/abbrevs. I want to get this same ...
Aubrie's user avatar
  • 181
2 votes
0 answers
607 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 ...
Sagar Jha's user avatar
  • 239
8 votes
1 answer
1k views

What is the relationship between Emacs and various spellcheckers (ispell, etc.)?

A. Is there a spellchecker built in to Emacs? This seems to say that there is a "built-in ispell package" that "handles spell-checking and correction". The manual (Emacs > Fixit > Spelling > 16.4) ...
Carl Roberts's user avatar
6 votes
2 answers
2k views

How to speed up flyspell-mode?

When flyspell-mode is active, typing is somewhat – although barely noticeable – more sluggish than without, also marking of words. Is it possible to somehow speed up flyspell-mode, maybe make it not ...
feklee's user avatar
  • 1,079
1 vote
1 answer
261 views

How to save speck-mode dictionary with file?

What I tried, putting at the end of a file: Local IspellDict: de As local variable: speck-dictionary: de However, neither is interpreted. When I open the file in question, speck-mode always uses en ...
feklee's user avatar
  • 1,079
6 votes
3 answers
804 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-...
incandescentman's user avatar
21 votes
2 answers
10k views

Spell check with multiple dictionaries

How can I use multiple dictionaries with the Emacs spell checker? Specifically I want to use a British English dictionary and a medical English dictionary at the same time.
Divinenephron's user avatar
1 vote
0 answers
36 views

"Mark all Misspellings" never stops

On my Emacs (Aquamacs on OSX, latest version) the command Edit -> Spelling -> Mark All Misspellings goes through the whole file (from 0% to 100%) and then starts again at 0%, and continues ad ...
Laura's user avatar
  • 11
3 votes
4 answers
1k 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 ...
Tianxiang Xiong's user avatar
2 votes
1 answer
681 views

Enable greek spellchecking

How can I enable greek language spellchecking in Emacs to be the default spellchecking language, and how can change spellchecking between greek and english language? (My system is Ubuntu 14.04 64bit)....
Yorgos's user avatar
  • 255
1 vote
3 answers
10k 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 ...
student's user avatar
  • 1,179
2 votes
1 answer
219 views

How do I spell check directly from the magit-status buffer

Question: Is it possible to run ispell on a region (or the whole diff and nothing else) directly from the magit-status buffer? Motivation: I am writing varying amounts of text and often keep it ...
Sparx's user avatar
  • 1,121
1 vote
1 answer
316 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 ...
Matthew Piziak's user avatar
1 vote
0 answers
156 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 ...
feklee's user avatar
  • 1,079
4 votes
1 answer
645 views

Efficiently use the spell checker

I want to check the spelling in a buffer. I do that by M-x ispell. When it finds nd in the folowing example: apple a nd orange I hit the left or right arrow key, in order to move the cursor to the ...
Tim's user avatar
  • 5,067
16 votes
2 answers
3k 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?
Sean Allred's user avatar
  • 7,051
11 votes
2 answers
884 views

Pure elisp spell checking in Emacs

The question What options are there for doing spell-checking in emacs discuss various spell checking solutions for Emacs. Emacs ispell interface uses external tools such as Aspell or Hunspell for ...
Name's user avatar
  • 8,037
2 votes
1 answer
745 views

How to prevent ispell from checking inside mathematical formulae

By invoking M-x ispell, ispell says that 'ij' in the following formula is incorrect. How to permanently prevent ispell from this behavior. $\phi_{ij}$
Name's user avatar
  • 8,037
17 votes
2 answers
932 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?
Matthew Piziak's user avatar
4 votes
2 answers
125 views

Make ispell automatically clear minibuffer when replacing word

When using ispell to check spelling and encountering an incorrect word, pressing r takes you to the minibuffer where you can enter a replacement for the misspelled word. By default the minibuffer ...
YoungGrandpa's user avatar
21 votes
3 answers
4k views

What options are there for doing spell-checking in emacs

Because I'm currently doing a lot of non-programming tasks in Emacs, spell-checking became one of my major concerns once again. I noticed that there is no question related to the options for spell-...
elemakil's user avatar
  • 2,567
41 votes
2 answers
10k views

Intelligent spell-checking in org-mode

By default, the results of running M-x ispell-buffer in org-mode are very disappointing. Ispell looks inside :PROPERTY: drawers, which commonly contain things like :ID: 797495bd-581b-4a42-...
Malabarba's user avatar
  • 23.3k