Bad interaction with paredit-kill
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Scheme Mode for Emacs |
Fix Released
|
High
|
Derick Eddington |
Bug Description
Using the latest paredit-beta and your scheme-mode, there is a problem with paredit-kill in strings. To reproduce this I ran emacs -q and require'd paredit and scheme. Then I switched to a new buffer and enabled scheme-mode and then paredit-mode. Type "foo" and put the cursor on the 'f' and then type C-k. There is an error:
forward-sexp: Scan error: "Unbalanced parentheses", 1, 1
This problem does not occur with e.g. lisp-mode + paredit-mode. I hope this is enough for you to reproduce it (since paredit-beta.el says it's hard to reproduce problems with paredit-kill).
http://
GNU Emacs 23.0.60.1 (x86_64-
And scheme-mode rev 11.
I found another bad interaction with paredit (maybe these are bugs in paredit?). paredit- forward- slurp-sexp doesn't work properly, because of another "unbalanced parenthesis" error. To reproduce you can make the buffer look like this:
() foo
and then position the cursor on ')' and type C-). The closing parenthesis disappears and there is an error message:
up-list: Scan error: "Unbalanced parentheses", 6, 6