I'm asking again, just in case ...
Has anyone got ECB (http://ecb.sourceforge.net) working with Allegro
Common Lisp's ELI Emacs interface?
Or with Slime?
If so, what is the magic you need to invoke?
For ELI, I have:
(add-hook 'fi:lisp-mode-hook 'semantic-default-elisp-setup)
(load-file "~/elisp/cedet/common/cedet.el")
(semantic-load-enable-excessive-code-helpers)
(add-to-list 'load-path "~/elisp/ecb")
(require 'ecb)
(ecb-activate)
but this isn't sufficient enough voodoo.
ECB really does seem reasonably useful. (Has anyone used in in other
contexts?)
Will Fitzgerald wrote:
> I'm asking again, just in case ...
>
> Has anyone got ECB (http://ecb.sourceforge.net) working with Allegro
> Common Lisp's ELI Emacs interface?
>
> Or with Slime?
I'm using it with Slime. I just configured them as independently and
they just work. In what way they fail to work for you?
>
> If so, what is the magic you need to invoke?
Here are the relevant parts of my ~/.emacs:
(require 'slime)
(slime-setup :autodoc t)
(setq inferior-lisp-program "sbcl")
;; (setq inferior-lisp-program "lisp")
(setq common-lisp-hyperspec-root
"file:/usr/share/doc/hyperspec-7.0/HyperSpec/")
(global-set-key "\C-cs" 'slime-selector)
(setq column-number-mode t)
(add-hook 'lisp-mode-hook
(lambda ()
(define-key lisp-mode-map [(control j)] 'newline)
(define-key lisp-mode-map [(control m)] 'newline-and-indent)
(set (make-local-variable 'lisp-indent-function)
'common-lisp-indent-function)))
;; Load CEDET
(load-file "~/emacs/cedet-1.0pre3/common/cedet")
;; Enabling SEMANTIC minor modes. See semantic/INSTALL for more ideas.
(semantic-load-enable-code-helpers)
(add-to-list 'load-path (expand-file-name "~john/emacs/ecb-2.32"))
(require 'ecb)
>
> For ELI, I have:
>
> (add-hook 'fi:lisp-mode-hook 'semantic-default-elisp-setup)
> (load-file "~/elisp/cedet/common/cedet.el")
> (semantic-load-enable-excessive-code-helpers)
> (add-to-list 'load-path "~/elisp/ecb")
> (require 'ecb)
> (ecb-activate)
>
> but this isn't sufficient enough voodoo.
>
> ECB really does seem reasonably useful. (Has anyone used in in other
> contexts?)
Will Fitzgerald wrote:
>
> Has anyone got ECB (http://ecb.sourceforge.net) working with Allegro
> Common Lisp's ELI Emacs interface?
No.
> ECB really does seem reasonably useful. (Has anyone used in in other
> contexts?)
coding in c++. i do not need it, but the students seem to need it ;)
Ciao,
Bernd
P.S.: it is a pitty. now that i know about lisp - i do not have the time
to learn it in depth (job/wife/children) ... but i won't give up!
--
https://gna.org/projects/mipisti - (microscope) picture stitching
T_a_k_e__c_a_r_e__o_f__y_o_u_r__R_I_G_H_T_S.
P_r_e_v_e_n_t__L_O_G_I_C--P_A_T_E_N_T_S
http://www.ffii.org, http://www.nosoftwarepatents.org