X-Loop: help-debbugs@HIDDEN
Subject: bug#44149: 28.0.50; M-x finder-by-keyword, giving weird descriptions for gnus and org
Resent-From: Jean Louis <bugs@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 22 Oct 2020 17:25:02 +0000
Resent-Message-ID: <handler.44149.B.16033874847524 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 44149
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 44149 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.16033874847524
(code B ref -1); Thu, 22 Oct 2020 17:25:02 +0000
Received: (at submit) by debbugs.gnu.org; 22 Oct 2020 17:24:44 +0000
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>
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-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
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Jean Louis <bugs@HIDDEN> Subject: bug#44149: Acknowledgement (28.0.50; M-x finder-by-keyword, giving weird descriptions for gnus and org) Message-ID: <handler.44149.B.16033874847524.ack <at> debbugs.gnu.org> References: <courier.000000005F91C055.00002655@HIDDEN> X-Gnu-PR-Message: ack 44149 X-Gnu-PR-Package: emacs Reply-To: 44149 <at> debbugs.gnu.org Date: Thu, 22 Oct 2020 17:25:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 44149 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 44149: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D44149 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#44149: 28.0.50; M-x finder-by-keyword, giving weird descriptions for gnus and org
Resent-From: Stefan Kangas <stefankangas@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 22 Oct 2020 19:18:01 +0000
Resent-Message-ID: <handler.44149.B44149.160339425627056 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 44149
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Jean Louis <bugs@HIDDEN>, 44149 <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier@HIDDEN>
Received: via spool by 44149-submit <at> debbugs.gnu.org id=B44149.160339425627056
(code B ref 44149); Thu, 22 Oct 2020 19:18:01 +0000
Received: (at 44149) by debbugs.gnu.org; 22 Oct 2020 19:17:36 +0000
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>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
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?
X-Loop: help-debbugs@HIDDEN
Subject: bug#44149: 28.0.50; M-x finder-by-keyword, giving weird descriptions for gnus and org
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 26 Oct 2020 20:30:02 +0000
Resent-Message-ID: <handler.44149.B44149.160374418412107 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 44149
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Stefan Kangas <stefankangas@HIDDEN>
Cc: 44149 <at> debbugs.gnu.org, Jean Louis <bugs@HIDDEN>
Received: via spool by 44149-submit <at> debbugs.gnu.org id=B44149.160374418412107
(code B ref 44149); Mon, 26 Oct 2020 20:30:02 +0000
Received: (at 44149) by debbugs.gnu.org; 26 Oct 2020 20:29:44 +0000
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>
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-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
X-Loop: help-debbugs@HIDDEN
Subject: bug#44149: 28.0.50; M-x finder-by-keyword, giving weird descriptions for gnus and org
Resent-From: Stefan Kangas <stefankangas@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 27 Oct 2020 01:20:02 +0000
Resent-Message-ID: <handler.44149.B44149.160376155617309 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 44149
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Stefan Monnier <monnier@HIDDEN>
Cc: 44149 <at> debbugs.gnu.org, Jean Louis <bugs@HIDDEN>
Received: via spool by 44149-submit <at> debbugs.gnu.org id=B44149.160376155617309
(code B ref 44149); Tue, 27 Oct 2020 01:20:02 +0000
Received: (at 44149) by debbugs.gnu.org; 27 Oct 2020 01:19:16 +0000
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>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
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...
X-Loop: help-debbugs@HIDDEN
Subject: bug#44149: 28.0.50; M-x finder-by-keyword, giving weird descriptions for gnus and org
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 27 Oct 2020 18:40:01 +0000
Resent-Message-ID: <handler.44149.B44149.160382398924250 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 44149
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Stefan Kangas <stefankangas@HIDDEN>
Cc: 44149 <at> debbugs.gnu.org, Jean Louis <bugs@HIDDEN>
Received: via spool by 44149-submit <at> debbugs.gnu.org id=B44149.160382398924250
(code B ref 44149); Tue, 27 Oct 2020 18:40:01 +0000
Received: (at 44149) by debbugs.gnu.org; 27 Oct 2020 18:39:49 +0000
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>
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-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
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.