From: Stefan Kangas <stefankangas@gmail.com>
To: Jean Louis <bugs@gnu.support>, 44149@debbugs.gnu.org
Cc: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#44149: 28.0.50; M-x finder-by-keyword, giving weird descriptions for gnus and org
Date: Thu, 22 Oct 2020 12:17:28 -0700 [thread overview]
Message-ID: <CADwFkmm_G0SLYqQApnzroJGm4jpr3-igNTZ1LrsAbpeR1Ywzxg@mail.gmail.com> (raw)
In-Reply-To: <courier.000000005F91C055.00002655@static.rcdrun.com>
Jean Louis <bugs@gnu.support> writes:
> Just tell me if it is a joke that gnus is described this way.
>
> gnus 5.13 built-in Identifying spam
The description comes from spam.el:
./spam.el:1:;;; spam.el --- Identifying spam
> Another issue, Org is described as:
>
> org 9.3 built-in Export Framework for Org Mode
This description comes from ox.el
./ox.el:1:;;; ox.el --- Export Framework for Org Mode [...]
> Then if I click on org I can get description about Org mode. It is
> definitely confusing, as it is either export framework for Org Mode or
> Org mode.
This can be seen in `list-packages', or by evaluating
`(assq 'org package--builtins)'.
This is due to `finder-compile-keywords' that creates the file
lisp/finder-inf.el, and it seems like this bug was introduced by commit
851535f587:
commit 851535f58745dcfbc8798b3a34b4fea852f93a3e
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date: Sat Jul 6 18:42:02 2019 -0400
* lisp/emacs-lisp/nadvice.el: Make it a package separate from `emacs`.
* lisp/finder.el (finder-compile-keywords): Grab version from
package--builtin-versions when available.
It makes "(or (eq base-name package) version)" below that always be
true, and so we use whatever file comes alphabetically last as the name
of a package (above, that happens to be "spam.el" and "ox.el").
Reverting the above commit fixes this issue here.
I'm not sure how best to fix this without breaking something else.
Perhaps Stefan M has an idea?
next prev parent reply other threads:[~2020-10-22 19:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-22 17:24 bug#44149: 28.0.50; M-x finder-by-keyword, giving weird descriptions for gnus and org Jean Louis
2020-10-22 19:17 ` Stefan Kangas [this message]
2020-10-26 20:29 ` Stefan Monnier
2020-10-27 1:19 ` Stefan Kangas
2020-10-27 18:39 ` Stefan Monnier
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=CADwFkmm_G0SLYqQApnzroJGm4jpr3-igNTZ1LrsAbpeR1Ywzxg@mail.gmail.com \
--to=stefankangas@gmail.com \
--cc=44149@debbugs.gnu.org \
--cc=bugs@gnu.support \
--cc=monnier@iro.umontreal.ca \
/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).