home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / usr.bin / lisp / lispnews / text0260.txt < prev    next >
Encoding:
Text File  |  1985-11-10  |  679 b   |  30 lines

  1.  
  2. in response to:
  3.  
  4. >I would like to use "=" in VI to indent my lisp code.  When I
  5. >type "=" in front of some lisp code I get
  6. >No alternate filename to substitute for #0
  7. >How do I indent Lisp code (besides using autoindent)?
  8.  
  9. 1. When I type "=" in vi (without :set lisp) I get no response at all.
  10.     Is it possible that you defined a macro named "=" ?
  11.     {
  12.         check your ~/.exrc file for a line beginning:
  13.         :map = <something-or-other>
  14.     }
  15.  
  16. 2. Even after:
  17.     :set lisp
  18.  
  19.     A single "=" does not seem to cause the correct action, however,
  20.     two successive "="s do.  
  21.  
  22. to summarize:
  23.     1. remove any mapping of "=" from ~/.exrc
  24.     2. :set lisp
  25.         3. use "==" rather than "="
  26.  
  27. - johnson@udel-ee
  28.  
  29.  
  30.