Skip to content

[Bug/Support]: /build directories are not added to Info-directory-list in 0.12 #518

@rmolinari

Description

@rmolinari

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

M-x elpaca-version:

Elpaca 8ed8347 HEAD -> master, origin/master, origin/HEAD
installer:      0.12
emacs-version:  GNU Emacs 30.2 (build 1, aarch64-apple-darwin24.6.0, NS appkit-2575.70 Version 15.7.4 (Build 24G517))
 of 2026-02-24
git --version:  git version 2.53.0

I recently upgraded elpaca to 0.12. Thanks for the update!

But now no info files for installed packages get added to the system.

After my init.el file is loaded and Elpaca is done, this is the value of Info-directory-list:

("/Applications/Emacs.app/Contents/Resources/info" "/opt/homebrew/share/info"
 "/opt/homebrew/share/info" "/Applications/Emacs.app/Contents/Resources/info/"
 "/usr/local/share/info/")

The output of elpaca-log doesn't show any errors.

I've looked at the code a bit and it appears that elpaca--finalize-queue is responsible for adding things to the info path:

[...]
    (unless (or elpaca-after-init-time ; Already run.
                elpaca--waiting ; Won't know if final queue until after waiting.
                (not (eq (elpaca-q<-type q) 'init)) ; Already run.
                (and next (eq (elpaca-q<-type next) 'init))) ; More init queues.
      (elpaca-split-queue)
      (with-eval-after-load 'info
        (info-initialize)
        (cl-loop for (_id . e) in (elpaca--queued) do
                 (when-let* ((build (elpaca<-build-dir e))
                             (dir (expand-file-name "dir" build))
                             ((file-exists-p dir))
                             ((not (member build Info-directory-list))))
                   (push build Info-directory-list))))

I spent some time stepping through the code with the debugger. (Use case: delete elpaca/builds/foo and re-evaluate the use-package form that installs package foo.) The body of the unless form doesn't get executed because the types of both q and next are 'init.

I've read the reddit post about the refactored elpaca but maybe I have neglected to update something.

Operating System

Mac OS 15.7.4

M-x emacs-version:
GNU Emacs 30.2 (build 1, aarch64-apple-darwin24.6.0, NS appkit-2575.70 Version 15.7.4 (Build 24G517)) of 2026-02-24

Description

No response

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