From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: make slim auto-complete work in Org-mode (delete some ac-source in Org-mode). Date: Tue, 05 Aug 2014 14:54:06 +0200 Message-ID: <867g2n2j2p.fsf@somewhere.org> References: <87r413edu0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org stardiviner wrote: > I setup default =ac-sources= for auto-complete like this: > > #+BEGIN_SRC emacs-lisp > (setq-default ac-sources > '(ac-source-yasnippet > ac-source-abbrev > ac-source-filename > ac-source-files-in-current-dir > ac-source-dictionary > ac-source-words-in-same-mode-buffers > )) > #+END_SRC > > And I found =ac-source-dictionary= and =ac-source-words-in-same-mode-buffers= is > heavy for Org-mode, So I try to remove them only in Org-mode. Do you have some evidence of this? Profiling with/without? It'd be interesting. Other point: I'm surprised you don't have the source `ac-source-words-in-buffer' (maybe instead of `ac-source-words-in-same-mode-buffers')... Best regards, Seb -- Sebastien Vauban