Auto-indenting lisp expressions in Emacs

Discussion of programming Lisps using Emacs, including SLIME and other tools

Auto-indenting lisp expressions in Emacs

Postby hajovonta » Mon May 27, 2013 11:58 pm

How can I get Emacs to properly auto-indent Lisp expressions typed into any buffer? My idea was that I open SLIME in a buffer, then a new file in another buffer and I write code in that another buffer and compile it and use SLIME buffer as REPL. But while there is good auto-indenting in SLIME buffer (with slime-mode), I can't get the same auto-indenting functionality in the other buffer.
hajovonta
 
Posts: 10
Joined: Wed Aug 24, 2011 12:42 am

Re: Auto-indenting lisp expressions in Emacs

Postby hajovonta » Tue May 28, 2013 3:14 am

OK I got this one: M-x lisp-interaction-mode and M-x auto-indent-mode.
I think I will bind these to a key.

Thanks for helping :)
hajovonta
 
Posts: 10
Joined: Wed Aug 24, 2011 12:42 am


Return to Emacs

Who is online

Users browsing this forum: No registered users and 2 guests