GNU bug report logs - #44149
28.0.50; M-x finder-by-keyword, giving weird descriptions for gnus and org

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Jean Louis <bugs@HIDDEN>; dated Thu, 22 Oct 2020 17:25:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 44149 <at> debbugs.gnu.org:


Received: (at 44149) by debbugs.gnu.org; 27 Oct 2020 18:39:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 27 14:39:49 2020
Received: from localhost ([127.0.0.1]:45840 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kXTsr-0006J3-4P
	for submit <at> debbugs.gnu.org; Tue, 27 Oct 2020 14:39:49 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:32454)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1kXTsp-0006Iq-5R
 for 44149 <at> debbugs.gnu.org; Tue, 27 Oct 2020 14:39:47 -0400
Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 5C50680CFC;
 Tue, 27 Oct 2020 14:39:41 -0400 (EDT)
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 6EB2680724;
 Tue, 27 Oct 2020 14:39:39 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1603823979;
 bh=jCMZH+hndc3kegv2Iiy2AMKrseVll+DotwWSvdIO4EY=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=P+fgZO9Gd5XRNyCYOLnvp4L3pBt43diOGGxi4XCkO/4sfPNtdBZAUh0plngvosCGT
 tj4HWlAf8qEViU9NRGbWcoviWjXS+1QadurOo+M8FqYtW0GURUbcD+CR7k2OajBvu6
 Y//PbErGHEhCmh6qbsGB0TmfXm13nT2LUf7faphhXky+quoecv7SIvoYXz/9WagBuR
 rTpOHtfbABl3DLyxYra+iXr0e3SCdSVPOj4jCbuuQVvkeq8ontrhutNU6eEqnrTfb9
 g3n5iS0G7ZXP9Et3WsQ695o2QC69S23jPHb9EelAXhEkIho/Q5rIymTH9uL07z/7Ct
 Q2jKge1oRr90A==
Received: from alfajor (unknown [157.52.9.240])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 09C99120340;
 Tue, 27 Oct 2020 14:39:39 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>
Subject: Re: bug#44149: 28.0.50; M-x finder-by-keyword, giving weird
 descriptions for gnus and org
Message-ID: <jwv7drbjz08.fsf-monnier+emacs@HIDDEN>
References: <courier.000000005F91C055.00002655@HIDDEN>
 <CADwFkmm_G0SLYqQApnzroJGm4jpr3-igNTZ1LrsAbpeR1Ywzxg@HIDDEN>
 <jwvtuugoi2d.fsf-monnier+emacs@HIDDEN>
 <CADwFkm=oYmkP7DY6gLotM4k2j4XbqrxzxMi2KcEnmYKBA-hDRA@HIDDEN>
