GNU ELPA - auto-correct

auto-correct

Description
Remembers and automatically fixes past corrections
Latest
auto-correct-1.1.el, 2017-Sep-06, 13.1kB
Maintainer
Ian Dunn <dunni@gnu.org>
Home page
http://elpa.gnu.org/packages/auto-correct.html
Browse repository
CGit or Gitweb

To install this package, run in Emacs:

M-x package-install RET auto-correct RET

Full description

To enable, use:

M-x `auto-correct-mode'

After that, any future corrections made with flyspell or Ispell (or any other
supported package) will be automatically corrected for you as you type.

For example, if you type "befroe" and fixed it with `ispell-word',
`auto-correct-mode' will change "befroe" to "before" every time you type it
from then on.

Corrections are only made when `auto-correct-mode' is enabled.  Expansion is
case-insensitive, so trying to fix alice as Alice won't work.

For more fine-grained control over when corrections are made, set the
buffer-local variable `auto-correct-predicate'.

Behind the scenes, auto-correct uses an abbrev table, so in order to clean
out or modify any fixes auto-correct has learned, use `list-abbrevs'.  This
also means that fixes are saved between Emacs sessions along with the abbrev
tables.

Ispell and flyspell are the only two packages that auto-correct supports out
of the box, but it's possible to add support for any package that corrects
text:

1. Create a function that calls `auto-correct--add-or-update-correction' with
the old text and the corrected text from your package.

2. Write a function to activate and deactivate support for your package.  It
should take a single argument, which is a boolean indicating whether to
activate or deactivate support.

3. Call `auto-correct-handle-support', passing t as the first argument and
your function as the second.  To disable support, pass nil as the first
argument instead.

4. You're done.

Old versions

auto-correct-1.0.el2017-Sep-0412.8kB