GNU bug report logs - #39682
describe-package disabled by help-fns+.elc compiled in older Emacs

Previous Next

Package: emacs;

Reported by: Tim Johnson <tim <at> tj49.com>

Date: Wed, 19 Feb 2020 23:05:02 UTC

Severity: normal

Tags: notabug

Found in version 26.3

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #39 received at 39682 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Tim Johnson <tim <at> tj49.com>
Cc: 39682 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#39682: 26.3; Help window for list-packages disabled
Date: Thu, 20 Feb 2020 16:30:46 -0500
Tim Johnson <tim <at> tj49.com> writes:

> Noam, I am not familiar with edebug.
>
> Can you give me some more code examples?

Basically just put point on the source code of describe-package, and hit
C-u C-M-x, that will instrument the function.  Then run
package-menu-describe-package with "?" or however, and you will stop in
describe-package.  Press space to step through each expression.

> On 2/20/20 11:22 AM, Noam Postavsky wrote:
>> Tim Johnson <tim <at> tj49.com> writes:
>>
>>> (package-desc-p (tabulated-list-get-id))
>>> just returns t
>>>    message("No package specified")
>>>    describe-package(#s(package-desc :name ack :version (1 8) :summary...
>>>    package-menu-describe-package()
>> Hmm, very strange.  Could you step through describe-package with edebug,
>> and see how this condition is getting taken, even though package-desc-p
>> should apparently be returning t?
>>
>>    (if (not (or (package-desc-p package) (and package (symbolp package))))
>>        (message "No package specified")
>>
>>




This bug report was last modified 5 years and 93 days ago.

Previous Next


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