Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

"Warning (straight)" in doom/help-packages #8568

Copy link
Copy link
@real-or-random

Description

@real-or-random
Issue body actions

I confirm that...

  • I searched the issue tracker and found no similar issues.

  • I searched the documentation, FAQ, discussion board, and Google for solutions to my issue.

  • I read the debugging guide and researched the issue to the best of my ability.

  • My issue can be observed on the latest available commit of Doom.

  • My issue can be observed on a stable release of Emacs (i.e. doesn't end in .50, .60, or .90.99)

Describe your issue

doom/help-packages shows this warning:

⛔ Warning (straight): package.el was loaded when straight.el was already loaded. You may wish to delete ~/.emacs.d/elpa or add (setq package-enable-at-startup nil) to ~/.emacs.d/early-init.el to avoid multiple versions of the same packages being loaded.

This is due to radian-software/straight.el@97f160b. Note that the warning gets the load order wrong here. It claims that straight.el was loaded before package.el but we do it the other way around. edit: I may be wrong here. I haven't checked the actual load order. But it shouldn't matter for this issue: we want to load both packages, and a warning will appear independently of the load order.

I suspect the simplest fix is (setq straight-package--warning-displayed t).

Steps to reproduce

  1. Open Emacs
  2. SPC h p

System information

https://gist.github.com/real-or-random/ce8d0ea8105316b521a7f872cdcb75c0

Wwazam, rhaps0dy and troutmaskpanzer

Metadata

Metadata

Assignees

No one assigned

    Labels

    is:bugSomething isn't working as intendedSomething isn't working as intendedneeds-triageIssue hasn't been assessed yetIssue hasn't been assessed yet

    Type

    No type

    Projects

    Status

    No status
    Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.