From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrea Crotti Newsgroups: gmane.emacs.help Subject: Auto complete not starting Date: Mon, 09 Aug 2010 20:03:15 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1281377418 31192 80.91.229.12 (9 Aug 2010 18:10:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Aug 2010 18:10:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 09 20:10:16 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OiWnf-0002g9-27 for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Aug 2010 20:10:15 +0200 Original-Received: from localhost ([127.0.0.1]:41019 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OiWne-0004xm-9b for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Aug 2010 14:10:14 -0400 Original-Received: from [140.186.70.92] (port=52781 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OiWme-0004cT-Mj for help-gnu-emacs@gnu.org; Mon, 09 Aug 2010 14:09:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OiWh7-0001tC-EX for help-gnu-emacs@gnu.org; Mon, 09 Aug 2010 14:03:34 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:57580) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiWh7-0001sz-0d for help-gnu-emacs@gnu.org; Mon, 09 Aug 2010 14:03:29 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OiWh4-0008Iz-Ds for help-gnu-emacs@gnu.org; Mon, 09 Aug 2010 20:03:26 +0200 Original-Received: from xdsl-89-0-7-95.netcologne.de ([89.0.7.95]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Aug 2010 20:03:26 +0200 Original-Received: from andrea.crotti.0 by xdsl-89-0-7-95.netcologne.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Aug 2010 20:03:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 60 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: xdsl-89-0-7-95.netcologne.de User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (darwin) Cancel-Lock: sha1:3bgk1gXSBDqKyFUUiNZja1WyNTM= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74505 Archived-At: I'm in very funny situation, since I've updated auto-complete and yasnippet some time ago it didn't work as it used to be, being normally too slow. Now I don't know how I fixed this and it works like a charm, but if I start another emacs instance I still have the same problem. Given that now I know it's fixable I would like to get it done finally. What my configuration looks like now: --8<---------------cut here---------------start------------->8--- ;;; Require (require 'auto-complete) ;; Various configurations (require 'auto-complete-config) (ac-config-default) (setq ac-auto-start 2) ;automatically start (setq ac-override-local-map nil) ;don't override local map (setq ac-use-menu-map t) (setq ac-candidate-limit 20) ;; Default settings (define-key ac-menu-map "\C-n" 'ac-next) (define-key ac-menu-map "\C-p" 'ac-previous) ;; making it a bit faster (setq ac-delay 0.1) (setq ac-auto-show-menu 0.4) (setq ac-quick-help-delay 0.5) ;; using a dictionary (emtpy now) (add-to-list 'ac-dictionary-directories (concat conf "auto-complete/dict")) (setq-default ac-sources (append ac-sources '(ac-source-yasnippet))) (dolist (my-ac-mode '(nesc-mode org-mode html-mode xml-mode)) (add-to-list 'ac-modes my-ac-mode)) ; this is used for trigger ac actions from org-mode also (add-to-list 'ac-trigger-commands 'org-self-insert-command) ;; using a nice function is ac-config (dolist (hook (list 'lisp-interaction-mode-hook 'ielm-mode-hook )) (add-hook hook 'ac-emacs-lisp-mode-setup)) --8<---------------cut here---------------end--------------->8--- And now the funny thing is that in the new emacs it doesn't start at all, I have to run manually ac-complete-(functios|yasnippet) etc etc... Any iidea?? If I could do a DIFF between two global configurations (or maybe dump the actual one) it would be grat also...