purcell / emacs.d

An Emacs configuration bundle with batteries included
BSD 2-Clause "Simplified" License
6.82k stars 2.04k forks source link

keybinding issues with paredit #843

Closed isidoridev closed 1 year ago

isidoridev commented 1 year ago

Using paredit-forward-slurp-sexp keybinding C-) goes to end of next sexp instead of slurping.

Using describe-key, the issue seems to be that C-) is bound to ) , which in paredit mode would explain this behavior. There is also the same problem with C-( being reduced to (.

purcell commented 1 year ago

Hmm, works just the same as always for me. Can you provide more info about your setup?

isidoridev commented 1 year ago

Hmm, works just the same as always for me. Can you provide more info about your setup?

Seems the issue only occurs in emacs -nw mode. Also happens on spacemacs, so it is likely to be a problem with emacs itself. I have sent a bug report to the mailing list.

purcell commented 1 year ago

Hmm. I also checked in a terminal, fwiw, but using emacsclient -t — in this case, it also worked fine.

isidoridev commented 1 year ago

Apparently it is to do with how the terminal takes inputs, so just don't use -nw when using paredit-mode. Thanks for your work.