Fuco1 / smartparens

Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
GNU General Public License v3.0
1.81k stars 193 forks source link

Smartparens malfunctioning when using #551

Open MatthewRock opened 8 years ago

MatthewRock commented 8 years ago

I'm attaching dump.txt with record of my REPL tinkering.

What I exprienced(not the first time, and it's super annoying) is that after some time, whenever I try to open a pair of "" (as it normally does when I press "), only one " appears. After that, I can open "" normally, so the parser must see some unmatched " before, but it's already too late. Therefore, I get a situation, where I do something like that:

(")

And it gets worse from there, since when I try to delete " I can't, but I can delete opening bracket, leaving me with unmatched closing bracket. I don't know if this can be somehow fixed, but that's rather unpleasant.

Fuco1 commented 8 years ago

I think you derped the title, but in either case the issues with REPLs are many.

In haskell repl we solve this by adding special search limiting predicates, you might look at the haskell config and see if you can apply similar process to your REPL (you never said what). IT'S CLEARLY CL :D

MatthewRock commented 8 years ago

Yeah! Of course it's CL :+1:

Thanks, I will see about that.