Questions tagged [flyspell]

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

44 questions
2
votes
1 answer

flyspell correct the previous to previous mistake

suppose I have buffer contents as follows teh msot | curser is at |. generally I can correct msot to most with single C-; press (flyspell-auto-correct-previous-word). What I want is to correct teh to the, i.e previous to previous mistake. (or in…
kindahero
  • 5,817
  • 3
  • 25
  • 32
1
vote
3 answers

Select flyspell via a variable in a file

Question: How can i select flyspell automatically by an EMACS Variable in my file (not via the .emacs configuration file!), just for that file, similar like I select the ispell dictionary just for that file EXAMPLE abc.tex: ---SNIP--- text text…
user1165430
  • 121
  • 1
  • 4
1
vote
0 answers

How can I get flyspell to ignore TeX codes in MathJax?

So, in emacs auctex mode, it is easy to have flyspell ignore TeX math codes by adding a couple of lines to one's .emacs (or other initialization) file. At the moment I'm working on a long HTML document that contains a ton of embedded TeX code, which…
1
vote
1 answer

How to disable color in flyspell (emacs)?

I would like to prevent flyspell from changing the foreground color of words, and just add a red underline. I've tried the suggestions here, but it doesn't have any effect: How to overlay a face in Emacs that ONLY modifies the underline. Perhaps…
Anders
  • 269
  • 1
  • 2
  • 10
1
vote
1 answer

Alternatives to flyspell-mode for emacs

I just started with emacs and I wanted to know if there is a an alternative for flyspell for checking spellings in comments (Since I use auto-complete-mode for code completion, I can't have flyspell minor mode on as they conflict with each rendering…
1
vote
0 answers

emacs flyspell disable for custom latex macros

I have the following LaTeX code which has some custom macro's and environments which i would like to exclude from flyspell. Some normal text \begin{customenv} Please dont flyspell-this \end{customenv} again some normal text (please flyspell this)…
1
vote
1 answer

in Emacs, how to instruct Flyspell to permit certain repeated words?

In Emacs, I use Flyspell to check my spelling. By default, Flyspell highlights repeated words. But certain words are intentionally repeated, e.g. "ha ha." How can I instruct Flyspell to permit certain words to be repeated?
incandescentman
  • 6,168
  • 3
  • 46
  • 86
0
votes
1 answer

Flyspell not loading automatically with LaTeX file

Trying to use Flyspell with LaTeX files. Setup looks like this: (require 'ispell) (setq ispell-program-name "/usr/local/bin/hunspell") ;; From Homebrew, version 1.4.1 (add-to-list 'ispell-local-dictionary-alist '("de_DE_OLDSPELL" "[[:alpha:]]"…
Adam Khan
  • 13
  • 3
0
votes
1 answer

How do I tell to flyspell to ignore comment lines on git-commit-mode?

I usually change dictionaries when writing a git commit, however since I have a mapping to to change dictionary and run (flyspell-buffer) right after I see that flyspell goes beyond the commit message to check also comment lines starting with #. How…
zzantares
  • 341
  • 3
  • 12
0
votes
2 answers

Use Flyspell-prog-mode with go-autocomplete

Using flyspell-prog-mode in emacs causes go-automplete to choke. Is there anyway I can make these two modes play nicely together? I have researched using another spell checker but did not find one that has same capabilities as flyspell (i.e only…
Tobin
  • 359
  • 1
  • 2
  • 14
0
votes
1 answer

How to flag string if not in list

I'm interested in using Emacs (or similar) to rewrite documents in Simple English/Special English (two subsets of English that restrict themselves to simple words and grammar). Ideally, as I'm typing, a string that is not in one of the defined sets…
meatspace
  • 859
  • 16
  • 25
0
votes
0 answers

Aspell can't detect dictionaries in Emacs24 on Windows 7

I'm getting this error when I run Flyspell spell-checker in GNU Emacs 24.4.1 (i686-pc-mingw32) on Windows 7 (32 bits). Error in post-command-hook (flyspell-post-command-hook): (error "No data for dictionary \"italian"\ , neither in…
0
votes
1 answer

install danish dictionary in emacs on windows

I haven't been able to find the help I need on (on dummie level) for installing a new dictionary (danish) in emacs. To be honest I somewhat confused about ispell vs aspell. When typing "M-x ispell-buffer" a spelling control starts using english as…
Kira
  • 85
  • 1
  • 9
0
votes
1 answer

Error when including hooks for flyspell in .emacs file

I am trying to automatically enable flyspell in emacs. In particular, I am interested in spellchecking the comments of my code. I followed the documentation in EmacsWiki and added the following code to my .emacs: (add-hook 'c++-mode-hook …
fons
  • 4,905
  • 4
  • 29
  • 49
1 2
3