Date: Tue, 27 Oct 2020 14:39:37 -0400
In-Reply-To: <CADwFkm=oYmkP7DY6gLotM4k2j4XbqrxzxMi2KcEnmYKBA-hDRA@HIDDEN>
 (Stefan Kangas's message of "Mon, 26 Oct 2020 18:19:07 -0700")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.064 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 44149
Cc: 44149 <at> debbugs.gnu.org, Jean Louis <bugs@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> We decide if a file belongs to a package based on if it is in a
> directory, so for any file "org/*.el" the local `package' variable will
> be the symbol `org'.

And here again, I wonder why.  Isn't it the source of our problems?


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#44149; Package emacs. Full text available.

Message received at 44149 <at> debbugs.gnu.org:


Received: (at 44149) by debbugs.gnu.org; 27 Oct 2020 01:19:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 26 21:19:16 2020
Received: from localhost ([127.0.0.1]:42171 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kXDds-0004V7-4e
	for submit <at> debbugs.gnu.org; Mon, 26 Oct 2020 21:19:16 -0400
Received: from mail-ej1-f68.google.com ([209.85.218.68]:41450)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1kXDdp-0004Uu-Nh
 for 44149 <at> debbugs.gnu.org; Mon, 26 Oct 2020 21:19:14 -0400
Received: by mail-ej1-f68.google.com with SMTP id s15so12440866ejf.8
 for <44149 <at> debbugs.gnu.org>; Mon, 26 Oct 2020 18:19:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:in-reply-to:references:mime-version:date:message-id:subject:to
 :cc; bh=fxuGEFu/pKuu5Ln2Wy+NTuGspdJIoTE1BJpUa1RS/fg=;
 b=T6grvDs/IjTWS0mGox7vgkpasKvuyqT7BNXp5JxbbuC4ZfLLJ94Z8OPVTXbMFArT/8
 cJfoT8hlGXGId3ba6AjvNCLd00a1xFcIdnkFxC1rZFubCBD3Jy+QJt6sPH3t6zG305lQ
 DxPdVAgUD9Z8/kq4dInxX1vB9Bh6L5GGvjvlvAOU+FkUTtAw33nlD7nyGL56eBqdJfut
 rlloRjb+m72LL9GEhemqvK3Nf22gfkkBpNWnDlESqsVW8XENTKJkMzZ4oQJh1gRHnY5o
 qGnSlWQzvxF03DKTYwaEmZZdWrLU8k6I6F20jcWKrPoTUl5/2rWgt1KWW1awuRilNMDg
 QwZw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:in-reply-to:references:mime-version:date
 :message-id:subject:to:cc;
 bh=fxuGEFu/pKuu5Ln2Wy+NTuGspdJIoTE1BJpUa1RS/fg=;
 b=HJOawYW7w90MGH0ahMagLytyNaeLINcDwiD5d1OANl+MM6phawBd1y2A8S3HWLE9DR
 vF+60K1w2z+pOlOjgjTfRGZMGq6sRNRY5JXC52DqX+zxCSIfh9NI30Q7vBKlDuu9W6Nx
 g7sm43rIS+BRUKTH1EWkk/TUe1adnKgTk1u9vSbJ6G4cP3T3UHIw3nU+IdWgFV6uTNL9
 i4pxX/EyZ7So/6cqJSZc4vGpXt7aLOgnKvRearLuo3zhZ1lOaCEriiKugxjTh2EO6Gmr
 9LvqWFOudX8L+ExZvTEDvRmphMzD3r0c+Sd0HzSqAXVgD9mRJjjJPRHwCX6Hiv7esP3P
 3JDA==
X-Gm-Message-State: AOAM531me9XKRavZVAbRxiz/YHpBuHUrYfbB48L3hvPBuVJh7U9RhF5v
 zKZh2O+hqKVckGhT797IIi3HEw3J0QWJ0t6JqeraTcQv
X-Google-Smtp-Source: ABdhPJx7sv7Qv4m/VpvfpUiFwFUIY6ApKj+CIUS5V+eF6dXELsFe8yqyo+rpfUJkVT8zETxMJreuBa6b8TZjudT0KRA=
X-Received: by 2002:a17:906:3ed0:: with SMTP id d16mr4385ejj.477.1603761548068; 
 Mon, 26 Oct 2020 18:19:08 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Mon, 26 Oct 2020 18:19:07 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <jwvtuugoi2d.fsf-monnier+emacs@HIDDEN>
References: <courier.000000005F91C055.00002655@HIDDEN>
 <CADwFkmm_G0SLYqQApnzroJGm4jpr3-igNTZ1LrsAbpeR1Ywzxg@HIDDEN>
 <jwvtuugoi2d.fsf-monnier+emacs@HIDDEN>
MIME-Version: 1.0
Date: Mon, 26 Oct 2020 18:19:07 -0700
Message-ID: <CADwFkm=oYmkP7DY6gLotM4k2j4XbqrxzxMi2KcEnmYKBA-hDRA@HIDDEN>
Subject: Re: bug#44149: 28.0.50; M-x finder-by-keyword, giving weird
 descriptions for gnus and org
To: Stefan Monnier <monnier@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 44149
Cc: 44149 <at> debbugs.gnu.org, Jean Louis <bugs@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Stefan Monnier <monnier@HIDDEN> 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
>
> But why is it put under the name "gnus"?
[...]
> Similarly, why is it put under the name "org"?

See my analysis below.

>>       * 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,
>
> I don't understand why it does that.

The reason is that the local variable `version' is now always set for
any file belonging to a built-in package.  From your patch:

	    (setq version (or (ignore-errors (version-to-list version))
                              (alist-get package package--builtin-versions)))

We decide if a file belongs to a package based on if it is in a
directory, so for any file "org/*.el" the local `package' variable will
be the symbol `org'.

A few lines down, we do this:

		  ;; The idea here is that eg calc.el gets to define
		  ;; the description of the calc package.
		  ;; This does not work for eg nxml-mode.el.
		  ((or (eq base-name package) version)
		   (setq desc (cdr entry))
		   (aset desc 0 version)
		   (aset desc 2 summary)))

So, for example, we evaluate (or (eq base-name package) version) for
"ox.el" with the following variables:

    base-name:  'org
    package:    'ox
    version:    (alist-get 'org package--builtin-versions) => (9 3)

So `version' is set for all files "org/*.el", and the package
description will now be set to whatever is used in "ox.el" (since it is
the last file alphabetically).

>> Reverting the above commit fixes this issue here.
>
> I get the impression that there's some other underlying problem.
>
>> I'm not sure how best to fix this without breaking something else.
>> Perhaps Stefan M has an idea?
>
> I don't understand this code enough to give much guidance, I'm afraid.

I also feel a bit stuck...




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#44149; Package emacs. Full text available.

Message received at 44149 <at> debbugs.gnu.org:


Received: (at 44149) by debbugs.gnu.org; 26 Oct 2020 20:29:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 26 16:29:44 2020
Received: from localhost ([127.0.0.1]:41566 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kX97g-00039D-3b
	for submit <at> debbugs.gnu.org; Mon, 26 Oct 2020 16:29:44 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:8651)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1kX97e-000390-Ni
 for 44149 <at> debbugs.gnu.org; Mon, 26 Oct 2020 16:29:43 -0400
Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 34F0D105CA9;
 Mon, 26 Oct 2020 16:29:37 -0400 (EDT)
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 6D247102237;
 Mon, 26 Oct 2020 16:29:35 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1603744175;
 bh=qZH4oEtBVdhcifUits5vPFklp8Ri1rIEwmRFnTum60A=;
 h=From:To:Cc:Subject:References:Date:In-Reply-To:From;
 b=BkwpPVDdHDBrK5PV3VWGsWFSw1AuBefplA3azwfzJ22ognEIKCl39eQer4Ppwcx84
 vcmb0txusyyfGvDo8ssiew+bwQGvHMf8k5oBz9LAdoovQc9yxw5mWoxyA4dnGv4ytA
 P4p4e9MazCJt5JMwwe0/hQ8DaSltc37MRj5dk1+OkXryPs2noSULAKB/Gjv6A0w+57
 9g9Xc6foibN6GEt6+rH3/z4Jl2eVkK2ftxBVfRR4iRmw81hqt+24XJa27RkHI7sZUb
 55P/eh5mQKzjqpElx2qcMQAsZqC4DjrfQSJ9KtttZL+ZIpNy/IJ6l3Xe50Vw1K/XFK
 8NZnY60S4IBkA==
Received: from alfajor (unknown [157.52.9.240])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 1C53D12021C;
 Mon, 26 Oct 2020 16:29:35 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Stefan Kangas <stefankangas@HIDDEN>
Subject: Re: bug#44149: 28.0.50; M-x finder-by-keyword, giving weird
 descriptions for gnus and org
Message-ID: <jwvtuugoi2d.fsf-monnier+emacs@HIDDEN>
References: <courier.000000005F91C055.00002655@HIDDEN>
 <CADwFkmm_G0SLYqQApnzroJGm4jpr3-igNTZ1LrsAbpeR1Ywzxg@HIDDEN>
Date: Mon, 26 Oct 2020 16:29:34 -0400
In-Reply-To: <CADwFkmm_G0SLYqQApnzroJGm4jpr3-igNTZ1LrsAbpeR1Ywzxg@HIDDEN>
 (Stefan Kangas's message of "Thu, 22 Oct 2020 12:17:28 -0700")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.069 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 44149
Cc: 44149 <at> debbugs.gnu.org, Jean Louis <bugs@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

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

But why is it put under the name "gnus"?

>> 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 [...]

Similarly, why is it put under the name "org"?

>   commit 851535f58745dcfbc8798b3a34b4fea852f93a3e
>   Author: Stefan Monnier <monnier@HIDDEN>
>   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,

I don't understand why it does that.

> Reverting the above commit fixes this issue here.

I get the impression that there's some other underlying problem.

> I'm not sure how best to fix this without breaking something else.
> Perhaps Stefan M has an idea?

I don't understand this code enough to give much guidance, I'm afraid.


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#44149; Package emacs. Full text available.

Message received at 44149 <at> debbugs.gnu.org:


Received: (at 44149) by debbugs.gnu.org; 22 Oct 2020 19:17:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 22 15:17:36 2020
Received: from localhost ([127.0.0.1]:53897 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kVg5f-00072K-WF
	for submit <at> debbugs.gnu.org; Thu, 22 Oct 2020 15:17:36 -0400
Received: from mail-ed1-f50.google.com ([209.85.208.50]:38156)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1kVg5f-000725-02
 for 44149 <at> debbugs.gnu.org; Thu, 22 Oct 2020 15:17:35 -0400
Received: by mail-ed1-f50.google.com with SMTP id bc23so2869167edb.5
 for <44149 <at> debbugs.gnu.org>; Thu, 22 Oct 2020 12:17:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:in-reply-to:references:mime-version:date:message-id:subject:to
 :cc; bh=TXyctR6t1RJPDH7vEk/8IRHA2JSqHJJBmS9bD1WpWfQ=;
 b=sf28tKNhsWshz4ferIL+CeQ1RewKZmG39WClN/4CRFQqyqN6njAtspiIqYwFqOLHNT
 OOvJR1HH4uhii2ELWMn+5CQVa26q009P3xdtVzeI2J1cs9tso29swQBng3uiIYKS+q3A
 peLd8kVLvbStAZhWs35FXGFFVEDBbmv7LzNYjz2U3iIQvZM86lFcGACpOR86VrsYnm8K
 T6zAQRDyucUemQkr32BPmx6A1FfzAuBp7qq3+QjPVm4UVGcUAhzM8shWL3KyTGgM/bIL
 oj/Wx/r+3pFM/jLwwWUaloHUIZa7y88tsxK/bdwTDOZUaGwa/J0BeLDe4V8xmCRhMW/d
 ITag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:in-reply-to:references:mime-version:date
 :message-id:subject:to:cc;
 bh=TXyctR6t1RJPDH7vEk/8IRHA2JSqHJJBmS9bD1WpWfQ=;
 b=n9QO9wjPU8/ja+RHl80cqKioURLwpOCRISDVZWDndD1iECk9nUkQsTBujcvZw/TIat
 HN9MSaOgJB4QbNhcIqtie/WxVP1ZZZf18A1jbq+7/tWDTRfoNQV5I5gjDoqdtOjPGMxM
 7OEQ5B/NuodticTrt917Hkg7z9S0PWdahHDDXRPUr8Vf6MsTbRNk1/2EvlgcBZ0i74Ro
 snqSKezPfEq3GQIopgCwz6pVEwmx57HOSvWyU8CTjkDG02z8ndL+O9BQ3JNEIZBg+NUC
 P5k0Wv5qIk2Mdi+3Jbnh4iUjuTSXxjhFgjEkygJJnKpIZfjv7WrVHYGawh89Ln7QlZUi
 ZnCw==
X-Gm-Message-State: AOAM530byrNY6NNV5LOOiU7j2mgoQccIazUzeZOdLFXjnUPv7Wj++uDL
 Q3weqZy6vIMp+uznFTysezq28x1nzO0VTbB2F8A=
X-Google-Smtp-Source: ABdhPJx8cuO/j7ddstbIdaKNsi6t9eorEkyfrqYccY8A1NgE/iCO9ZFuJSckTg5HpAMcilncVrwnYGns8wwzNVh5yes=
X-Received: by 2002:a50:b023:: with SMTP id i32mr3518087edd.377.1603394249169; 
 Thu, 22 Oct 2020 12:17:29 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Thu, 22 Oct 2020 12:17:28 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <courier.000000005F91C055.00002655@HIDDEN>
References: <courier.000000005F91C055.00002655@HIDDEN>
MIME-Version: 1.0
Date: Thu, 22 Oct 2020 12:17:28 -0700
Message-ID: <CADwFkmm_G0SLYqQApnzroJGm4jpr3-igNTZ1LrsAbpeR1Ywzxg@HIDDEN>
Subject: Re: bug#44149: 28.0.50; M-x finder-by-keyword, giving weird
 descriptions for gnus and org
To: Jean Louis <bugs@HIDDEN>, 44149 <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 44149
Cc: Stefan Monnier <monnier@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Jean Louis <bugs@HIDDEN> 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@HIDDEN>
  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?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#44149; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Oct 2020 17:24:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 22 13:24:44 2020
Received: from localhost ([127.0.0.1]:53734 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kVeKR-0001xH-Ob
	for submit <at> debbugs.gnu.org; Thu, 22 Oct 2020 13:24:44 -0400
Received: from lists.gnu.org ([209.51.188.17]:41390)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <support1@HIDDEN>) id 1kVeKP-0001x1-07
 for submit <at> debbugs.gnu.org; Thu, 22 Oct 2020 13:24:41 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:38790)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <support1@HIDDEN>)
 id 1kVeKO-0003xs-RA
 for bug-gnu-emacs@HIDDEN; Thu, 22 Oct 2020 13:24:40 -0400
Received: from static.rcdrun.com ([95.85.24.50]:50997)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <support1@HIDDEN>)
 id 1kVeKN-0004JQ-1u
 for bug-gnu-emacs@HIDDEN; Thu, 22 Oct 2020 13:24:40 -0400
Received: from localhost ([::ffff:41.202.241.51])
 (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384)
 by static.rcdrun.com with ESMTPSA
 id 00000000002A0B3D.000000005F91C056.00002655; Thu, 22 Oct 2020 17:24:37 +0000
Date: Thu, 22 Oct 2020 20:24:35 +0300
From: Jean Louis <bugs@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.50;
 M-x finder-by-keyword, giving weird descriptions for gnus and org
X-Hashcash: 1:20:201022:bug-gnu-emacs@HIDDEN::yS6P4RE7EB0tj6WF:00000000000000000000000000000000000000001Bzi
Message-ID: <courier.000000005F91C055.00002655@HIDDEN>
Received-SPF: pass client-ip=95.85.24.50; envelope-from=support1@HIDDEN;
 helo=static.rcdrun.com
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/22 12:49:00
X-ACL-Warn: Detected OS   = Linux 3.11 and newer [fuzzy]
X-Spam_score_int: -16
X-Spam_score: -1.7
X-Spam_bar: -
X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9,
 HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)


