Closed turbopape closed 9 years ago
There is not a single mention of forward-sexp
in the smartparens source code. Are you sure you aren't using paredit?
No, there is only SP shown on my status bar... Le 24 août 2015 16:37, "Matus Goljer" notifications@github.com a écrit :
There is not a single mention of forward-sexp in the smartparens source code. Are you sure you aren't using paredit?
— Reply to this email directly or view it on GitHub https://github.com/Fuco1/smartparens/issues/497#issuecomment-134254551.
Try to provide a MWE then, thanks.
And what is an MWE? Plz excuse my noobness:) Le 24 août 2015 17:18, "Matus Goljer" notifications@github.com a écrit :
Try to provide a MWE then, thanks.
— Reply to this email directly or view it on GitHub https://github.com/Fuco1/smartparens/issues/497#issuecomment-134279761.
Minimal working example, an example of a buffer where I can reproduce the problem without all the irrelevant content.
OK. As I'm showing in the next screenshot, If I try to slurp 'a' , it gives me the error. Notice that there's no paredit in my modeline.
Protip: when someone asks for an example, try not to give a screenshot. If it weren't 3 characters I woudn't bother retyping it into my emacs :)
So now, check what is called when you invoke slurp. SP doesn't use the built-in parser at all so I really don't think this is coming from here. Use C-h k
and then do the slurp keybinding, it will pop up a window with description of the command called.
If it indeed is SP then it is most peculiar and I'll have to dig deeper.
I've done as you said and noticed that it was some vanilla emacs function that was triggered by my key. And then I had the idea to see what smartparens base keybinding I was using, to notice that fir an unknown reason it has changed to "no default" . After I fixed that, everything worked great again.
Thank you for Your time and excuse the obscure configuration change that messed things up:) Le 25 août 2015 17:01, "Matus Goljer" notifications@github.com a écrit :
Protip: when someone asks for an example, try not to give a screenshot. If it weren't 3 characters I woudn't bother retyping it into my emacs :)
So now, check what is called when you invoke slurp. SP doesn't use the built-in parser at all so I really don't think this is coming from here. Use C-h k and then do the slurp keybinding, it will pop up a window with description of the command called.
If it indeed is SP then it is most peculiar and I'll have to dig deeper.
— Reply to this email directly or view it on GitHub https://github.com/Fuco1/smartparens/issues/497#issuecomment-134648711.
Great, I'm happy we sorted it out :)
When I try to slurp something, emacs gives me the following error: forward-sexp: Scan error: "Containing expression ends prematurely", 1083, 1084 GNU Emacs 25.0.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.14.13) of 2015-08-23, using Latest Cider Ubuntu 15.04