Paredit-mode in the slime repl

Alexandre Rademaker arademaker at gmail.com
Sat Aug 4 01:13:30 UTC 2018


Thank you Pascal. What I didn't understand is why the keybinds are so
different in the slime-repl-mode and in the lisp-mode while editing a .lisp
file.

Best,

Alexandre Rademaker
http://arademaker.github.com/
http://researcher.ibm.com/person/br-alexrad



On Fri, Jul 27, 2018 at 10:12 PM Pascal Bourguignon <pjb at informatimago.com>
wrote:

>
>
> On 28 Jul 2018, at 02:40, Alexandre Rademaker <arademaker at gmail.com>
> wrote:
>
>
> After the last Emacs upgrade to 26.1, the M-s key bind from paredit-mode
> is replaced by `Next element matching (regexp)` command in the slime repl
> buffer.  Sorry for the silly question, but how to get M-s mapped to
> paredit-splice-sexp again? In a lisp file buffer it is working as expected.
>
>
>
> (push (lambda () (local-set-key (kbd “M-s”)
> ‘paredit-splice-sexp)) slime-repl-mode-hook)
>
> or more emacsy:  (add-hook ‘slime-repl-mode-hook (lambda () (local-set-key
> (kbd “M-s”) ‘paredit-splice-sexp)))
>
> Also to consider: there’s probably a keymap for the silme-repl-mode, you
> could modify it directly.
>
>
> --
> __Pascal J. Bourguignon__
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/pro/attachments/20180803/218d9558/attachment.html>


More information about the pro mailing list