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

wrap-with-parens and same those does not work see Attach #931

Open
romankrv opened this issue Sep 29, 2018 · 2 comments
Open

wrap-with-parens and same those does not work see Attach #931

romankrv opened this issue Sep 29, 2018 · 2 comments

Comments

@romankrv
Copy link

Expected behavior

wrap-with-parens
wrap-with-brackets
wrap-with-parens
wrap-with-braces
wrap-with-single-quotes
wrap-with-double-quotes
wrap-with-underscores
wrap-with-back-quotes
These functions not works
Log message like this:
command-execute: Autoloading file
/Users/admin/Documents/PROJECTS/conf/.emacs.d/elpa/smartparens-20180912.1750/smartparens.elc
failed to define function wrap-with-underscores

Actual behavior

Steps to reproduce the problem

M-x wrap-with-pare
screen shot 2018-09-29 at 14 41 15
ns RET
I see in Emacs MESSAGE buffer:

command-execute: Autoloading file /Users/admin/Documents/PROJECTS/conf/.emacs.d/elpa/smartparens-20180912.1750/smartparens.elc failed to define function wrap-with-double-quotes

Backtraces if necessary (M-x toggle-debug-on-error)

Debugger entered--Lisp error: (error "Autoloading file /Users/admin/Documents/PROJECTS/conf/.emacs.d/elpa/smartparens-20180912.1750/smartparens.elc failed to define function wrap-with-underscores")
autoload-do-load((autoload "smartparens" nil t nil) wrap-with-underscores)
command-execute(wrap-with-underscores)

Environment & version information

In recent enough smartparens you can call M-x sp-describe-system to generate this report. Please fill manually what we could not detect automatically. Edit the output as you see fit to protect your privacy.

  • smartparens version: smartparens-20180912.1750

  • Active major-mode: Emacs-Lisp

  • Emacs version (M-x emacs-version): GNU Emacs 26.1

  • Spacemacs/Evil/Other starterkit (specify which)/Vanilla: GNU
    screen shot 2018-09-29 at 14 41 15

  • OS: macosx 10.13.16

@Fuco1
Copy link
Owner

Fuco1 commented Oct 3, 2018

Yes, this fails because those functions do not exist. Did you copy your config from someone else? Maybe they have them defined locally.

ALL smartparens functions always start with sp- prefix so that's a good hint.

@Fuco1
Copy link
Owner

Fuco1 commented Oct 3, 2018

Yes this looked familiar, here's a duplicate issue #899

So you guys are definitely getting this copied from somewhere. The previous OP did not provide the source though.

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

No branches or pull requests

2 participants