help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slime indentation and colour


From: weber
Subject: Re: Slime indentation and colour
Date: Mon, 16 Jul 2007 12:51:47 -0000
User-agent: G2/1.0

On 16 jul, 09:37, dan...@bigwalter.net (Daniel Jensen) wrote:
> weber <hug...@gmail.com> writes:
> > On Jul 15, 1:39 pm, dan...@bigwalter.net (Daniel Jensen) wrote:
>
> >> (add-hook 'lisp-mode-hook
> >>           (lambda ()
> >>             (local-set-key (kbd "RET") 'newline-and-indent)))
>
> > Well, I had some problem with that exact key binding.
>
> > The problem is that when I set lisp-mode-map, my [ret] would also be
> > bound on *slime-repl*, and my expressions would not get evaluated!
> > I think you need [ret] to be bound to slime-repl-return in the REPL...
>
> That sounds strange to me. The REPL should not be in Lisp mode or use
> that keymap. (My SLIME version is 2007-05-17.)
>
> > So I found out that its better to use slime-mode-map for keybinding
> > relative to editing .lisp files, and slime-repl-mode-map to
> > keybindings related to the repl.
>
> I don't think that's a good idea. Slime mode is also used for buffers
> that are not Lisp (e.g., the apropos buffer.)

Hmm that sucks.
How could I change the slime REPL to be no another mode ?
Thanks in advance,
-weber



reply via email to

[Prev in Thread] Current Thread [Next in Thread]