Bill Clementson's Blog

Bits and pieces (mostly Lisp-related) that I collect from the ether.

December 2005
Sun Mon Tue Wed Thu Fri Sat
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Nov  Jan

Remote Lisp Development with SLIME/Emacs

Tuesday, December 27, 2005

I've mentioned previously the typical "workflow" used by CL developers who develop code on remote servers using a local Emacs instance. However, until Marco Barringer made his SLIME movie, the actual mechanics of how one sets up a remote connection and develops code remotely probably wasn't all that apparent to many people. In fact, although TRAMP (the remote file editing package that most people use with Emacs for accessing remote files) has been around for a while, it is always useful to see how an experienced developer actually makes use of such a utility. Also, although it's not a difficult task once you know how to do it (funny how that's true about so many things!), configuring TRAMP and SSH for remote file access seems to be a common question for people who are getting started with remote CL development. It's useful to be able to look at some sample configuration code to understand what's required. Now, in addition to the Marco Barringer movie, Andy Sloane has created a page on "Using SLIME over an SSH tunnel". This should further assist people who are getting started with remote CL development. One thing is pretty clear - people that try remote development using SLIME/EMACS/TRAMP really like it!

Incidentally, in my .emacs file, I have the following default customizations in my .emacs file:

(recentf-exclude (quote (".ftp:.*" ".sudo:.*")))
(recentf-keep (file-remote-p file-readable-p))
This helps to prevent certain start-up errors if you're using recentf and working with remote (or not always accessible) files.

emacs Copyright © 2005 by Bill Clementson