emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

apropos doc string incorrectly speaks of "bound" symbols


From: Drew Adams
Subject: apropos doc string incorrectly speaks of "bound" symbols
Date: Tue, 29 Nov 2005 14:40:09 -0800

emacs -q

C-h f apropos

 Show all bound symbols whose names match apropos-regexp.
 With optional prefix do-all or if `apropos-do-all' is non-nil, also
 show unbound symbols and key bindings, which is a little more
 time-consuming.  Returns list of symbols and documentation found.

This seems very wrong (and confusing). First, we shouldn't use the
term "bound" unless we mean bound.  Second, this appears to be the
real criterion defining what is meant here by "bound" - it should be
spelled out, if it cannot be made clear with a single word:

(or (fboundp symbol)
    (boundp symbol)
    (facep symbol)
    (symbol-plist symbol))

I suspect the performance hint is also incorrect wrt showing "unbound"
symbols - in fact, it should take longer to filter out the "unbound"
symbols. The performance hint applies, I guess, only to showing key
bindings.

In GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
 of 2005-06-26 on NONIQPC
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc
(3.3) --cflags -I../../jpeg-6b-3/include -I../../libpng-1.2.8/include -I../.
./tiff-3.6.1-2/include -I../../xpm-nox-4.2.0/include -I../../zlib-1.2.2/incl
ude'





reply via email to

[Prev in Thread] Current Thread [Next in Thread]