[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Speaking of Syntax



Speaking of defining syntaxes, I've defined some syntaxes such as
has been mentioned, and I'd like the editor to be "smart" about the
syntax when it formats the s-expression.  The default s-expression 
puts in too many spaces.  My syntax looks something like this:

(def-animal BABOON
   :species monkey
   :weight (0 100)
   :color brown)

You get the picture.  def-animal, followed by an atom followed by 
a list of keywords.  I'd like zmacs to format it as above but it
formats it like this:

(def-animal BABOON
  :species monkey
  :weight (0 100)
  :color brown)

Zmacs is "smart" about defun, let, loop and other "standard" lisp
syntaxes.

Any help would be appreciated...

	-Dave Kriegman
	 kriegs@whitney.stanford.edu