[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.lisp

emacs auto-complete

Haris Bogdanovi?

11/9/2015 6:56:00 PM

Hi

This is my .emacs file:

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

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


(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 ?
I want a dialog to pop up, with possible completions, in my REPL and .lisp files, when I'm typing.

Thanks
2 Answers

Delvin Benet

1/2/2013 2:17:00 AM

0

On 1/1/2013 5:03 PM, Gunner wrote:
> On Tue, 01 Jan 2013 08:42:07 -0800, Delvin Benet <DB@nbc.n?t> wrote:
>
>> On 12/31/2012 11:19 PM, Gunner wrote:
>>> On Mon, 31 Dec 2012 19:39:37 -0800, Delvin Benet <DB@nbc.n?t> wrote:
>>
>>>>> Anyone you don't agree with is discounted atthe start.
>>>>
>>>> No. I didn't discount anyone. Some asshole questioned my right to post
>>>> my original comment. I discounted the asshole, but he wasn't attempting
>>>> to debate anything.
>>>>
>>>> You're a thin-skinned little prick, aren't you?
>>>
>>> We also notice
>>
>> You don't notice anything, gummer, you brain-damaged mental defective
>> with no guns...
>
> <VBG>

Tired, stale, overworked Usenet clich?.


>
> The clock is...ticking

No.


>
> <VBG>

Tired, stale, overworked Usenet clich?.

Barry Margolin

11/9/2015 8:32:00 PM

0

In article <528dabed-bf09-48f6-a8e0-f6d81313c275@googlegroups.com>,
haris.bogdanovic@gmail.com wrote:

> Hi
>
> This is my .emacs file:

Try posting in an emacs group, like comp.emacs.help.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***