8 May 2011 nikodemus   » (Journeyer)

There's Indentation In The Air

Didier Verna's recent efforts in lambda-list indentation motivated me to look into two of my pet irritants.

  • Forms beginning with default indented as if they were defun forms.
  • Broken prog indentation.

After poking around sufficiently to fix them locally, I started thinking about how to make improvements like this as painless as possible -- because let's face it, there are still other issues left. cl-indent.el is distributed with Emacs/XEmacs, which makes it a somewhat slow moving target.

My plan: (1) copy current cl-indent.el to Slime as contrib/slime-cl-indent.el, replacing the ancient version already included as part of slime-indentation contrib. (2) improve it without overly worrying about pushing all changes immediately to Emacs propers.

While waiting for input from other Slime folks, I have a tree that does just that at GitHub: https://github.com/nikodemus/Slime/tree/slime-indentation. It incorporates both Didier's stuff and my more modest changes.

Do you have cl-indent.el fixes or improvements stashed away somewhere? Fork that tree, merge your stuff, and poke at me to merge it back. ...then we'll see about getting it to Slime proper.

Syndicated 2011-05-08 13:34:08 from Nikodemus Siivola

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!