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

Error (use-package): web-mode :config: Symbol's function definition is void: sp-local-pair #3137

Closed
zilongshanren opened this issue Sep 25, 2015 · 13 comments

Comments

@zilongshanren
Copy link
Contributor

error message when opening a html file with web-mode enabled.

@TheBB
Copy link
Collaborator

TheBB commented Sep 25, 2015

Do you have smartparens excluded? The web-mode configuration apparently depends on it. That's a bug.

@zilongshanren
Copy link
Contributor Author

@TheBB
No, I don't exclude smartparens.

@syl20bnr
Copy link
Owner

@zilongshanren can you check if the issue still happens on last develop ?

@zilongshanren
Copy link
Contributor Author

@syl20bnr @TheBB
the error is still exists :(

@StreakyCobra
Copy link
Contributor

Do you still have this error after updating packages?

@emmanueltouzery
Copy link
Contributor

well I have this error here too. I updated the packages, but the error is still present for me (i'm on stable, 0.104.5).
The workaround of dotspacemacs-excluded-packages '(smartparens) in the .spacemacs seems to work.

UPDATE: dotspacemacs-excluded-packages '(smartparens) breaks company completion for me, pretty badly: Company: backend company-emacs-eclim error "Symbol's value as variable is void: smartparens-mode" with args (post-completion inQuery : boolean - ReadLockTimerBase). So I don't know how to fix web-mode on 0.104.x? Can someone give a workaround?

@sebhahn
Copy link
Contributor

sebhahn commented Dec 3, 2015

I'll get the same error when I try to export an org-mode file using org-reveal

@TheBB
Copy link
Collaborator

TheBB commented Dec 3, 2015

There was a commit recently in develop which should have fixed this (finally). At least with regards to web-mode.

There is indeed also a bug that prevents smartparens from being excluded. I'm not sure if it caused your problem @emmanueltouzery but I have submitted a PR in #4050.

About org-reveal I know nothing, but if the error message was literally the same (it also mentioned web-mode) then it shoulda lso be fixed in develop.

@steve-lorimer
Copy link
Contributor

This seems to have reappeared in develop

Error (use-package): company-anaconda :init: Symbol's function definition is void: spacemacs|add-company-backends
Error (use-package): company-c-headers :init: Symbol's function definition is void: spacemacs|add-company-backends
Error (use-package): company-go :init: Symbol's function definition is void: spacemacs|add-company-backends
Error (use-package): company-lua :init: Symbol's function definition is void: spacemacs|add-company-backends
Error (use-package): company-web :init: Symbol's function definition is void: spacemacs|add-company-backends

@TheBB
Copy link
Collaborator

TheBB commented Jun 23, 2017

That's a bug, but not the same bug.

@steve-lorimer
Copy link
Contributor

Does an issue exist, or should I create a new one?

@TheBB
Copy link
Collaborator

TheBB commented Jun 23, 2017

In fact, it's this bug: #9134

@steve-lorimer
Copy link
Contributor

Ha, race condition in cyberspace!

Thanks!

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

No branches or pull requests

7 participants