GNU bug report logs - #11124
24.0.94; doc of `customize-apropos-*'

Previous Next

Package: emacs;

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

Date: Thu, 29 Mar 2012 18:18:02 UTC

Severity: minor

Found in version 24.0.94

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <11124 <at> debbugs.gnu.org>
Subject: RE: bug#11124: 24.0.94; doc of `customize-apropos-*'
Date: Fri, 30 Mar 2012 07:47:24 -0700
> All of the `customize-apropos-*' commands except for 
> `customize-apropos' need to have their doc strings updated.
> The arg is no longer necessarily a REGEXP.  The doc string
> should say the same thing for these commands as it says for
> `customize-apropos' about the PATTERN arg
> (or refer to the `customize-apropos' doc).

I was wrong about that.  But I should have been right ;-) - they should accept a
PATTERN the same as `customize-apropos' does.

So consider this an enhancement request for each of the `customize-apropos-*'
commands to allow a PATTERN (as in `customize-apropos') instead of just a REGEXP
as arg.

Just use `apropos-read-pattern' in their `interactive' specs.

Or be smarter: move the logic of `apropos-read-pattern' out of the `interactive'
spec, and put it in the body of `customize-apropos':

(when (string= (regexp-quote pattern) pattern)
  (setq pattern  (split-string pattern "[ \t]+" 'OMIT-NULLS)))
(apropos-parse-pattern pattern)

(I also fixed bug #11132 here: provide non-nil 3rd arg.) 





This bug report was last modified 13 years and 87 days ago.

Previous Next


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