smartparens conflicts with comint mode bindings

24 views
Skip to first unread message

alexandr...@gmail.com

unread,
Sep 25, 2013, 4:31:21 AM9/25/13
to emacs-...@googlegroups.com
Hi,
Since the introduction of smartparens in prelude I notice the following:

First, at startup, there is an error message: prelude-lisp-coding-defaults: Symbol's function definition is void: smartparens-strict-mode

Then in a shell buffer, the M-r key binding is now bound to the function  sp-splice-sexp-killing-around, overriding the super useful comint-history-isearch-backward, for searching through the shell commands history with a regular expression.
Would you recommend a way to work around this?
Thanks

Bozhidar Batsov

unread,
Sep 25, 2013, 5:21:15 AM9/25/13
to emacs-...@googlegroups.com
On Wednesday, September 25, 2013 at 11:31 AM, alexandr...@gmail.com wrote:
Hi,
Since the introduction of smartparens in prelude I notice the following:

First, at startup, there is an error message: prelude-lisp-coding-defaults: Symbol's function definition is void: smartparens-strict-mode
Do a package-update (M-x package-list-packages RET U X). 

Then in a shell buffer, the M-r key binding is now bound to the function  sp-splice-sexp-killing-around, overriding the super useful comint-history-isearch-backward, for searching through the shell commands history with a regular expression.
Would you recommend a way to work around this?
I guess smartparens is not particularly useful in comint, so we might disable it. 
Thanks

--
You received this message because you are subscribed to the Google Groups "Emacs Prelude" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emacs-prelud...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

alexandr...@gmail.com

unread,
Sep 25, 2013, 5:39:56 AM9/25/13
to emacs-...@googlegroups.com, bozh...@batsov.com
Yes, the package upgrade solved the first issue.
I agree also that smartparens is not so useful in comint, so it may be a good idea to disable it by default in this mode.
Cheers  
Reply all
Reply to author
Forward
0 new messages