unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Noam Postavsky <npostavs@gmail.com>
To: Tim Johnson <tim@tj49.com>
Cc: 39682@debbugs.gnu.org
Subject: bug#39682: 26.3; Help window for list-packages disabled
Date: Thu, 20 Feb 2020 16:30:46 -0500	[thread overview]
Message-ID: <85y2sx9cah.fsf@gmail.com> (raw)
In-Reply-To: <a6175193-5b2f-ebd4-1c36-47cbc542411b@tj49.com> (Tim Johnson's message of "Thu, 20 Feb 2020 12:16:41 -0900")

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	other threads:[~2020-02-20 21:30 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 [this message]
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
     [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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85y2sx9cah.fsf@gmail.com \
    --to=npostavs@gmail.com \
    --cc=39682@debbugs.gnu.org \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).