Just tell me if it is a joke that gnus is described this way.

gnus 5.13 built-in Identifying spam (this description is not
reasonable and also not user friendly)

Another issue, Org is described as:

org 9.3 built-in 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.



In GNU Emacs 28.0.50 (build 18, x86_64-pc-linux-gnu, GTK+ Version 3.22.12, cairo version 1.14.8)
 of 2020-10-14 built on protected.rcdrun.com
Repository revision: 423439b38067c4a428310edab24fba7da082027c
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.11907000
System Description: Hyperbola GNU/Linux-libre

Configured using:
 'configure --prefix=/package/text/emacs-2020-10-14 --with-modules'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS JSON PDUMPER LCMS2

Important settings:
  value of $LC_ALL: de_DE.UTF-8
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: @im=exwm-xim
  locale-coding-system: utf-8-unix

Major mode: Package Menu

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort hashcash mail-extr emacsbug message rmc puny dired
dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config gnus-util
rmail rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date noutline
outline easy-mmode jka-compr help-mode finder finder-inf find-func
lisp-mnt package easymenu browse-url url-handlers url-parse auth-source
cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json
subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv
cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 68473 6167)
 (symbols 48 8592 1)
 (strings 32 23371 1336)
 (string-bytes 1 747364)
 (vectors 16 13701)
 (vector-slots 8 185743 8830)
 (floats 8 31 250)
 (intervals 56 535 14)
 (buffers 992 15))

-- 
Thanks,
Jean Louis




Acknowledgement sent to Jean Louis <bugs@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#44149; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 27 Oct 2020 18:45:01 UTC

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