all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <11124@debbugs.gnu.org>
Subject: bug#11124: 24.0.94; doc of `customize-apropos-*'
Date: Fri, 30 Mar 2012 07:47:24 -0700	[thread overview]
Message-ID: <6F6B85F1DC1E4D5B97B42F81BC06E5CB@us.oracle.com> (raw)
In-Reply-To: <880133C9D8CC4E38A73B7C3F937353D5@us.oracle.com>

> 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.) 






  reply	other threads:[~2012-03-30 14:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-29 17:31 bug#11124: 24.0.94; doc of `customize-apropos-*' Drew Adams
2012-03-30 14:47 ` Drew Adams [this message]
2012-04-23 12:33 ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6F6B85F1DC1E4D5B97B42F81BC06E5CB@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=11124@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.