GNU bug report logs - #18281
24.4.50; doc of `customize-apropos*'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sat, 16 Aug 2014 18:12:02 UTC

Severity: minor

Found in version 24.4.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4.50; doc of `customize-apropos*'
Date: Sat, 16 Aug 2014 11:11:05 -0700 (PDT)
This applies to `customize-apropos' and its related commands.

1. The doc is not clear wrt what happens when you provide a list of
"words" as the input, instead of a regexp.

It is very easily to misunderstand the inadequate description as saying
that the words you enter are matched, not together sequentially against
a single customize target, but individually against multiple customize
targets.

This is all the more true, since this command has as its aim to match
any number of targets: it constructs a Customize buffer for all targets
matched.

Both the doc at (emacs) `Specific Customization' and the doc string are
defective (misleading and incomplete) in this regard.

The doc should say something like this:

 If you provide a list of words then all possible pairs of the words are
 matched together, in both orders, against the name of each Customize
 object of TYPE.  That is, the object name must contain both words as
 sbubstrings.

2. The doc should also say that in this context a "word" is any string
of characters that does not contain special regexp constructs.  That is,
the string is the same as `regexp-quote' applied to the string.  This
lets users know that the "words" can contain more than word-constituent
chars.


In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
 of 2014-06-28 on ODIEONE
Bzr revision: 117431 rgm <at> gnu.org-20140628015517-eku6hj8mpgcvfnso
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/snapshot/trunk
 --enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'
 LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
 -Ic:/Devel/emacs/include''




This bug report was last modified 5 years and 297 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.