David Vallner <david / vallner.net> writes:

> Hack up three lines of Emacs Lisp to get the Emacs ruby-mode to do the 
> indentation for you? I usually get good results with XEmacs indenting my 
> code for me, although I don't have a quick and dirty way to do it via 
> the command line at hand.

Yes, that's what I meant.

  xemacs -batch foo.rb -eval '(indent-region (point-min) (point-max) nil)' -f save-buffer -kill

Tim