Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ispell]

The tag has no usage guidance.

1
vote
1answer
136 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 ...
2
votes
0answers
107 views

Ispell not working with Hunspell

I am unable to use Ispell, after the upgrade to Hunspell 1.7.0. It seems that the "-D" option does not return the loaded dictionary, therefore the function ispell-find-hunspell-dictionaries fails. ...
0
votes
0answers
53 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: ...
0
votes
1answer
87 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
364 views

How to use an ispell dictionary in company mode?

I am writing in LaTeX at the moment and I want to use company-mode for word completion. I found this solution: https://emacs.stackexchange.com/a/18522. I was thinking about using the ispell ...
1
vote
1answer
267 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 ...
1
vote
1answer
728 views

Setting a new location for ispell/aspell dictionaries

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'...
2
votes
2answers
263 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
0answers
35 views

ispell word M-$ goes into screen capture mode on MacOS

I am on Mac OS X El Capitan. Here is my version info. GNU Emacs 25.3.1 (x86_64-apple-darwin15.6.0, NS appkit-1404.47 Version 10.11.6 (Build 15G31)) of 2017-12-03 Problem: Like most Emacs users on ...
2
votes
3answers
136 views

Check whether a string is spelled correctly

I need to check whether a string is spelled correctly from my ELisp code. This is what I am trying: (ispell-start-process) (ispell-send-string "Check this") (ispell-accept-output) The last call ...
2
votes
1answer
413 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 ...
1
vote
2answers
176 views

Automatically run ispell on magit COMMIT_MSG buffer

I make lots of spelling errors when constructing my commit message. It would be cool if I could add a hook to magit such that when I execute C-c C-c, it would run ispell before completing the commit ...
2
votes
1answer
524 views

Emacs lisp throwing error when using spell check

I am trying to configure Hunspell in my emacs running in windows. When I type M-x ispell-buffer, I get the following error: Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-...
0
votes
1answer
441 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....
2
votes
1answer
505 views

call interactive function from elisp code without worrying about arguments

So, I want to do (ispell-change-dictionary) inside a function I'm writing, but doing a test throws this error: (wrong-number-of-arguments #[(dict &optional arg) I was told that M-x calls the ...
1
vote
1answer
138 views

Detect language in buffer

Is it possible to detect and set the correct ispell language based on the contents of the buffer? And beyond that: A markdown file can contain multiple human languages at the same time, perhaps ...
2
votes
1answer
75 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 ...
2
votes
1answer
119 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).
1
vote
0answers
65 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 ...
1
vote
0answers
787 views

Spell checking and hunspell on windows (preferably from scratch)

I really need to get spellchecker on emacs (there are few who don't), and hunspell seems like the best option. The other options (aspell and ispell) are said to be ancient and also require a fair ...
3
votes
0answers
243 views

ispell-phaf no matching entry for en_Gb after update to macOS Sierra

I have update to macOS Sierra after witch spelling in Emacs is broken. The error I get is (ispell-phaf: No matching entry for en_GB in ´ispell-hunspell-dict-paths-alist´) I have both install aspell ...
0
votes
1answer
209 views

configuring and using ispell [duplicate]

I have been able to install Emacs 25.1 and AUCTeX 11.89.6 (this is the number that I have after installing it with MELPA directly from Emacs) that I am using on a Windows 7 machine. I am trying to ...
2
votes
0answers
207 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 ...
8
votes
1answer
671 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) ...
0
votes
2answers
788 views

How to supply ispell program with dictionaries?

I have the following environment on my machine: Windows 7, emacs and aspell built with mingw. I am trying to use aspell for spell-checking in buffer. After i change language to russian (i have ...
0
votes
1answer
160 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 ...
5
votes
2answers
448 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-...
13
votes
2answers
3k 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.
1
vote
1answer
3k views

Where is ispell?

I just upgraded to Emacs 24 and can't find ispell. If I try to use ispell I get the error message: Searching for program: no such file or directory, ispell After a small amount of searching on the ...
7
votes
2answers
582 views

How to move back to a previous typo in ispell?

When running M-x ispell, is it possible to go back to the previous typo? For example, I accidentally pass a typo and want to go back to it.
2
votes
0answers
718 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-...
2
votes
1answer
136 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 ...
12
votes
1answer
3k views

In Emacs, where is ispell's personal dictionary stored?

In Emacs, where is ispell's personal dictionary stored?, the documentation http://www.gnu.org/software/emacs/manual/html_node/emacs/Spelling.html says Your personal dictionary is specified by the ...
1
vote
1answer
139 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 ...
1
vote
1answer
963 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
589 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 ...
1
vote
0answers
205 views

Hunspell: encoding of personal dictionary

I am using hunspell 1.3.2 (on Windows) for spell checking, and I've been trying to make a personal dictionary. It works just fine, except the encoding is garbled. Whether I encode the personal ...
3
votes
1answer
66 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 ...
0
votes
1answer
111 views

Why doesn't my Norwegian ispell dictionary work on Emacs (Windows)?

I have installed the English ispell dictionary english.hash for using in Emacs, and placed it at C:\Users\espend\AppData\Roaming. When typing M-x ispell-change-dictionary, in Emacs, this English ...
12
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?
0
votes
0answers
179 views

aspell exited with signal Trace/BPT trap: 5

I am using GNU Emacs 24.3.1 on Mac Mavericks (Darwin Kernel Version 13.4.0). When I run ispell command I get the error as in the title. I cannot do spell check. Anybody has a hint? This is the part ...
10
votes
1answer
556 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 ...
1
vote
1answer
844 views

cocoAspell + Emacs 24 + Mac OS X Yosemite

Having trouble configuring emacs 24 on Mac OS X to work with cocosAspell. Installed MacTex dist. with success; Installed AUCTex through emacs package manager; Downloaded and installed the brazilian ...
2
votes
1answer
294 views

call-process and Hunspell (in Emacs 24.4)

I am having problems running ezwinports Hunspell 1.3.2-3 in Emacs 24.4.1 for Windows. When calling ispell-buffer with debug, I see the following functions are called. ispell-buffer -> ispell-...
1
vote
1answer
478 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}$
13
votes
2answers
437 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?