home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / gnu / emacs / bug / 1572 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.4 KB  |  38 lines

  1. Newsgroups: gnu.emacs.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!traffic.den.mmc.com!kevin
  3. From: kevin@traffic.den.mmc.com (Kevin Rodgers)
  4. Subject: try-completion and all-completions documentation
  5. Message-ID: <9212151840.AA23951@traffic>
  6. Sender: gnulists@ai.mit.edu
  7. Reply-To: kevin@traffic.den.mmc.com
  8. Organization: GNUs Not Usenet
  9. Distribution: gnu
  10. Date: Tue, 15 Dec 1992 18:40:25 GMT
  11. Approved: bug-gnu-emacs@prep.ai.mit.edu
  12. Lines: 24
  13.  
  14. Neither the function documentation strings (in Emacs version 18.58) nor
  15. the Emacs Lisp manual entries (version 1.03) document the fact that as
  16. implemented in minibuf.c, the second argument to try-completion and
  17. all-completions may be a non-list function object (e.g. a symbol).  In
  18. that case, the result of try-completion or all-completions is obtained
  19. by calling that functional argument (ALIST) with 3 arguments: the
  20. completion function's first argument STRING, its third argument PRED,
  21. and nil.
  22.  
  23. No test is performed to insure that the second argument is actually a
  24. functional object; it is called simply because it is neither a list nor
  25. a vector.
  26.  
  27. In the documentation strings, the second argument is called ALIST; in
  28. the lisp manual it is called ALIST-OR-OBARRAY.
  29.  
  30. In the documentation strings, the third argument is called PRED; in
  31. the lisp manual it is called PREDICATE.
  32. --
  33. Kevin Rodgers                kevin@traffic.den.mmc.com
  34. Martin Marietta MS A16401        (303) 790-3971
  35. 116 Inverness Dr. East
  36. Englewood CO 80112 USA            GO BUFFS!
  37.  
  38.