[comp.emacs] Customizing Lisp Indentation format

holt@whoops.lynn.ge.com (George Holt) (03/30/91)

I am trying to figure out how to customize the auto indentation
of lisp code in emacs.  There are two things which I am looking for.
	1.  Anyone who knows how to get access to an elisp manual.
	2.  An explanation of the syntax used for indenting text.

For item number 1, if anyone knows how I can get access to an elisp
manual for future reference, I would appreciate it.

For item number two, the following statements customize lisp indentations,
but the syntax is not explained very clearly in the source code.
The following statement,

	(put 'do 'fi:lisp-indent-hook '((1 1 1) (1 2 1) (0 t (fi:lisp-indent-tagbody 2))))

will cause a `do' statement to look like the following

(do ((junk 3
           (incf junk))
     (more-junk nil nil))

    ((test-form) 'done)
  (body-of-do))

However, the same `put' on a do* form will give...

(do* ((junk 2)
      (more-junk nil))
    
    ((test-form) 'done)
  (body-of-do*))

where the test form has been moved to the left one space.
I understand the concept of Depth,Count,Method, yet it doesn't do what I expect.  In addition
I'm not sure what  fi:lisp-indent-tagbody is doing.
Other methods used in addition are quote, lambda-list and tagbody.

If anyone can explain the syntax of the triplets above, with a few examples of how to 
make subtle modifications, I would appreciate it.
Please send response directly to holt@whoops.lynn.ge.com as I'm not on the mailing list.
Thanx