Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Extra quote causing problems #55

Open
eggsyntax opened this issue Nov 3, 2017 · 4 comments
Open

Extra quote causing problems #55

eggsyntax opened this issue Nov 3, 2017 · 4 comments

Comments

@eggsyntax
Copy link

Hi,

This is working really well for me! With one exception:
Say that I type (println "foo"). It actually comes out as (println "foo")") -- when I type the closing quote, an extra quote is created (so at that point it's (println "foo"" with the cursor before the final quote), and then typing the closing paren ends up between those two final quotes. This causes hard-to-track-down bugs in the code, because an indeterminate amount of extra stuff is considered quoted.

I'm on Ubuntu/Gnome, on develop branch, GNU Emacs 25.1.1. Happy to provide any other stats if it'd be helpful.

Thanks for all your work on this!

@eggsyntax
Copy link
Author

Conceivably related to syl20bnr/spacemacs#9491 ?

That's pure SWAG, though.

@DogLooksGood
Copy link
Owner

DogLooksGood commented Feb 18, 2018

@eggsyntax Sorry for reply so late.

parinfer-mode will not work with smart-parens enabled.

also you can provide a piece of text that help me reproduce this issue, and a list of minor modes(get by C-h m).

@dwhite44
Copy link

In my emacs config, I made it disable smartparens on parinfer-mode-enable-hook and enable smartparens on the parinfer-mode-disable-hooks. Seems to be working well for me.

@eggsyntax
Copy link
Author

@DogLooksGood no problem, thanks for the reply! I don't have parinfer-mode installed anymore, but the example in the original post was the most minimal one I could find. It makes sense that it would be just the problem of trying to run parinfer with smartparens activated.
Thanks!

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

No branches or pull requests

3 participants