Skip to content

syl20bnr/emacs-ac-ispell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ac-ispell.el

Introduction

ac-ispell.el is ispell/aspell completion source for auto-complete. ac-ispell also supports UPCASE completion and Capitalized completion.

Screenshot

ac-ispell

UPCASE Completion

ac-ispell-upcase

Capitalized completion

ac-ispell-capitalcase

Requirements

How to use ac-ispell completion source

You can call ac-ispell-ac-setup at hooks.

(add-hook 'some-mode-hook 'my/some-mode-hook)

Commands

ac-ispell-setup

Declare ispell/aspell auto-complete source based on ac-ispell-requires. The source name of auto-complete is ac-source-ispell. This command must be called at the beginning.

ac-ispell-ac-setup

Setup ispell auto-complete source and enable auto-complete-mode if auto-complete is not enabled.

Customize Variables

ac-ispell-requires(Default 3)

Required number of characters of this source completion. You should change this value before calling ac-ispell-setup.

I recommend to use custom-set-variable for setting this value.

Sample Configuration

;; Completion words longer than 4 characters
(custom-set-variable
  '(ac-ispell-requires 4))

(eval-after-load "auto-complete"
  '(progn
      (ac-ispell-setup)))

(add-hook 'git-commit-mode-hook 'ac-ispell-ac-setup)
(add-hook 'mail-mode-hook 'ac-ispell-ac-setup)

About

ispell/aspell completion source for auto-complete

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Emacs Lisp 100.0%