[Ecls-list] Swank ECL backend

Geo Carncross geocar at gmail.com
Sat Jan 19 03:53:22 UTC 2008

On Jan 17, 2008 8:45 PM, Julian Stecklina <der_julian at web.de> wrote:
> "Geo Carncross" <geocar at gmail.com> writes:
> > Actually I should add that it's only working "okayish" when ecl is
> > built with --enable-threads and I've only tested it on Linux, so other
> > environments may vary wildly.
> I use ECL and Slime from CVS and it drops immediately into the debugger,
> which seems to cause yet another error:
> The function SWANK::MAKE-WEAK-KEY-HASH-TABLE is undefined.
>    [Condition of type UNDEFINED-FUNCTION]

make-weak-key-hash-table shouldn't be used by anything. Can you upload
an .emacs and .eclrc/.ecl file someplace?

> In form
> ("Namestring" (NAMESTRING PATHNAME))
> FUNCTION: Not a valid argument "Namestring".

namestring is used when getting the default directory, but this looks
like something else.

> You can do some basic stuff in the REPL, but e.g. swank-backend::arglist
> seems completely broken (errors).

I made arglist parse the documentation string of compiled functions so
it could make modelines for print, read, format, etc, but I'll admit
this isn't tested real well yet. Where are you getting this to happen?

> The last time I used ECL with Slime (which was sometime last year), it
> worked quite ok, albeit without all the bells and whistles of the SBCL
> version.

Slime's changed a lot in a year. Your ~/.emacs file wouldn't be
compatible anymore (for example). Here's the relevant bits from mine:

(setq inferior-lisp-program "/usr/local/bin/ecl")
(add-to-list 'load-path (expand-file-name "~/src/slime-devel"))
(add-to-list 'load-path (expand-file-name "~/src/slime-devel/contrib"))
(require 'slime)
(add-hook 'lisp-mode-hook (lambda () (slime-mode t)))
(add-hook 'inferior-lisp-mode-hook (lambda () (inferior-slime-mode t)))
(require 'slime-fancy-inspector)
(require 'slime-presentations)

> I forgot to mention: I am using Gentoo Linux and ECL with threads.

Did you build ECL yourself? Or using an ebuild? How recently?

More information about the ecl-devel mailing list