[NTLUG:Discuss] Emacs auto-indenting

Richard Cobbe cobbe at directlink.net
Thu Jan 6 17:22:43 CST 2000


MadHat wrote on 1-6-2000:

> MadHat wrote:

> http://www.fnal.gov/docs/products/emacs/emacs/emacs_23.html#SEC182
> 

Actually, this is just an HTML translation of the emacs manual, packaged as
info files with each distribution of emacs.  In emacs, 

C-h i m emacs RET m Indentation RET

> > > (define signature '(
> > >   (name "John R. Hall")
> > >   (school "Georgia Tech")
> > >   (major "Computer Science")))
> > 
> > BTW, are you missing a ' in your sig, or it supposed to be that way?

It's supposed to be that way.  That's how LISP, and languages which use the
same basic syntax, denote lists.  I'd put a carriage return in front of the
'( and re-indent accordingly, but that's a minor matter.

Richard




More information about the Discuss mailing list