help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

auto-complete is really fast in emacs-lisp buffers but slow in text-mode


From: Eric S Fraga
Subject: auto-complete is really fast in emacs-lisp buffers but slow in text-mode buffers
Date: Wed, 26 Jan 2011 10:37:33 +0000
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Hello,

I have been using auto-complete 0.2.0 and it works very well generally
but for some reason did not work in org-mode buffers.  I decided to
upgrade to the latest stable version of auto-complete, version 1.3.1.
This new version works in org-mode buffers so I'm happy in this regard.
However, it is very very slow in org-mode and text-mode buffers yet fast
in emacs-lisp buffers.

Does anybody know what could be the cause of the difference in speed?
The settings, as far as I can tell, are global so they should apply to
all buffers equally?

My actual relevant settings are:

--8<---------------cut here---------------start------------->8---
(require 'auto-complete)
(require 'auto-complete-config)
(ac-config-default)
(setq-default
 ac-sources '(
              ac-source-abbrev
              ;;ac-source-dictionary
              ;;ac-source-symbols
              ac-source-words-in-all-buffer
              ac-source-words-in-buffer
              )
 )
(setq
 ac-auto-show-menu 0.1
 ;; ac-auto-start 3
 ac-menu-height 20
 ac-modes (append ac-modes '(org-mode jde-mode latex-mode ledger-mode mail-mode 
message-mode text-mode))
 )
(global-auto-complete-mode t)
--8<---------------cut here---------------end--------------->8---

Thanks,
eric

-- 
Eric S Fraga (: http://www.homepages.ucl.ac.uk/~ucecesf/ :)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]