Skip to content
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

swiper--update-input-ivy: Invalid function: with-ivy-window #185

Closed
cg4242 opened this issue Jul 31, 2015 · 6 comments
Closed

swiper--update-input-ivy: Invalid function: with-ivy-window #185

cg4242 opened this issue Jul 31, 2015 · 6 comments

Comments

@cg4242
Copy link

cg4242 commented Jul 31, 2015

Since the last update I get this error when I use swiper. I use

GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2015-04-10 on builder10-9.porkrind.org

with prelude on OSX Yosemite.

@drot
Copy link

drot commented Jul 31, 2015

Can confirm happening on GNU Emacs 24.5.1 (i686-pc-linux-gnu, X toolkit, Xaw scroll bars) as well. Also happens with counsel-M-x

@abo-abo
Copy link
Owner

abo-abo commented Jul 31, 2015

Make sure to update your packages and restart Emacs. with-ivy-window is a macro, so maybe there was some issue with package.el not loading it.

@drot
Copy link

drot commented Jul 31, 2015

Reinstall from scratch solved the issue for me.

@abo-abo
Copy link
Owner

abo-abo commented Jul 31, 2015

Yes, that should do it. I think the issue is with byte compilation: the byte compiler did not know that with-ivy-window was a macro. It's likely that the byte compiler did (require 'ivy), but that did nothing, since you had it loaded already.

Just to show how to do this manually: navigate to the package directory in elpa. Press L to force load all *.el files. Press B to byte-compile the files. Just L is enough to fix the current session, B is for all future sessions.

@cg4242
Copy link
Author

cg4242 commented Jul 31, 2015

Hi Oleh,

I can confirm this. I’ve uninstalled swiper and re-installed from melpa (20150730.659), now swiper with ivy runs fine. I will test swiper-helm later.

Thanks for your quick help.

Greetings, Christoph

On 31.07.2015, at 10:46, Oleh Krehel notifications@github.com wrote:

Yes, that should do it. I think the issue is with byte compilation: the byte compiler did not know that with-ivy-window was a macro. It's likely that the byte compiler did (require 'ivy), but that did nothing, since you had it loaded already.

Just to show how to do this manually: navigate to the package directory in elpa. Press L to force load all *.el files. Press B to byte-compile the files. Just L is enough to fix the current session, B is for all future sessions.


Reply to this email directly or view it on GitHub.

@abo-abo
Copy link
Owner

abo-abo commented Aug 4, 2015

It appears that everyone else has updated without problems. Maybe connection issues are to blame. In any case, for a lot of packages, re-installing can fix this type of issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants