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
Invalid function: ido-ubiquitous-with-override #18
Comments
Getting the same error! btw, I got this ERROR at Emacs startup: |
Can you start emacs with |
|
@skeeto, I see you've installed through MELPA. Can you tell me which version of ido-ubiquitous you are on? In ido-ubiquitous.el, near the top, there should be a version number. The latest is 2.0.4, which I believe fixes this bug. |
The backtrace was 2.0.2 from MELPA. The reason I was reporting the issue I just built a 2.0.4 package locally with MELPA ("make recipes/ido-ubiquitous") |
You're still getting the "(invalid-function ido-ubiquitous-with-override)" with 2.0.4? Same backtrace? Did you do it in a clean emacs, including clearing the elpa folder and reinstalling? |
Ryan Thompson notifications@github.com writes:
Yup. Here's a full terminal session setting everything up from scratch. $ emacs --version ;;; ido-ubiquitous Fetcher: github Cloning git://github.com/DarwinAwardWinner/ido-ubiquitous.git to /tmp/12396/melpa/working/ido-ubiquitous/ $ ls packages/ |
What if I just remove all autoload markings from ido-ubiquitous? |
I'm sorry, I just can't figure out why it doesn't work when installed through MELPA. I think maybe MELPA should stick to the emacs23 branch of ido-ubiquitous until I have time to sort this out (which I won't in the next week, unfortunately). If anyone knows why there is a difference when installing and loading through MELPA, please tell me. |
@DarwinAwardWinner I am not sure that autoloads are the culprit here (imho there is some kind of a macro expansion issue in the byte compiler), but I am not sure either, whether all the autoloads are really needed. I would not place autoloads on anything else, especially not on |
@DarwinAwardWinner Now I have to use version 1.7 back again and everything's OK at last. |
Well, perhaps it isn't MELPA, but package.el doing something odd. What if you just load the file directly without doing any "install"? |
@DarwinAwardWinner |
Ok, I think I have fixed this in 2.0.5. |
Thanks for fixing the bug! I tried version 2.0.5 and got the ERROR: What is the 'cmd' variable? |
I've got it worked out without having to touch MELPA, and, unfortunately, it's still not fixed in 2.0.5. I also just discovered your use of What seems to be happening is it's throwing an error on this Here's how I'm testing it now right in the repository:
After running A really dirty hack that fixes even v2.0.4 is to simply add this before defining the advice. (defvar cmd nil) Then it doesn't fail to load (the variable exists), all the functions get defined as needed. Everything works. |
Why doesn't Emacs stop and show a backtrace when it encounters the void variable error? Anyway, would it be better to defvar the cmd variable or to access it via |
bound-and-true-p. you really don't want to make the generic name cmd a
|
Ok, I added the |
Thanks! 0f3bb89 seems to fix it for me. I'll close this issue once 2.0.7 makes it into MELPA later today and works properly (unless you want to close it yourself now). |
You close it when MELPA pushes the update. |
It appears something is still broken with the autoloads. After installing ido-ubiquitous from MELPA I get
Invalid function: ido-ubiquitous-with-override
whenever I try to rename a file with R in a dired buffer, among a few other situations. After this error, my whole Emacs session slowly unravels -- font locking breaks, minibuffer becomes unusable -- and I need to restart Emacs.Here's how to reproduce
Here's test.el:
After Emacs starts, type R and you'll get the error message.
The text was updated successfully, but these errors were encountered: