What happened?
I tried following these install docs, intending to try Doom alongside spacemacs using the new chemacs-alike functionality of doom:
Following those steps, doom ran fine just by running emacs
.
Maybe an hour later, mysteriously, running emacs
no longer runs doom, but just vanilla emacs. I don’t know why.
What did you expect to happen?
emacs
still runs doom.
Here:
I expected this:
Install Doom there: `$ git clone https://github.com/doomemacs/doomemacs
~/.config/emacs`
To be followed by example configuration that runs the emacs configuration that that install step has installed (i.e., runs that install of doom). Then I could try explicitly running:
emacs --profile doom
But the configuration that follows is instead for some other doom installation method that installs to different directories:
(("default" (user-emacs-directory . "~/.emacs.default")
(env ("DOOMDIR" . "~/.doom.private")))
...
Because I’m new to doom, I don’t know what the DOOMDIR
or user-emacs-directory
should be for the git clone install method on this same page.
It would also have helped me if it said right after the installation (git clone) command and the step to create ~/.config/doom/profiles.el
that I should next run these commands:
~/.config/emacs/bin/doom install
~/.config/emacs/bin/doom sync
emacs
It’s so frustrating! I’ve tried doom so many times, every time I fail at this same first step: how to install it alongside my old emacs. This is exactly what kept me from using spacemacs for years, now it has kept me from using doom for years.
Steps to reproduce
Yes please ;-) In my mind, the install docs are STR.
System information
generated Jan 08, 2023 00:10:45
system Arch Linux Linux 5.15.86-1-lts x86_64
emacs 28.2 ~/.config/emacs/
doom 3.0.0-pre PROFILE=_@0 HEAD -> master, origin/master, origin/HEAD e96624926 2023-01-01 21:55:13 -0500 ~/.config/doom/
shell /bin/bash
features ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE
XIM XPM GTK3 ZLIB
traits batch envvar-file
modules :config use-package :completion company vertico :ui doom doom-dashboard hl-todo modeline ophints (popup +defaults) (vc-gutter +pretty) vi-tilde-fringe workspaces :editor (evil +everywhere) file-templates fold snippets :emacs
dired electric undo vc :checkers syntax :tools (eval +overlay) lookup magit :lang emacs-lisp markdown (org +roam2) sh :config (default +bindings +smartparens)
packages (evil-colemak-basics)