🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #905

try-completion and all-completions documentation

#905
From: Kevin Rodgers
Date: Tue, 15 Dec 1992 18:40
23 lines
1496 bytes
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.

No test is performed to insure that the second argument is actually a
functional object; it is called simply because it is neither a list nor
a vector.

In the documentation strings, the second argument is called ALIST; in
the lisp manual it is called ALIST-OR-OBARRAY.

In the documentation strings, the third argument is called PRED; in
the lisp manual it is called PREDICATE.
--
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: <9212151840.AA23951@traffic>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!traffic.den.mmc.com!kevin

Show 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: try-completion and all-completions documentation
Message-ID: <9212151840.AA23951@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:40:25 GMT
Approved: bug-gnu-emacs@prep.ai.mit.edu
Lines: 24