-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symbol's function definition is void: find #95
Comments
The cl package was deprecated in emacs 24.3. cl is now just a bunch of aliases to functions living in the replacement cl-lib. All the functions from cl are in cl-lib but they have the prefix cl-, so foo is now cl-foo. More info can be find by doing C-h n and searching for 'cl-lib'. |
@expez Speaking of compile-time vs. runtime, many of functions in |
Currently the README does not mention what versions we are actually targeting. I think this is a good time to set a version requirement. @fred-o thoughts? |
Emacs 23 is still the current version in Debian stable. So I would recommend to at least allow for some compatibility with it. |
Personally, I don't know enough about compatibility between emacs versions to be able to form an informed opinion. I just recently switched to 24, and am loving it so far, but keeping compatibility with 23 would be a good thing. Does anyone know what the recommended way of handling the migration from cl to cl-lib is? |
With Emacs 24, you declare dependency on Here's a package of mine that uses this approach: https://github.com/dgutov/diff-hl/blob/master/diff-hl.el |
Okay, I still can't make heads or tails out of this. Had a look at FWIW, I'm running 24.2.2 on OSX, and it includes cl-seq.el, which at least has If anybody wants to contribute a patch for this, I'd be more than willing to merge it. As it stands, I don't feel confident that I'd be doing the right thing if I tried myself. |
It defines a bunch of aliases, and
|
This is the oldest still-open issue I have posted on github. In looking over it, I think it can be closed. Please comment if I should reopen it, or just reopen it if you have the bit. |
Doesn't look fixed to me, e.g.: Line 340 in 846fb89
emacs-eclim/company-emacs-eclim.el Line 47 in 846fb89
While there's only a |
ok, dgutov. Sorry I missed it; I haven't used eclim recently. |
Development has moved to https://github.com/emacs-eclim/emacs-eclim |
@jchochli Ah cool. Looks like this problem is indeed fixed over there already. |
That's good news! |
Hi.
I'm no emacs expert, so maybe this is just "user error", but here goes:
When I start a fresh emacs and issue
M-x eclim-manage-projects
, I get the messageSymbol's function definition is void: find
.After looking around for a while, I realized that various calls like
(find ...)
are all overeclim.el
, and indeed that function wasn't defined. But I found a defun for it here:...So, long story short, I had to
(require 'cl)
, theneclim-manage-projects
works.So maybe emacs-eclim should call
(require 'cl)
on its own. Is that how that works?Now, I have read that it's not popular to make a package depend on cl at runtime, but it's accepted to make it depend on it at compile time... And indeed I seem to recall cl being loaded during compile when I first installed emacs-eclim. Personally, I don't mind having cl loaded, so I consider my problem solved, but, I just thought that you might want to know about this.
Cheers,
--Dave
The text was updated successfully, but these errors were encountered: