Archive for October, 2006

FTD 0.0.3

Friday, October 20th, 2006

FTD screenshot

I resurrected FTD, the Flexi Trivial Dired, after some months’ hiatus. When I started the project last year it was to provide another ESA (Emacs Style Application) example, and to provide a test-bed for McCLIM application integration. Well, ESA was split out of Climacs anyway, and Clim Desktop made its appearance without a directory editor.

Still, it’s fun to see how much of the Emacs Dired functionality can be obtained by putting together a bunch of common lisp libraries. Documentation and downloading instructions can be found here.

Being an ESA, FTD inherits all of the cool help functionality built into the ESA framework. Unfortunately, ESA won’t write the documentation for you yet…

Help Apropos 'Mark'

A couple of things makes FTD actually usable (from a UI point of view) in this revision. First, I remembered to specify :allow for the :end-of-line- and :end-of-page-actions. And, second, Troels Henriksen pointed out, after a few seconds of looking at the code, that I was using the default #'eql cache test, even though I was comparing cache-values of freshly consed lists each time through the display loop. Correcting this test (to :cache-test #'equal) prevented McClim from redrawing everything each time I moved the cursor…

Comments and patches welcome (splittist at splittist com). If there is any real interest I’ll set up a proper project.