From: Noam Postavsky <npostavs@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: 39682@debbugs.gnu.org, Tim Johnson <tim@tj49.com>
Subject: bug#39682: 26.3; Help window for list-packages disabled
Date: Thu, 20 Feb 2020 20:25:13 -0500 [thread overview]
Message-ID: <87ftf4bukm.fsf@gmail.com> (raw)
In-Reply-To: <74484570-a455-4cbd-b71b-dd6caa4d21ac@default> (Drew Adams's message of "Thu, 20 Feb 2020 16:02:39 -0800 (PST)")
retitle 39682 describe-package disabled by help-fns+.elc compiled in older Emacs
tags 39682 = notabug
close 39682
quit
Drew Adams <drew.adams@oracle.com> writes:
>> Possible solution!
>>
>> I loaded emacs -q, ran list-packages, look at the info for help-fns+.el
>> and understood that it would need to be re-compiled with a newer version
>> of emacs.
>>
>> I just re-compiled help-fns+.el as per instructions in the info file and
>> the problem is solved.
>
> I'm glad you seem to have solved the problem.
>
> But I don't understand how you got help-fns+.el[c] loaded if you
> started Emacs using `emacs -q', which doesn't load your init file.
>
> The original problem really needs to have been narrowed down to only
> the library (or libraries) really necessary to repro the problem.
Yeah, help-fns+ wasn't even mentioned until now, so this was all a bit
surprising. However, looking at its code I think it's clear what the
problem was: help-fns+ has a copy of the describe-package function,
which it overrides the builtin one with. The describe-package code
contains a call to package-desc-p which is an inline function. So a
help-fns+.elc produced by an older version of Emacs uses an older
version of package-desc-p that gives the wrong answer when handed a
new-style struct (i.e., a record rather than a vector). That's why it
decides that it's been handed something that doesn't specify a package
and complains.
Anyway, I don't think there's anything to fix here, so I'm closing the
report.
next prev parent reply other threads:[~2020-02-21 1:25 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-19 22:23 bug#39682: 26.3; Help window for list-packages disabled Tim Johnson
2020-02-20 0:47 ` Noam Postavsky
2020-02-20 1:50 ` Drew Adams
2020-02-20 2:01 ` Noam Postavsky
2020-02-20 16:52 ` Tim Johnson
2020-02-20 17:12 ` Drew Adams
2020-02-20 17:53 ` Noam Postavsky
2020-02-20 20:12 ` Tim Johnson
2020-02-20 20:22 ` Noam Postavsky
2020-02-20 21:16 ` Tim Johnson
2020-02-20 21:30 ` Noam Postavsky
2020-02-20 23:14 ` Tim Johnson
2020-02-20 23:38 ` Tim Johnson
2020-02-21 0:02 ` Drew Adams
2020-02-21 1:25 ` Noam Postavsky [this message]
[not found] ` <1c501888-2bf4-8c45-ae49-4d1e64ea114f@tj49.com>
2020-02-21 1:47 ` Drew Adams
2020-02-21 2:07 ` Noam Postavsky
2020-02-21 3:27 ` Drew Adams
2020-02-21 18:20 ` Tim Johnson
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=87ftf4bukm.fsf@gmail.com \
--to=npostavs@gmail.com \
--cc=39682@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
--cc=tim@tj49.com \
/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.