unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: adam@alphapapa.net, luangruo@yahoo.com, larsi@gnus.org,
	rms@gnu.org, philipk@posteo.net, mardani29@yahoo.es,
	emacs-devel@gnu.org
Subject: Re: apropos for packages    [was: plz -> curl?]
Date: Tue, 17 May 2022 19:48:52 +0300	[thread overview]
Message-ID: <8335h8gl57.fsf@gnu.org> (raw)
In-Reply-To: <SJ0PR10MB5488A4769180DCFCE3AF522BF3CE9@SJ0PR10MB5488.namprd10.prod.outlook.com> (message from Drew Adams on Tue, 17 May 2022 16:23:20 +0000)

> From: Drew Adams <drew.adams@oracle.com>
> CC: Lars Ingebrigtsen <larsi@gnus.org>, Richard Stallman <rms@gnu.org>, Philip
>  Kaludercic <philipk@posteo.net>, "mardani29@yahoo.es" <mardani29@yahoo.es>,
>  emacs-devel <emacs-devel@gnu.org>
> Date: Tue, 17 May 2022 16:23:20 +0000
> 
> I wrote:
> 
> > 2. It would be good to update `apropos-documentation',
> >    if this has not already been done, to include the
>      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >    doc of packages.
> 
> It seems that, at least as recently as Emacs 27.2,
> this has not been done, in spite of the doc of
> `apropos-documentation' saying this:
> 
>   With C-u prefix, or if ‘apropos-do-all’ is non-nil,
>   it searches all currently defined documentation
>   strings.
> 
> For example, `C-u C-h d backtrace' doesn't show an
> entry for package `backtrace', even though the pkg
> doc string mentions "backtrace".  (Emacs 27.2)

You are taking that text out of its context.  The doc string _really_
says this:

  Show symbols whose documentation contains matches for PATTERN.

And now we understand why you don't see the package backtrace.el: it's
because it is not a symbol.

> If this has still not been fixed in Emacs 28, do we
> need a bug filed for this, or can it just please be
> fixed without a bug?

I don't think it would make sense to add packages to
apropos-documentation.  That command is supposed to search doc strings
of symbols: variables, functions, faces, etc.  Adding packages to that
would cause the results to show completely unrelated stuff.

So I'm against this.  Packages should have (and already do have)
specialized commands that search their descriptions, keywords, etc.



  reply	other threads:[~2022-05-17 16:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-17 15:18 apropos for packages [was: plz -> curl?] Drew Adams
2022-05-17 16:06 ` Eduardo Ochs
2022-05-17 16:23 ` Drew Adams
2022-05-17 16:48   ` Eli Zaretskii [this message]
2022-05-17 18:04     ` [External] : " Drew Adams
2022-05-17 18:28       ` Eli Zaretskii
2022-05-25 20:47         ` Drew Adams
2022-05-18 22:19   ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=8335h8gl57.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=adam@alphapapa.net \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=luangruo@yahoo.com \
    --cc=mardani29@yahoo.es \
    --cc=philipk@posteo.net \
    --cc=rms@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).