I am trying to setup the Predictive Mode of Emacs and to use it with the LaTeX-mode. I have one problem: as soon as LaTeX-mode is loaded, it loads "auto-overlays" and it takes up to two minutes before I can begin to work, which is very annoying. I believe that this "auto-overlays" is used to switch between dictionaries according to where I am in the LaTeX document.
Here is the part of my .emacs that concerns the predictive mode:
(require 'predictive)
(autoload 'predictive-mode "predictive" "predictive" t)
(set-default 'predictive-auto-add-to-dict t)
(setq predictive-main-dict 'dict-english
predictive-auto-learn t
predictive-add-to-dict-ask nil
predictive-use-auto-learn-cache nil
predictive-which-dict t)
(add-hook 'latex-mode-hook 'predictive-mode)
(setq completion-use-hotkeys nil)
(setq predictive-ignore-initial-caps t)
(custom-set-variables
'(auto-completion-syntax-alist (quote (accept . word))))
Do you have a solution?
.elfile in to binaries. It will speed up your loading time! – nickpapior Apr 12 '12 at 15:40.eland.elcfiles in my load-path. Which one of them is used? – Totor Apr 12 '12 at 15:44.predictivefolder where you have your .tex file and stores some info in it. I deleted this folder and it works fine now. Any ideas about the purpose of this folder? – Totor Apr 12 '12 at 17:11.elcis the binary file of the equivalent.elfile. – nickpapior Apr 12 '12 at 17:16