From: Tim Heaney Date: 2005-10-10T07:06:52+09:00 Subject: Re: indent for Ruby, to reformat it David Vallner 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