Skip to content

Doom sandbox modes (vanilla or + modules) don't work #6505

@indigoviolet

Description

@indigoviolet

What did you expect to happen?

When I hit doom/sandbox -> C-c C-d or C-c C-p, it should load a functional emacs.

What actually happened?

Instead I got

Debugger entered--Lisp error: (void-function doom-initialize)
  (doom-initialize)
  (let ((doom-init-modules-p t)) (doom-initialize) (doom-initialize-core-modules))
  load-with-code-conversion("/tmp/doom-sandbox/init.el" "/tmp/doom-sandbox/init.el" nil t)
  command-line-1(("-l" "/tmp/doom-sandbox/init.el"))
  command-line()
  normal-top-level()

Describe your attempts to resolve the issue

I've upgraded doom to a fairly recent version.

Steps to reproduce

  1. Open doom emacs
  2. doom/sandbox
  3. C-c C-d or C-c C-p

Note that I'm using chemacs2 with

(
 ;; Doom. These are its defaults, and it's better to use them for doom/sandbox etc to work
 ("default" . ((user-emacs-directory . "~/.emacs.d")
               (env . (("DOOMDIR" . "~/.config/doom")))))
 )

System Information

https://pastebin.com/HQr07pC1

Metadata

Metadata

Assignees

Labels

is:regressionA bug introduced in a recent and unreleased changemodule:core:libRelevant to Doom core's librariesre:sandboxRelates to Doom's sandbox

Type

No type

Projects

Status

Resolved

Relationships

None yet

Development

No branches or pull requests

Issue actions