Skip to content

[Bug/Support]: "Warning (emacs): elpaca loaded before Elpaca activation" with "elpaca-use-package" every startup on 0.12 #527

@programmador

Description

@programmador

Confirmation

  • I have checked the documentation (README, Wiki, docstrings, etc)
  • I am checking these without reading them.
  • I have searched previous issues to see if my question is a duplicate.

Elpaca Version

0.12

Operating System

Linux

Description

After upgrading 0.11 to 0.12 every emacs startup I get message

Warning (emacs): elpaca loaded before Elpaca activation

until I disable

(elpaca elpaca-use-package
        ;; enable use-package :ensure support for elpaca.
        (elpaca-use-package-mode))

though README tells about it:

use the elpaca macro in your init file after the installer

This is exactly how I always did it: enabled elpaca-use-package just after including the install script).

Though it seems like it works fine despite the warning. If I disable this code - package installation starts performing without elpaca which obviously does not complete successfully.

I suggest that execution order never was proper, the difference is just it did not raise a warning.
It seems like something obvious but I still can't figure out how to make it all load in a proper order.
All my attemps to defer elpaca-use-package somehow or include it in an installation script just make it not load at all making emacs install packages without elpaca which is definitely not my intention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions