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

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

auto-complete


From: Haris Bogdanović
Subject: auto-complete
Date: Sun, 4 Oct 2015 22:12:14 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Thunderbird/38.2.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/ac-dict")
(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)))))p
(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 auto-complete doesn't work ?
Do I press TAB key to auto-complete ?


Thanks




reply via email to

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