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

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

auto-complete


From: haris . bogdanovic
Subject: auto-complete
Date: Thu, 15 Oct 2015 13:24:16 -0700 (PDT)
User-agent: G2/1.0

Hi

This is my .emacs file:

; ----------------------------------------------------------

(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/";)
                         ("marmalade" . "https://marmalade-repo.org/packages/";)
                         ("melpa" . "http://melpa.org/packages/";)))


(add-to-list 'load-path 
"C:/Users/h/AppData/Roaming/.emacs.d/elpa/slime-20150830.1446")
(require 'slime)
(add-hook 'lisp-mode-hook (lambda () (slime-mode t)))
(add-hook 'inferior-lisp-mode-hook (lambda () (inferior-slime-mode t)))

(setq inferior-lisp-program "C:/Users/h/ccl/wx86cl")

(add-to-list 'load-path "~/.emacs.d/elpa/ac-slime-20150729.2035")
;; enable autocomplete

(add-to-list 'load-path "~/.emacs.d/elpa/auto-complete-20150618.1949")
(add-to-list 'load-path "~/.emacs.d/elpa/popup-20150626.711")

(require 'auto-complete-config)
(add-to-list 'ac-dictionary-directories 
"~/.emacs.d/elpa/dictionary-20140717.2029")
(ac-config-default)
(global-auto-complete-mode t)
(auto-complete-mode t)

 (add-hook 'slime-mode-hook 'set-up-slime-ac)
 (add-hook 'slime-repl-mode-hook 'set-up-slime-ac)
 (eval-after-load "auto-complete"
   '(add-to-list 'ac-modes 'slime-repl-mode))




(require 'ac-slime)
(add-hook 'slime-mode-hook 'set-up-slime-ac)



(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(blink-cursor-mode nil)
 '(show-paren-mode t)
 '(initial-frame-alist (quote ((fullscreen . maximized)))))


(custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )

(slime)

; -----------------------------------------------------------

Why doesn't my auto-completion work ?

Thanks


reply via email to

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