rust-lang / rust-mode

Emacs configuration for Rust
Apache License 2.0
1.1k stars 176 forks source link

Unable to view package info in `package-list-packages` #531

Closed condy0919 closed 3 months ago

condy0919 commented 3 months ago

It echos

package--print-email-button: Wrong type argument: listp, "Mozilla"

in echo area on typing RET on rust-mode.

psibi commented 3 months ago

Unfortunately I'm not able to reproduce this, could be because I'm using Emacs 29.1. I believe you are using Emacs 30/snapshot version ?

I do see that there is no email field in rust-mode.el based on the docs here: https://www.gnu.org/software/emacs/manual/html_node/elisp/Simple-Packages.html

Could you see if adding an email would fix it for you ?

condy0919 commented 3 months ago

Could you see if adding an email would fix it for you ?

yep.

It should be something like this:

;; Author: Mozilla <mail@mozilla.org>
psibi commented 3 months ago

Cool, can you send a PR ? But probably use this mail instead:

rust-mode@noreply.github.com

I'm open to other suggestions too.