From: Andrea Crotti <andrea.crotti.0@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Auto complete not starting
Date: Mon, 09 Aug 2010 20:03:15 +0200 [thread overview]
Message-ID: <m1vd7jd5p8.fsf@80-163.eduroam.rwth-aachen.de> (raw)
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...
next reply other threads:[~2010-08-09 18:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-09 18:03 Andrea Crotti [this message]
2010-08-09 20:27 ` Auto complete not starting Andrea Crotti
2010-08-09 20:32 ` Deniz Dogan
2010-08-09 20:34 ` Richard Riley
2010-08-09 21:00 ` Andrea Crotti
2010-08-09 21:39 ` Dan Davison
2010-08-09 22:05 ` Andrea Crotti
2010-08-09 21:14 ` Andrea Crotti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1vd7jd5p8.fsf@80-163.eduroam.rwth-aachen.de \
--to=andrea.crotti.0@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).