I have now fixed smart-quotes.el to take advantage of curly quote pairing in electric-pair-mode. The fixed version is at https://github.com/rrthomas/smart-quotes , and has a pull request awaiting upstream's attention! -- http://rrt.sc3d.org