nicktick has joined #slime
Achylles has joined #slime
Achylles has quit [Ping timeout: 246 seconds]
Achylles has joined #slime
seok has joined #slime
<
seok>
paredit doesn't delete closing brackets in slime
<
seok>
is there a config for this ?
Achylles has quit [Ping timeout: 246 seconds]
IPmonger has quit [Ping timeout: 250 seconds]
IPmonger has joined #slime
OlCe has joined #slime
nicktick has quit [Ping timeout: 240 seconds]
nicktick has joined #slime
nicktick has quit [Ping timeout: 240 seconds]
OlCe has quit [Remote host closed the connection]
<
pjb>
seok: do you mean in the slime repl?
<
pjb>
Are you sure paredit is activated there?
<
pjb>
Since the repl output can contain anything, it will soon have unbalanced parentheses, and paredit will get disabled.
<
seok>
it makes () when i open bracket
<
pjb>
Now, the normal behavior for paredit, is to delete the content of the list until it's empty, and then to delete both ().
<
pjb>
You cannot delete just one parenthesis.
<
pjb>
If you want to do that, you can select it and cut it out.
<
seok>
it works fine in file buffers
<
pjb>
with C-SPC C-b C-w for example.
<
seok>
I have (add-hook 'slime-repl-mode-hook (lambda () (paredit-mode +1))) in .emacs
<
seok>
so I believe paredit should be working in repl
<
pjb>
nope. type C-h m and see section DELparedit-backward-delete
<
seok>
it says del is currently shadowed by another mode
<
pjb>
You can always do: M-x delete-backward-char RET
<
pjb>
or bind it to an alternate key.
<
seok>
well the only other mode I am running is helm
<
seok>
so it must be that ?
<
seok>
can I just add (global-set-key (kbd "DEL") ' backward-delete-char-untabify) after (paredit-mode +1) ?
<
pjb>
or local-set-key ?
<
seok>
sounds better
<
pjb>
But again, this would break paredit.
<
pjb>
You could as well not use it.
<
seok>
is that the right symbol for paredit delete
<
seok>
eh yeah I'm doing without paredit delete on repl atm
Achylles has joined #slime
nicktick has joined #slime
cage_ has joined #slime
nicktick has quit [Ping timeout: 240 seconds]
nicktick has joined #slime
nicktick has quit [Ping timeout: 240 seconds]
nicktick has joined #slime
seok has quit [Quit: Connection closed]
cage_ has quit [Quit: Leaving]