bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39682: 26.3; Help window for list-packages disabled


From: Noam Postavsky
Subject: bug#39682: 26.3; Help window for list-packages disabled
Date: Thu, 20 Feb 2020 16:30:46 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt)

Tim Johnson <tim@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@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")
>>
>>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]