Article View: gnu.emacs.bug
Article #904Re: try-completion and all-completions documentation
From: Kevin Rodgers
Date: Tue, 15 Dec 1992 18:50
Date: Tue, 15 Dec 1992 18:50
25 lines
1609 bytes
1609 bytes
I wrote: >Neither the function documentation strings (in Emacs version 18.58) nor >the Emacs Lisp manual entries (version 1.03) document the fact that as >implemented in minibuf.c, the second argument to try-completion and >all-completions may be a non-list function object (e.g. a symbol). In >that case, the result of try-completion or all-completions is obtained >by calling that functional argument (ALIST) with 3 arguments: the >completion function's first argument STRING, its third argument PRED, >and nil. Sorry, this is not true. The lisp manual does mention that the second argument may be a function; in try-completion's entry, the description of that case follows -- for whatever reason -- the description of the third argument. There is also a reference to the following node, which describes 'Programmed Completion' in detail. Also, the third argument passed to the function arg is nil only in the case of try-completion; all-completions passes t instead. Mea culpa, Kevin Rodgers kevin@traffic.den.mmc.com Martin Marietta MS A16401 (303) 790-3971 116 Inverness Dr. East Englewood CO 80112 USA GO BUFFS!
Technical Details
Message-ID:
<9212151850.AA23954@traffic>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!traffic.den.mmc.com!kevinShow Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!traffic.den.mmc.com!kevin From: kevin@traffic.den.mmc.com (Kevin Rodgers) Subject: Re: try-completion and all-completions documentation Message-ID: <9212151850.AA23954@traffic> Sender: gnulists@ai.mit.edu Reply-To: kevin@traffic.den.mmc.com Organization: GNUs Not Usenet Distribution: gnu Date: Tue, 15 Dec 1992 18:50:20 GMT Approved: bug-gnu-emacs@prep.ai.mit.edu Lines: 26