It seems that the problem is with smartparens , which installs by default (see the prelude-programming.el file. This behavior is described in detail on the smartparens wiki . To ensure that smartparens causes problems, you can do Ch k " , this will print that the command is started when " pressed, if the sp--self-insert-command command sp--self-insert-command , then the next job should work
Paste this (setq sp-autoescape-string-quote nil) into the *scratch* buffer, go to the closing bracket and execute Cx Ce , this will disable the behavior for the current emacs session.
To disable behavior for all future emacs sessions, assuming you are using foreplay, you need to add to your personal configuration (basically the file inside /path/to/prelude/personal/ ).
(setq sp-autoescape-string-quote nil)
This will completely disable automatic string escaping. If you like this behavior and donβt want to completely disable it, you can do what @steckerhalter offers. Cq " will only insert one bracket.
If the above does not solve the problem, try providing the following information in your question, which may help us debug the problem,
1) Active small list modes (this can be obtained by executing Ch m ).
2) Output Ch k "
Hope that helps
user2053036
source share