Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Infinite recursion in Slime's cl-lib #115

Closed
nbtrap opened this Issue · 8 comments

3 participants

@nbtrap

I just installed Slime from master. When I leave Slime's cl-lib in place, I get infinite recursion on Slime's startup in the advice defined around cl-position. I believe installing the patch here will fix it. See also here.

@ellerh
Owner

Judging from the second link, it looks like you have .../slime/lib/ in your load path. That should normally not be needed and it's likely causing the problem. SLIME will look in the lib/ directory if cl-lib can't be found in the normal load-path; no need to add lib/ explicitly to load-path.

I think Mr. Monnier will release a new version of cl-lib when he integrates the patches from the first link. We will then bundle that version with SLIME.

@capitaomorte

@ellerh Do you have anything against applying the patch to our bundled version as a safety in the meantime?

@ellerh
Owner

@ellerh Do you have anything against applying the patch to our bundled version as a safety in the meantime?

No. Maybe add some comment that it contains an interim fix.

@nbtrap

I use normal-top-level-add-subdirs-to-load-path to populate my load-path. Maybe you can add a .nosearch file to the lib directory to prevent it from being added?

@ellerh
Owner

I use normal-top-level-add-subdirs-to-load-path to populate my load-path.

How bizarre.

Maybe you can add a .nosearch file to the lib directory to prevent it from being added?

OK, if you promise not to use normal-top-level-add-subdirs-to-load-path
to install SLIME but instead RTFM.

@nbtrap

What's so bizarre about it? It's a standard function that's been in Emacs since at least 1998. And it includes a provision for this very kind of issue.

@ellerh
Owner
@capitaomorte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.