TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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)
   '(auto-completion-syntax-alist (quote (accept . word))))

Do you have a solution?

share|improve this question

closed as too localized by Martin Schröder, Qrrbrbirlbel, Kurt, Stefan Kottwitz Dec 1 '12 at 23:03

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

have you downloaded it yourself or used it as a package? It can really pay of to compile the .el file in to binaries. It will speed up your loading time! – zeroth Apr 12 '12 at 15:40
I have both the .el and .elc files in my load-path. Which one of them is used? – Totor Apr 12 '12 at 15:44
Turns out that the Predictive Mode creates a .predictive folder 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
I have no idea of the predictive folder (I don't use it myself). On the other matter, that is good, .elc is the binary file of the equivalent .el file. – zeroth Apr 12 '12 at 17:16

Browse other questions tagged or ask your own question.