Enabling flyspell mode on emacs/w32? -



Enabling flyspell mode on emacs/w32? -

i need install/run flyspell mode on emacs/w32.

i installed ispell windows this site, , followed procedure written in here.

i downloaded flyspell-1.7a.el rename flyspell.el, , copied load-path directory. i modified .emacs ;;; http://www-sop.inria.fr/members/manuel.serrano/flyspell/flyspell.html ;;; flyspell mode (require 'flyspell) (autoload 'flyspell-mode "flyspell" "on-the-fly spelling checker." t) (autoload 'flyspell-delay-command "flyspell" "delay on command." t) (autoload 'tex-mode-flyspell-verify "flyspell" "" t) )

but, when run emacs flymode, got next error.

(error "autoloading failed define function turn-on-flyspell")

what might wrong?

solution ispell

it ispell win32's problem, 1 should utilize 1 works emacs/win32 explained in the book of emacs.

download ispell.zip 1 of site. copy ispell.exe path directory, , re-create english language dictionary home directory. solution aspell

vedang gave improve reply aspell at post.

it has windows installer, dictionary install in here. , adding next line in .emacs works fine me.

(custom-set-variables '(ispell-dictionary "british") '(ispell-program-name "h:\\bin\\aspell\\bin\\aspell.exe"))

it makes little sense both require flyspell (which load library), , declare autoloads 2 of functions (the purpose of avoid loading library in advance of functions beingness called.

i don't know if causing error (possibly subsequent autoloads clobber real definitions?), there's no need both.

in fact, on emacs 23.2.1 (if not much earlier), flyspell.el declares own autoloads (as built-in libraries, believe), shouldn't have of @ if running sufficiently date version. version of emacs talking about?

edit: in fact flyspell-delay-command not autoloaded default in 23.2.1, might want retain line if decide remove require.

emacs flyspell

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -