r/DoomEmacs • • Dec 20 '20

:wq is closing doom completely.

0 Upvotes

Why after i tap :wq to finish editing some file doom is terminating?


r/DoomEmacs • • Feb 12 '21

Future of doom emacs??

1 Upvotes

How much time will it last? I am asking this because unlike spacemacs, doom has only one developer (according to what I understand). Spacemacs is community driven that means it will never be orphaned due to one person.I only need to confirm that will doom emacs will last for long long time as emacs does. I really love doom-emacs. What If main developer stopped working on it? I am a total noob and want to clarify this doubt so that I can use doom without any worries.


r/DoomEmacs • • Dec 29 '22

Starting my day with this splash screen !!!

Post image
9 Upvotes

r/DoomEmacs • • Aug 19 '21

Dooms emacs V3??? What

1 Upvotes

I installed doom today. But the version I installed is V3alpha it's seems to be buggy (org mode isn't working for me). Are you people using v2.0.9 or is everyone on V3?


r/DoomEmacs • • Jun 17 '22

How to debug or solve the problem of "Font not available: #<font-spec nil nil JetBrains\ Mono nil nil nil nil nil 16 nil nil nil nil>"?

0 Upvotes

With doom emacs, I have the following in my config.el

(setq doom-font (font-spec :family "JetBrains Mono" :size 16)

I evaluated it manually without any error, and M-x doom-reload-font, then I got the error:

Font not available: #<font-spec nil nil JetBrains\ Mono nil nil nil nil nil 16 nil nil nil nil> 

and the desired font was not used in the emacs session. (With the above configuration, when starting doom emacs, I got the same error, which aborted the starting up the emacs session.)

I checked my ~/.font directory, there are many font files that may match the specification.

Furthermore, this problem only occur with certain unknown packages' upgrade, as the configuration used to work before the upgrade.

Here are the fonts relevant that are available.

ls -lt ~/.fonts/JetBrainsMono*                                                                                                                       (base)
-rwxrwxrwx 1 yshen yshen  68064 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Thin.woff2*
-rwxrwxrwx 1 yshen yshen  71180 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ThinItalic.woff2*
-rwxrwxrwx 1 yshen yshen  74088 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-SemiBoldItalic.woff2*
-rwxrwxrwx 1 yshen yshen  70820 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-SemiBold.woff2*
-rwxrwxrwx 1 yshen yshen  69440 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Regular.woff2*
-rwxrwxrwx 1 yshen yshen  70480 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Medium.woff2*
-rwxrwxrwx 1 yshen yshen  73704 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-MediumItalic.woff2*
-rwxrwxrwx 1 yshen yshen  73552 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-LightItalic.woff2*
-rwxrwxrwx 1 yshen yshen  72268 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Italic.woff2*
-rwxrwxrwx 1 yshen yshen  70416 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Light.woff2*
-rwxrwxrwx 1 yshen yshen  72520 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ExtraLightItalic.woff2*
-rwxrwxrwx 1 yshen yshen  73264 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ExtraBoldItalic.woff2*
-rwxrwxrwx 1 yshen yshen  69780 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ExtraLight.woff2*
-rwxrwxrwx 1 yshen yshen  70124 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ExtraBold.woff2*
-rwxrwxrwx 1 yshen yshen  73976 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-BoldItalic.woff2*
-rwxrwxrwx 1 yshen yshen  71180 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Bold.woff2*
-rwxrwxrwx 1 yshen yshen 230248 Oct 22  2021 '/home/yshen/.fonts/JetBrainsMono[wght].ttf'*
-rwxrwxrwx 1 yshen yshen 237112 Oct 22  2021 '/home/yshen/.fonts/JetBrainsMono-Italic[wght].ttf'*
-rwxrwxrwx 1 yshen yshen 147448 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-ThinItalic.ttf*
-rwxrwxrwx 1 yshen yshen 143284 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-Thin.ttf*
-rwxrwxrwx 1 yshen yshen 149388 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-SemiBoldItalic.ttf*
-rwxrwxrwx 1 yshen yshen 145112 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-SemiBold.ttf*
-rwxrwxrwx 1 yshen yshen 144120 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-Regular.ttf*
-rwxrwxrwx 1 yshen yshen 148484 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-MediumItalic.ttf*
-rwxrwxrwx 1 yshen yshen 143920 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-Medium.ttf*
-rwxrwxrwx 1 yshen yshen 148596 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-Italic.ttf*
-rwxrwxrwx 1 yshen yshen 145560 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-Light.ttf*
-rwxrwxrwx 1 yshen yshen 149124 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-LightItalic.ttf*
-rwxrwxrwx 1 yshen yshen 147592 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-ExtraLightItalic.ttf*
-rwxrwxrwx 1 yshen yshen 144488 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-ExtraLight.ttf*
-rwxrwxrwx 1 yshen yshen 150672 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-ExtraBoldItalic.ttf*
-rwxrwxrwx 1 yshen yshen 149552 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-BoldItalic.ttf*
-rwxrwxrwx 1 yshen yshen 147236 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-ExtraBold.ttf*
-rwxrwxrwx 1 yshen yshen 206184 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ThinItalic.ttf*
-rwxrwxrwx 1 yshen yshen 145828 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-Bold.ttf*
-rwxrwxrwx 1 yshen yshen 202076 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Thin.ttf*
-rwxrwxrwx 1 yshen yshen 212844 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-SemiBoldItalic.ttf*
-rwxrwxrwx 1 yshen yshen 209524 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-SemiBold.ttf*
-rwxrwxrwx 1 yshen yshen 203952 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Regular.ttf*
-rwxrwxrwx 1 yshen yshen 204140 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Medium.ttf*
-rwxrwxrwx 1 yshen yshen 211020 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-MediumItalic.ttf*
-rwxrwxrwx 1 yshen yshen 211428 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-LightItalic.ttf*
-rwxrwxrwx 1 yshen yshen 205672 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Light.ttf*
-rwxrwxrwx 1 yshen yshen 211180 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Italic.ttf*
-rwxrwxrwx 1 yshen yshen 204132 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ExtraLight.ttf*
-rwxrwxrwx 1 yshen yshen 209508 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ExtraLightItalic.ttf*
-rwxrwxrwx 1 yshen yshen 210688 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ExtraBold.ttf*
-rwxrwxrwx 1 yshen yshen 214464 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ExtraBoldItalic.ttf*
-rwxrwxrwx 1 yshen yshen 212756 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-BoldItalic.ttf*
-rwxrwxrwx 1 yshen yshen 210128 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Bold.ttf*

r/DoomEmacs • • Sep 29 '21

How to go to next page in completion suggestion menu in doom emacs?

0 Upvotes

In the opening screen of doom emacs, if I type SPC, I get a menu below with suggestions on possible next key to type. Sometimes, I find the suggestions to span more than one page, but when I try to press C-h j to go to the next page (as is usual in normal emacs), the context changes. What exactly do I need to do to get to the next page?


r/DoomEmacs • • Mar 23 '22

Haskell language server and imports auto-unwrap.

0 Upvotes

Does anyone know how to disable auto-unwrap of imports when using Haskell language server? Been looking through the HLS documentation, haven't found anything on that. Nothing on that on Emacs resources as well. Just to clarify how the "auto-unwrap" looks like: https://imgur.com/a/in1XmJJ UPD: Solved by adding "(setq lsp-lens-enable nil)" to the config.


r/DoomEmacs • • Feb 16 '21

Newbie to Doom Emacs - just installed

0 Upvotes

Hello,

I'm new to emacs, and have just installed doom emacs (macOS). Could someone tell me why my "short keys" options when I type SPC don't match what is available at 3:00 in this video?

https://youtu.be/rCMh7srOqvw?t=180

Here are my options:

and this is from the video:

EDIT: Here's a better example:

Would appreciate any help, I'm not sure if I installed something incorrectly.


r/DoomEmacs • • Mar 14 '22

Doom PRs not being merged

6 Upvotes

I've noticed that no PRs have been merged into the doom emacs master branch for about 2.5 weeks now. I assume its just a (well deserved) vacation for the maintainers, but I was just curious if there was any official explanation.


r/DoomEmacs • • May 22 '22

so i enabled some stuff in enit.el like emojis and other stuff and now every time i try to open files in emacs it gives me these errors

Post image
2 Upvotes

r/DoomEmacs • • Oct 22 '20

Emacs survey

2 Upvotes

https://news.ycombinator.com/item?id=24857834. I could share the direct link but I like to give credit to HN when I find stuff there.


r/DoomEmacs • • Jul 20 '20

Practice makes perfect

4 Upvotes

I decided that I wanted to really dive into Doom Emacs today and see if I can actually work with it. So I thought I'd do something that I am sort of OK with doing and that's writing basic html.

I just learned how to copy and paste today and since some of the html is pretty repetitive I thought this would help me get used to the keybindings to yank and paste text quickly. I made an html file using form code. I made a form which allowed me to copy and paste text and now I'm really comfortable with copy and paste.

I also worked on split screens creating css and html pages and making them work together.

All in all, a pretty productive day. I even went for a swim for a couple of hours.

Another note for any new Doom Emacs users out there. If your looking for a key combination to do something and decide to search the web, try searching for 'vim keybindings'. I found more answers that way than I did 'Doom Emacs keybindings'. They're basically the same.


r/DoomEmacs • • May 05 '22

GitHub and Doom Emacs

5 Upvotes

Good Evening,

Does anyone have a good guide or at least point me in the right direction on how to work Doom Emacs with Gits, particularly Github? I'd rather not drop into the console to upload my gits back into Github. I looked at Magit but can't seem to figure it out.

Edit:
Wow thank you everyone for the response. This was what I needed to get started. Thank you all again.


r/DoomEmacs • • Aug 16 '24

Can anyone give me a tutorial how to use doom emacs ?

3 Upvotes

r/DoomEmacs • • Apr 01 '25

How to remove copilot-ls ?

1 Upvotes

Hi , i am a beginner to doom emacs ( i've been using it shallowly for quite a while ) , in some update somehow copilot-ls is called , how to remove it ?


r/DoomEmacs • • Jul 27 '25

doom doctor

1 Upvotes

I have all these issues with doom, also I have another question, every time I want to use doom (doctor, help,sync...) it has to be from the app git bash or it can be also from the terminal if i use cd? Thanks

1- !Emacs was bit built with native compilation support

2- !Symlinks are not enabled on this operating system

3- !Warning:unable to detect fonts because fontconfig isn't installed (i have installed nerd icons and fonts)

:lang markdown

4- !Couldn't find a mardown compiler, 'markdown-preview' won't work

:lang sh

5- !Couldn't find a shellcheck. Shell script linting will not work

I am a newbie and a windows 11 user


r/DoomEmacs • • Jan 08 '21

For Rust support, what is the best packages I should install?

1 Upvotes

For Rust support, what is the best packages I should install?


r/DoomEmacs • • May 04 '23

Doom Emacs is broke for me and life just isn't the same

1 Upvotes

First, I can not get into Discourse. Email already in use, and when I try to get a password or login link, no such email.

I updated something, causing mu4e to quit working. Not the end of the world, but right up against it.

And finally had to power off my machine because it was frozen, and now Emacs is unusable.

Warning (initialization): An error occurred while loading ‘/Users/bob/.emacs.d/init.el’:

Error in private config: config.el, (file-error Creating directory Read-only file system /run)

To ensure normal operation, you should investigate and remove the

cause of the error in your initialization file. Start Emacs with

the ‘--debug-init’ option to view a complete error backtrace.

Here is the debug output. I don't understand any of it.

Debugger entered--Lisp error: (file-error "Creating directory" "Read-only file system" "/run")

signal(file-error ("Creating directory" "Read-only file system" "/run"))

files--ensure-directory("/run")

make-directory("/run/user/501/emacs" t)

server-ensure-safe-dir("/run/user/501/emacs")

server-start()

(if (server-running-p) nil (server-start))

(progn (use-package-statistics-gather :config 'server nil) (if (server-running-p) nil (server-start)) t (use-package-statistics-gather :config 'server t))

(closure (t) nil (progn (use-package-statistics-gather :config 'server nil) (if (server-running-p) nil (server-start)) t (use-package-statistics-gather :config 'server t)))()

eval-after-load-helper("/Applications/Emacs.app/Contents/Resources/lisp/se...")

run-hook-with-args(eval-after-load-helper "/Applications/Emacs.app/Contents/Resources/lisp/se...")

do-after-load-evaluation("/Applications/Emacs.app/Contents/Resources/lisp/se...")

require(server)

byte-code("\300\301!\210\300\302!\210\300\303!\210\304\305\306\307\310\311\310\302&\7\207" [require cl-lib server shell custom-declare-group with-editor nil "Use the Emacsclient as $EDITOR." :group external] 8)

require(with-editor)

byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\307\310\311\312\313DD\314\315\316\317\320&\7\210\307\321\311\312\322DD\323\324\325\315..." [require magit-utils magit-section magit-git magit-mode ansi-color with-editor custom-declare-variable magit-process-connection-type funcall function #f(compiled-function () #<bytecode 0x1ffb7ec25a9d>) "Connection type used for the Git process.\n\nIf nil,..." :group magit-process :type (choice (const :tag "pipe" nil) (const :tag "pty" t)) magit-need-cygwin-noglob #f(compiled-function () #<bytecode 0x1ffb7ec25aed>) "Whether to use a workaround for Cygwin's globbing ..." :package-version (magit . "2.3.0") (choice (const :tag "Yes" t) (const :tag "No" nil)) magit-process-popup-time #f(compiled-function () #<bytecode 0x1ffb7ec25afd>) "Popup the process buffer if a command takes longer..." (choice (const :tag "Never" -1) (const :tag "Immediately" 0) (integer :tag "After this many seconds")) magit-process-log-max #f(compiled-function () #<bytecode 0x1ffb7ec25b0d>) "Maximum number of sections to keep in a process lo..." (magit . "2.1.0") (choice (const :tag "Never remove old sections" nil) integer)] 10)

require(magit-process)

byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\310!\"\210\305\311\312\310!\"\210\305\313\311\"\210\314\313\315\316#\210\317\310\320\311#\321\310\322\323..." [require magit-git magit-mode magit-process transient defalias magit--git-variable-p eieio-make-class-predicate magit--git-variable magit--git-variable--eieio-childp eieio-make-child-predicate magit--git-variable-child-p make-obsolete "use (cl-typep ... \\='magit--git-variable) instead" "25.1" define-symbol-prop cl-deftype-satisfies eieio-defclass-internal (transient-variable) ((scope :initarg :scope)) nil] 6)

require(magit-transient)

byte-code("\300\301!\210\300\302!\210\300\303!\210\304\305\306\307\310\311\312\313&\7\207" [require magit-section magit-transient magit-mode custom-declare-group magit-margin nil "Information Magit displays in the margin.\n\nYou can..." :link (info-link "(magit)Log Margin") :group magit-log] 8)

require(magit-margin)

byte-code("\301\302!\210\301\303!\210\301\304!\210\301\305!\210\301\306!\210\301\307!\210\301\310!\210\301\311!\210\312 \203=\0\31310\0\301\314!0\202<\0\315\20..." [magit-inhibit-libgit require magit-utils magit-section magit-git magit-mode magit-margin magit-process magit-transient magit-autorevert magit--libgit-available-p (error) magit-libgit error message "Error while loading `magit-libgit': %S" "That is not fatal. The `libegit2' module just won..." custom-declare-group magit nil "Controlling Git from Emacs." :link (url-link "https://magit.vc") (info-link "(magit)FAQ") (info-link "(magit)") :group tools magit-essentials "Options that every Magit user should briefly think..." (info-link "(magit)Essential Settings") magit-miscellaneous "Miscellaneous Magit options." magit-commands "Options controlling behavior of certain commands." magit-modes "Modes used or provided by Magit." magit-buffers "Options concerning Magit buffers." (info-link "(magit)Modes and Buffers") magit-refresh "Options controlling how Magit buffers are refreshe..." (info-link "(magit)Automatic Refreshing of Magit Buffers") magit-faces "Faces used by Magit." faces custom-add-to-group diff-refine-added custom-face diff-refine-removed magit-extensions ...] 18)

require(magit-core)

byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\210\300\311\312\313#\210\300\314!\207" [require magit-core magit-diff magit-log magit-wip magit-apply magit-repos git-commit format-spec package nil t with-editor] 4)

require(magit)

byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306!\204\33\0\307\306\310\"\210\300\207" [require cl-lib format-spec magit org fboundp org-link-store-props defalias org-store-link-props] 3)

orgit-link-set-parameters("orgit" :store orgit-status-store :follow orgit-status-open :export orgit-status-export :complete orgit-status-complete-link)

#f(compiled-function () #<bytecode 0x1ffb92c9e7b9>)()

eval-after-load-helper("/Users/bob/.doom-emacs.d/.local/straight/build-27....")

run-hook-with-args(eval-after-load-helper "/Users/bob/.doom-emacs.d/.local/straight/build-27....")

do-after-load-evaluation("/Users/bob/.doom-emacs.d/.local/straight/build-27....")

require(org)

byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\210\300\311!\210\300\312!\210\300\313!\210\300\314!\210\300\315..." [require dash rx seq cl-lib magit-section emacsql emacsql-sqlite org org-id ol org-element org-capture ansi-color custom-declare-group org-roam nil "A database abstraction layer for Org-mode." :group :prefix "org-roam-" :link (url-link :tag "Github" "https://github.com/org-roam/org-roam") (url-link :tag "Online Manual" "https://www.orgroam.com/manual.html") org-roam-faces "Faces used by Org-roam." faces custom-declare-variable org-roam-verbose funcall function #f(compiled-function () #<bytecode 0x1ffb82a478c1>) "Echo messages that are not errors." :type boolean org-roam-directory #f(compiled-function () #<bytecode 0x1ffb82a478d5>) "Default path to Org-roam files.\nAll Org files, at ..." directory org-roam-find-file-hook #f(compiled-function () #<bytecode 0x1ffb82a478e1>) "Hook run when an Org-roam file is visited." hook org-roam-file-extensions #f(compiled-function () #<bytecode 0x1ffb82a478f1>) "List of file extensions to be included by Org-Roam..." (repeat string) org-roam-file-exclude-regexp #f(compiled-function () #<bytecode 0x1ffb82a47ab5>) "Files matching this regular expression are exclude..." ...] 12)

require(org-roam nil nil)

eval-buffer(#<buffer *load*-60569> nil "/Users/bob/.doom.d/config.el" nil t) ; Reading at buffer position 6334

load-with-code-conversion("/Users/bob/.doom.d/config.el" "/Users/bob/.doom.d/config.el" t t)

load("/Users/bob/.doom.d/config" t nomessage)

(let (file-name-handler-alist) (load (expand-file-name "config" doom-private-dir) t 'nomessage))

(condition-case e (let (file-name-handler-alist) (load (expand-file-name "config" doom-private-dir) t 'nomessage)) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (doom--handle-load-error e (expand-file-name "config" doom-private-dir) doom-private-dir)))

(if no-config-p nil (maphash (doom-module-loader doom-module-config-file) doom-modules) (doom-run-hooks 'doom-init-modules-hook) (condition-case e (let (file-name-handler-alist) (load (expand-file-name "config" doom-private-dir) t 'nomessage)) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (doom--handle-load-error e (expand-file-name "config" doom-private-dir) doom-private-dir))) (if custom-file (progn (load custom-file 'noerror (not doom-debug-mode)))))

(progn (if doom-debug-p (progn (let ((inhibit-message (active-minibuffer-window))) (message #("DOOM Initializing user config" 0 5 (face font-lock-comment-face)))))) (maphash (doom-module-loader doom-module-init-file) doom-modules) (doom-run-hooks 'doom-before-init-modules-hook) (if no-config-p nil (maphash (doom-module-loader doom-module-config-file) doom-modules) (doom-run-hooks 'doom-init-modules-hook) (condition-case e (let (file-name-handler-alist) (load (expand-file-name "config" doom-private-dir) t 'nomessage)) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (doom--handle-load-error e (expand-file-name "config" doom-private-dir) doom-private-dir))) (if custom-file (progn (load custom-file 'noerror (not doom-debug-mode))))))

(if init-p (progn (if doom-debug-p (progn (let ((inhibit-message (active-minibuffer-window))) (message #("DOOM Initializing user config" 0 5 (face font-lock-comment-face)))))) (maphash (doom-module-loader doom-module-init-file) doom-modules) (doom-run-hooks 'doom-before-init-modules-hook) (if no-config-p nil (maphash (doom-module-loader doom-module-config-file) doom-modules) (doom-run-hooks 'doom-init-modules-hook) (condition-case e (let (file-name-handler-alist) (load (expand-file-name "config" doom-private-dir) t 'nomessage)) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (doom--handle-load-error e (expand-file-name "config" doom-private-dir) doom-private-dir))) (if custom-file (progn (load custom-file 'noerror (not doom-debug-mode)))))) nil)

(let* ((init-p (and t (condition-case e (let (file-name-handler-alist) (load (expand-file-name doom-module-init-file doom-private-dir) t 'nomessage)) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (doom--handle-load-error e (expand-file-name doom-module-init-file doom-private-dir) doom-private-dir)))))) (if init-p (progn (if doom-debug-p (progn (let ((inhibit-message ...)) (message #("DOOM Initializing user config" 0 5 ...))))) (maphash (doom-module-loader doom-module-init-file) doom-modules) (doom-run-hooks 'doom-before-init-modules-hook) (if no-config-p nil (maphash (doom-module-loader doom-module-config-file) doom-modules) (doom-run-hooks 'doom-init-modules-hook) (condition-case e (let (file-name-handler-alist) (load (expand-file-name "config" doom-private-dir) t 'nomessage)) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (doom--handle-load-error e (expand-file-name "config" doom-private-dir) doom-private-dir))) (if custom-file (progn (load custom-file 'noerror (not doom-debug-mode)))))) nil))

(progn (setq doom-init-modules-p t) (if no-config-p nil (if doom-debug-p (progn (let ((inhibit-message (active-minibuffer-window))) (message #("DOOM Initializing core modules" 0 5 (face font-lock-comment-face)))))) (doom-initialize-core-modules)) (let* ((init-p (and t (condition-case e (let (file-name-handler-alist) (load ... t ...)) ((debug doom-error) (signal ... ...)) ((debug error) (doom--handle-load-error e ... doom-private-dir)))))) (if init-p (progn (if doom-debug-p (progn (let (...) (message ...)))) (maphash (doom-module-loader doom-module-init-file) doom-modules) (doom-run-hooks 'doom-before-init-modules-hook) (if no-config-p nil (maphash (doom-module-loader doom-module-config-file) doom-modules) (doom-run-hooks 'doom-init-modules-hook) (condition-case e (let (file-name-handler-alist) (load ... t ...)) ((debug doom-error) (signal ... ...)) ((debug error) (doom--handle-load-error e ... doom-private-dir))) (if custom-file (progn (load custom-file ... ...))))) nil)))

(if (or force-p (not doom-init-modules-p)) (progn (setq doom-init-modules-p t) (if no-config-p nil (if doom-debug-p (progn (let ((inhibit-message ...)) (message #("DOOM Initializing core modules" 0 5 ...))))) (doom-initialize-core-modules)) (let* ((init-p (and t (condition-case e (let ... ...) (... ...) (... ...))))) (if init-p (progn (if doom-debug-p (progn (let ... ...))) (maphash (doom-module-loader doom-module-init-file) doom-modules) (doom-run-hooks 'doom-before-init-modules-hook) (if no-config-p nil (maphash (doom-module-loader doom-module-config-file) doom-modules) (doom-run-hooks 'doom-init-modules-hook) (condition-case e (let ... ...) (... ...) (... ...)) (if custom-file (progn ...)))) nil))))

doom-initialize-modules()

eval-buffer(#<buffer *load*-962129> nil "/Users/bob/.doom-emacs.d/init.el" nil t) ; Reading at buffer position 2803

load-with-code-conversion("/Users/bob/.doom-emacs.d/init.el" "/Users/bob/.doom-emacs.d/init.el" t t)

load("/Users/bob/.doom-emacs.d/init.el" t t)

(let ((init-file (expand-file-name "init.el" user-emacs-directory))) (setq package-user-dir (expand-file-name "elpa" user-emacs-directory)) (load init-file t t) (let ((chemacs-custom-file (chemacs-profile-get 'custom-file init-file))) (if (not custom-file) (progn (setq custom-file chemacs-custom-file) (if (equal custom-file init-file) nil (if (file-exists-p custom-file) nil (let (...) (save-current-buffer ... ...))) (load custom-file))))))

chemacs-load-user-init()

eval-buffer(#<buffer *load*> nil "/Users/bob/.emacs.d/init.el" nil t) ; Reading at buffer position 238

load-with-code-conversion("/Users/bob/.emacs.d/init.el" "/Users/bob/.emacs.d/init.el" t t)

load("/Users/bob/.emacs.d/init" noerror nomessage)

#f(compiled-function (filename-function &optional alternate-filename-function load-defaults) "Load a user init-file.\nFILENAME-FUNCTION is called with no arguments and should return\nthe name of the init-file to load. If this file cannot be\nloaded, and ALTERNATE-FILENAME-FUNCTION is non-nil, then it is\ncalled with no arguments and should return the name of an\nalternate init-file to load. If LOAD-DEFAULTS is non-nil, then\nload default.el after the init-file, unless `inhibit-default-init'\nis non-nil.\n\nThis function sets `user-init-file' to the name of the loaded\ninit-file, or to a default value if loading is not possible." #<bytecode 0x41f04aab>)(#f(compiled-function () #<bytecode 0x1ffb8b00cdcd>) #f(compiled-function () #<bytecode 0x1ffb8b00cde5>) t)

apply(#f(compiled-function (filename-function &optional alternate-filename-function load-defaults) "Load a user init-file.\nFILENAME-FUNCTION is called with no arguments and should return\nthe name of the init-file to load. If this file cannot be\nloaded, and ALTERNATE-FILENAME-FUNCTION is non-nil, then it is\ncalled with no arguments and should return the name of an\nalternate init-file to load. If LOAD-DEFAULTS is non-nil, then\nload default.el after the init-file, unless `inhibit-default-init'\nis non-nil.\n\nThis function sets `user-init-file' to the name of the loaded\ninit-file, or to a default value if loading is not possible." #<bytecode 0x41f04aab>) (#f(compiled-function () #<bytecode 0x1ffb8b00cdcd>) #f(compiled-function () #<bytecode 0x1ffb8b00cde5>) t))

startup--load-user-init-file(#f(compiled-function () #<bytecode 0x1ffb8b00cdcd>) #f(compiled-function () #<bytecode 0x1ffb8b00cde5>) t)

command-line()

normal-top-level()


r/DoomEmacs • • Mar 24 '23

Steps to download DoomEmacs on M1 pro?

1 Upvotes

I've tried installing Emacs and DoomEmacs a few times on my M1 Pro silicon Mac to try and switch from NeoVim, but I never had luck following any of the online tutorials / videos.

What are the exact steps I have to take to properly install it? Which Emacs version should I install?

Any help would be appreciated!


r/DoomEmacs • • Dec 14 '23

"doom" command not found

1 Upvotes

When attempting to run doom doctor, I'm getting the error "zsh: command not found: doom." I've double-checked my configuration, and it seems that the doom command is not recognized globally in my shell.

Environment:
Mac OS
Emacs installed from due to limitations preventing the use of pkg or brew on my machine.

Configuration Details:
Doom Emacs path: /Users/xxx/doom-emacs
Emacs path: /Users/xxx/Emacs.app

What I tried so far:
I added Doom Emacs bin directory to my PATH in .zshrc using export PATH=$PATH:/Users/xxx/doom-emacs/bin.
Ensured that the doom binary has execute permissions (chmod +x /Users/xxx/doom-emacs/bin/doom).
Despite these efforts, the issue persists, and I'm unable to run doom doctor successfully.

Note:
I'm aware that I'm using Emacs from , as I cannot install pkg or brew on my machine due to certain restrictions.

SOLVED:
I added this to my .zshrc

# Add emacs to PATH
export PATH="/Users/sss/Emacs.app/Contents/MacOS:$PATH"
# Add Doom to PATH
export PATH="$HOME/doom-emacs/bin:$PATH"

And then reloaded my .zshrc using:

source . zshrc

r/DoomEmacs • • Jul 29 '23

Is there a way to transfer doom configuration to plain emacs?

1 Upvotes

Doom was a great start, but it obfuscates too much and there is little help available. Plain emacs will make life significantly easier. Is there any way to transfer the configuration from doom into plain emacs or are you "vendor-locked" and need to start from scratch?


r/DoomEmacs • • Jan 26 '22

Cursor does not change in vim modes

1 Upvotes

Hello,

I recently started using emacs and I have noticed my cursor does not change when entering insert mode. I have tried changing it using the

(setq evil-normal-state-cursor '(box "light blue")
      evil-insert-state-cursor '(bar "medium sea green")
      evil-visual-state-cursor '(hollow "orange"))

settings, but nothing changed. Any help is appreciated.

Emacs Version: GNU Emacs 27.2 (build 1, aarch64-apple-darwin21.2.0, Carbon Version 165 AppKit 2113.2)

Mac Version: Monterey

Terminal: ITerm2

Edit: Emacs Info


r/DoomEmacs • • Jun 17 '22

How to debug or solve the problem of "Font not available: #<font-spec nil nil JetBrains\ Mono nil nil nil nil nil 16 nil nil nil nil>"?

1 Upvotes

With doom emacs, I have the following in my config.el

(setq doom-font (font-spec :family "JetBrains Mono" :size 16)

I evaluated it manually without any error, and M-x doom-reload-font, then I got the error:

Font not available: #<font-spec nil nil JetBrains\ Mono nil nil nil nil nil 16 nil nil nil nil> 

and the desired font was not used in the emacs session. (With the above configuration, when starting doom emacs, I got the same error, which aborted the starting up the emacs session.)

I checked my ~/.font directory, there are many font files that may match the specification.

Furthermore, this problem only occur with certain unknown packages' upgrade, as the configuration used to work before the upgrade.

Here are the fonts relevant that are available.

ls -lt ~/.fonts/JetBrainsMono*                                                                                                                       (base)
-rwxrwxrwx 1 yshen yshen  68064 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Thin.woff2*
-rwxrwxrwx 1 yshen yshen  71180 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ThinItalic.woff2*
-rwxrwxrwx 1 yshen yshen  74088 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-SemiBoldItalic.woff2*
-rwxrwxrwx 1 yshen yshen  70820 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-SemiBold.woff2*
-rwxrwxrwx 1 yshen yshen  69440 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Regular.woff2*
-rwxrwxrwx 1 yshen yshen  70480 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Medium.woff2*
-rwxrwxrwx 1 yshen yshen  73704 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-MediumItalic.woff2*
-rwxrwxrwx 1 yshen yshen  73552 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-LightItalic.woff2*
-rwxrwxrwx 1 yshen yshen  72268 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Italic.woff2*
-rwxrwxrwx 1 yshen yshen  70416 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Light.woff2*
-rwxrwxrwx 1 yshen yshen  72520 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ExtraLightItalic.woff2*
-rwxrwxrwx 1 yshen yshen  73264 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ExtraBoldItalic.woff2*
-rwxrwxrwx 1 yshen yshen  69780 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ExtraLight.woff2*
-rwxrwxrwx 1 yshen yshen  70124 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ExtraBold.woff2*
-rwxrwxrwx 1 yshen yshen  73976 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-BoldItalic.woff2*
-rwxrwxrwx 1 yshen yshen  71180 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Bold.woff2*
-rwxrwxrwx 1 yshen yshen 230248 Oct 22  2021 '/home/yshen/.fonts/JetBrainsMono[wght].ttf'*
-rwxrwxrwx 1 yshen yshen 237112 Oct 22  2021 '/home/yshen/.fonts/JetBrainsMono-Italic[wght].ttf'*
-rwxrwxrwx 1 yshen yshen 147448 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-ThinItalic.ttf*
-rwxrwxrwx 1 yshen yshen 143284 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-Thin.ttf*
-rwxrwxrwx 1 yshen yshen 149388 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-SemiBoldItalic.ttf*
-rwxrwxrwx 1 yshen yshen 145112 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-SemiBold.ttf*
-rwxrwxrwx 1 yshen yshen 144120 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-Regular.ttf*
-rwxrwxrwx 1 yshen yshen 148484 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-MediumItalic.ttf*
-rwxrwxrwx 1 yshen yshen 143920 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-Medium.ttf*
-rwxrwxrwx 1 yshen yshen 148596 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-Italic.ttf*
-rwxrwxrwx 1 yshen yshen 145560 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-Light.ttf*
-rwxrwxrwx 1 yshen yshen 149124 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-LightItalic.ttf*
-rwxrwxrwx 1 yshen yshen 147592 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-ExtraLightItalic.ttf*
-rwxrwxrwx 1 yshen yshen 144488 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-ExtraLight.ttf*
-rwxrwxrwx 1 yshen yshen 150672 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-ExtraBoldItalic.ttf*
-rwxrwxrwx 1 yshen yshen 149552 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-BoldItalic.ttf*
-rwxrwxrwx 1 yshen yshen 147236 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-ExtraBold.ttf*
-rwxrwxrwx 1 yshen yshen 206184 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ThinItalic.ttf*
-rwxrwxrwx 1 yshen yshen 145828 Oct 22  2021  /home/yshen/.fonts/JetBrainsMonoNL-Bold.ttf*
-rwxrwxrwx 1 yshen yshen 202076 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Thin.ttf*
-rwxrwxrwx 1 yshen yshen 212844 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-SemiBoldItalic.ttf*
-rwxrwxrwx 1 yshen yshen 209524 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-SemiBold.ttf*
-rwxrwxrwx 1 yshen yshen 203952 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Regular.ttf*
-rwxrwxrwx 1 yshen yshen 204140 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Medium.ttf*
-rwxrwxrwx 1 yshen yshen 211020 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-MediumItalic.ttf*
-rwxrwxrwx 1 yshen yshen 211428 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-LightItalic.ttf*
-rwxrwxrwx 1 yshen yshen 205672 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Light.ttf*
-rwxrwxrwx 1 yshen yshen 211180 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Italic.ttf*
-rwxrwxrwx 1 yshen yshen 204132 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ExtraLight.ttf*
-rwxrwxrwx 1 yshen yshen 209508 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ExtraLightItalic.ttf*
-rwxrwxrwx 1 yshen yshen 210688 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ExtraBold.ttf*
-rwxrwxrwx 1 yshen yshen 214464 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-ExtraBoldItalic.ttf*
-rwxrwxrwx 1 yshen yshen 212756 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-BoldItalic.ttf*
-rwxrwxrwx 1 yshen yshen 210128 Oct 22  2021  /home/yshen/.fonts/JetBrainsMono-Bold.ttf*

r/DoomEmacs • • Oct 07 '21

Error on doom upgrade: Failed to get unambiguous name for "main" fatal: Needed a single revision

2 Upvotes

When running doom upgrade:

In repository "org", failed to get status:

    Failed to get unambiguous name for "main"
    fatal: Needed a single revision

It had given a similar error before, about pdf-tools instead of org. So I'd commented out pdf-tools in the init, and now I'm getting this..