Doom-emacs: Org mode files hangs emacs

Created on 17 Sep 2018  Β·  22Comments  Β·  Source: hlissner/doom-emacs

Observed behavior

So, everytime when i open my org file which i'm using quite a while it opens fine with all levels collapsed. When i'm trying to uncollapse to 3rd level emacs hangs to death and i can't do anything with him. I can't create 3rd level at all. But it works fine if i use only 1 and 2 levels

Expected behavior

I can create any level of headings

Steps to reproduce

Create new org file
Create 1 level
Create 2 level in it
Create 3rd level in it

System information


Click to expand

Doom Doctor
Emacs v26.1
Doom v2.0.9 (daccdc3e)
shell: /usr/local/bin/fish
Compiled with:
  JPEG RSVG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS
  MODULES THREADS LCMS2
uname -a:
  Darwin Adel-MacBook-Pro.local 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21
  22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64

Checking your OS...
Checking your fonts...
Checking gnutls/openssl...
Testing your root certificates...
Checking for GNU/BSD tar...
Checking your enabled modules...
  > (:lang cc) Couldn’t find the rtag client and/or server programs
    (rdm rc). Disabling rtags support
  > (:lang cc) Couldn’t find glslangValidator. GLSL code completion
    is disabled


There are 2 warnings!

:lang org emacs performance resolved

All 22 comments

This is a peculiar one. My only suspect is that Emacs is struggling to render one of the org-bullets-mode unicode characters. Try disabling it w/ M-x org-bullets-mode or (remove-hook 'org-mode-hook #'org-bullets-mode) and see if the issue goes away.

Actually, i found that problem occures only when evil-org-mode package is installed. And your org layer don't work without evil-org package, so, i'm currently don't use your org config and installed it myself. And when i'm tried to specify evil-org package in personal config (packages.el) those bug appeared again.
Seems like its not your fault, and i can close the issue?

Can you reproduce this in vanilla Emacs? e.g. M-x doom/open-vanilla-sandbox, and put in

(defvar evil-org-key-theme '(navigation insert textobjects))
(defvar evil-org-special-o/O '(table-row))

(require 'evil)
(require 'evil-org)
(require 'org)

(evil-mode +1)

(add-hook 'org-mode-hook #'evil-org-mode)
(add-hook 'evil-org-mode-hook #'evil-normalize-keymaps)

Then press C-c C-c (runs this code in a blank emacs session), then open up an org document and see if your issue persists.

I am seeing this issue also, whenever I open an Org file that has multiple levels and try to expand a section by pressing the TAB key, it hangs and I have to force kill Emacs.

(defvar evil-org-key-theme '(navigation insert textobjects)) (defvar evil-org-special-o/O '(table-row)) (require 'evil) (require 'evil-org) (require 'org) (evil-mode +1) (add-hook 'org-mode-hook #'evil-org-mode) (add-hook 'evil-org-mode-hook #'evil-normalize-keymaps)

I tried this in sandbox and everything was ok.

Sorry for the late followup. Are you still experiencing this issue?

Sorry for the late followup. Are you still experiencing this issue?

No, fixed when i switched to develop.

I am still seeing this issues in develop, but when I dont load many of the org mode related modules it goes away. I commented out the org section of init:
;; (org ; organize your plain life in plain text
;; +attach ; custom attachment system
;; +babel ; running code in org
;; +capture ; org-capture in and outside of Emacs
;; +export ; Exporting org to whatever you want
;; +present ; Emacs for presentations
;; )

I then load in some plugins manually in my personal module (evil-org and org-pdfview), and that seems to work for me. I am probably removing too much, but this seems to be working for me so far.

@JonnyWalker81 Would you mind narrowing down the cause by disabling one flag at a time until the issue disappears?

If that doesn't work, do the same with the org-load-hook hooks that the lang/org module uses. i.e. these are the hooks it adds:

(add-hook! 'org-load-hook
    #'(+org|setup-ui
       +org|setup-popup-rules
       +org|setup-agenda
       +org|setup-keybinds
       +org|setup-hacks
       +org|setup-pretty-code
       +org|setup-custom-links))

So try removing them one at a time:

(remove-hook 'org-load-hook #'+org|setup-ui)

Sorry for the late reply, I did some trial and error with the hooks and it looks like it's the +org|setup-ui. If I comment out the adding of that hook, then it does not seem to be hanging anymore. Also, I tried to put (remove-hook 'org-load-hook #'+org|setup-ui) at the end of my init.el file, but that did not seem to remove the hook, is there somewhere else I need to execute that? When I commented it out the adding of the hook in the lang/org module things worked.

After more investigation, I narrowed it down to line 272 in modules/lang/org/config.el:

org-startup-indented t

Also the following seems to be involved:

org-indent-mode ; margin-based indentation

If I comment out both lines, then I don't experience the hang.

Is this still an issue?

I've been running into this recently when I try and do yy or dd in org-mode:

evil-motion-range: Wrong type argument: symbolp, (keymap (keymap (82 . evil-org-a-subtree) (114 . evil-org-a-greater-element) (69 . evil-org-an-element) (101 . evil-org-an-object)) (keymap (120 . evil-outer-xml-attr) (107 . evil-indent-plus-a-indent-up) (106 . evil-indent-plus-a-indent-up-down) (105 . evil-indent-plus-a-indent) (103 . +evil:whole-buffer-txtobj) (102 . +evil:defun-txtobj) (99 . evilnc-outer-commenter) (97 . evil-outer-arg) (111 . evil-a-symbol) ...))

I think it has to do with not finding evil-org-mode somehow? Found this thread googling for an answer.

@Vvkmnn That particular issue was addressed at some point in the past 2 months. Make sure your packages (evil-org-mode, in particular) and Doom are up-to-date.

Sure thing, I'm on f5d651eae7001dd95a3b535debbe71d4c3860325, and I've been running doom update:


$ doom update

Checking core autoloads file
βœ“ Deleted old autoloads.el
Regenerating core autoloads file
βœ“ Scanned 92 file(s)
βœ“ Generated new autoloads.el
βœ“ Expanded module autoload paths
βœ“ Generated autodefs
βœ“ Cleaned up autoloads
Byte-compiling .local/autoloads.el...
βœ“ Compiled .local/autoloads.el
Updating packages (this may take a while)...

  71aff5d Update Emacsmirror mirror
  • (4/245) straight is up-to-date
  • (5/245) bind-key is up-to-date
  • (6/245) async is up-to-date
  • (7/245) dotenv-mode is up-to-date
  • (8/245) auto-minor-mode is up-to-date
  • (9/245) all-the-icons is up-to-date
  • (10/245) hide-mode-line is up-to-date
  • (11/245) highlight-numbers is up-to-date
  • (12/245) rainbow-delimiters is up-to-date
  • (13/245) restart-emacs is up-to-date
  • (14/245) better-jumper is up-to-date
  • (15/245) dtrt-indent is up-to-date
  • (16/245) helpful is up-to-date
  • (17/245) pcre2el is up-to-date
  • (18/245) smartparens is up-to-date
  • (19/245) so-long is up-to-date
  • (20/245) undo-tree is up-to-date
  • (21/245) ws-butler is up-to-date
  • (22/245) xclip is up-to-date
  • (23/245) projectile is up-to-date
  • (24/245) general is up-to-date
  • (25/245) which-key is up-to-date
  • (26/245) company is up-to-date
  • (27/245) company-dict is up-to-date
  • (28/245) prescient is up-to-date
  • (29/245) amx is up-to-date
  • (30/245) counsel is up-to-date
  • (31/245) counsel-projectile is up-to-date
  • (32/245) ivy-rich is up-to-date
  • (33/245) wgrep is up-to-date
  • (34/245) doom-themes is up-to-date
  • (35/245) solaire-mode is up-to-date
  • (36/245) hl-todo is up-to-date
  • (37/245) hydra is up-to-date
  • (38/245) doom-modeline is up-to-date
  • (39/245) anzu is up-to-date
  • (40/245) evil-anzu is up-to-date
  • (41/245) nav-flash is up-to-date
  • (42/245) evil-goggles is up-to-date
  • (43/245) centaur-tabs is up-to-date
  • (44/245) treemacs is up-to-date
  • (45/245) unicode-fonts is up-to-date
  • (46/245) git-gutter-fringe is up-to-date
  • (47/245) vi-tilde-fringe is up-to-date
  • (48/245) ace-window is up-to-date
  • (49/245) persp-mode is up-to-date
  • (50/245) evil is up-to-date
  • (51/245) evil-args is up-to-date
  • (52/245) evil-easymotion is up-to-date
  • (53/245) evil-embrace is up-to-date
  • (54/245) evil-escape is up-to-date
  • (55/245) evil-exchange is up-to-date
  • (56/245) evil-indent-plus is up-to-date
  • (57/245) evil-nerd-commenter is up-to-date
  • (58/245) evil-numbers is up-to-date
  • (59/245) evil-snipe is up-to-date
  • (60/245) evil-surround is up-to-date
  • (61/245) evil-textobj-anyblock is up-to-date
  • (62/245) evil-traces is up-to-date
  • (63/245) evil-visualstar is up-to-date
  • (64/245) exato is up-to-date
  • (65/245) evil-collection is up-to-date
  • (66/245) yasnippet is up-to-date
  • (67/245) evil-vimish-fold is up-to-date
  • (68/245) format-all is up-to-date
  • (69/245) evil-multiedit is up-to-date
  • (70/245) evil-mc is up-to-date
  • (71/245) objed is up-to-date
  • (72/245) parinfer is up-to-date
  • (73/245) rotate-text is up-to-date
  • (74/245) auto-yasnippet is up-to-date
  • (75/245) doom-snippets is up-to-date
  • (76/245) adaptive-wrap is up-to-date
  • (77/245) diredfl is up-to-date
  • (78/245) diff-hl is up-to-date
    βœ“ (79/245) dired-rsync updated (144243f -> 707f527)

    • From https://github.com/stsquad/dired-rsync
      144243f..707f527 master -> origin/master

      • [new tag] 0.5 -> 0.5

      707f527 NEWS: finalise for 0.5 release

      0741e30 remove Makefile


  • (80/245) fd-dired is up-to-date

  • (81/245) ibuffer-projectile is up-to-date
  • (82/245) ibuffer-vc is up-to-date
  • (83/245) git-link is up-to-date
  • (84/245) git-timemachine is up-to-date
  • (85/245) gitignore-mode is up-to-date
  • (86/245) realgud is up-to-date
  • (87/245) realgud-trepan-ni is up-to-date
  • (88/245) dap-mode is up-to-date
  • (89/245) editorconfig is up-to-date
  • (90/245) quickrun is up-to-date
  • (91/245) eros is up-to-date
  • (92/245) flycheck is up-to-date
  • (93/245) flycheck-popup-tip is up-to-date
  • (94/245) flyspell-correct is up-to-date
  • (95/245) dumb-jump is up-to-date
  • (96/245) ivy-xref is up-to-date
  • (97/245) dash-docs is up-to-date
  • (98/245) counsel-dash is up-to-date
    βœ“ (99/245) lsp-mode updated (8a159ec -> 47b3ebf)

    • From https://github.com/emacs-lsp/lsp-mode
      8a159ec..47b3ebf master -> origin/master

      47b3ebf Change group from lsp-mode to lsp

  • (100/245) lsp-ui is up-to-date

  • (101/245) company-lsp is up-to-date
    βœ“ (102/245) magit updated (a2168f9 -> a497276)

    • From https://github.com/magit/magit
      a2168f9..a497276 master -> origin/master

      a497276 magit-stash-drop: Pass drop-stashes to magit-confirm
      3ca1b62 magit-merge: Add --Xdiff-algorithm

  • (103/245) forge is up-to-date

  • (104/245) magit-gitflow is up-to-date
  • (105/245) magit-todos is up-to-date
  • (106/245) evil-magit is up-to-date
  • (107/245) makefile-executor is up-to-date
  • (108/245) pdf-tools is up-to-date
  • (109/245) prodigy is up-to-date
  • (110/245) graphql-mode is up-to-date
  • (111/245) json-mode is up-to-date
  • (112/245) jsonnet-mode is up-to-date
  • (113/245) yaml-mode is up-to-date
  • (114/245) csv-mode is up-to-date
  • (115/245) dhall-mode is up-to-date
  • (116/245) protobuf-mode is up-to-date
  • (117/245) highlight-quoted is up-to-date
  • (118/245) macrostep is up-to-date
  • (119/245) overseer is up-to-date
  • (120/245) elisp-def is up-to-date
  • (121/245) elisp-demos is up-to-date
  • (122/245) flycheck-cask is up-to-date
  • (123/245) buttercup is up-to-date
  • (124/245) coffee-mode is up-to-date
  • (125/245) js2-mode is up-to-date
  • (126/245) rjsx-mode is up-to-date
  • (127/245) typescript-mode is up-to-date
  • (128/245) eslintd-fix is up-to-date
  • (129/245) js2-refactor is up-to-date
  • (130/245) npm-mode is up-to-date
  • (131/245) nodejs-repl is up-to-date
  • (132/245) skewer-mode is up-to-date
  • (133/245) tide is up-to-date
  • (134/245) xref-js2 is up-to-date
  • (135/245) markdown-mode is up-to-date
  • (136/245) markdown-toc is up-to-date
  • (137/245) edit-indirect is up-to-date
  • (138/245) evil-markdown is up-to-date
  • (139/245) org is up-to-date
  • (140/245) htmlize is up-to-date
  • (141/245) org-bullets is up-to-date
  • (142/245) org-fancy-priorities is up-to-date
  • (143/245) org-yt is up-to-date
  • (144/245) ox-clip is up-to-date
  • (145/245) toc-org is up-to-date
  • (146/245) evil-org is up-to-date
  • (147/245) org-pdfview is up-to-date
  • (148/245) orgit is up-to-date
  • (149/245) ob-async is up-to-date
  • (150/245) org-download is up-to-date
  • (151/245) ob-ipython is up-to-date
  • (152/245) ox-pandoc is up-to-date
  • (153/245) org-pomodoro is up-to-date
  • (154/245) centered-window is up-to-date
  • (155/245) org-tree-slide is up-to-date
  • (156/245) org-re-reveal is up-to-date
  • (157/245) pip-requirements is up-to-date
  • (158/245) lsp-python-ms is up-to-date
  • (159/245) anaconda-mode is up-to-date
  • (160/245) company-anaconda is up-to-date
  • (161/245) pipenv is up-to-date
  • (162/245) pyvenv is up-to-date
  • (163/245) nose is up-to-date
  • (164/245) python-pytest is up-to-date
  • (165/245) pyimport is up-to-date
  • (166/245) pyimpsort is up-to-date
  • (167/245) enh-ruby-mode is up-to-date
  • (168/245) yard-mode is up-to-date
  • (169/245) inf-ruby is up-to-date
  • (170/245) company-inf-ruby is up-to-date
  • (171/245) rubocop is up-to-date
  • (172/245) robe is up-to-date
  • (173/245) bundler is up-to-date
  • (174/245) rake is up-to-date
  • (175/245) rspec-mode is up-to-date
  • (176/245) minitest is up-to-date
  • (177/245) company-shell is up-to-date
  • (178/245) emmet-mode is up-to-date
  • (179/245) haml-mode is up-to-date
  • (180/245) pug-mode is up-to-date
  • (181/245) slim-mode is up-to-date
  • (182/245) web-mode is up-to-date
  • (183/245) company-web is up-to-date
  • (184/245) sass-mode is up-to-date
  • (185/245) sws-mode is up-to-date
  • (186/245) rainbow-mode is up-to-date
  • (187/245) counsel-css is up-to-date
  • (188/245) avy is up-to-date
  • (189/245) ace-link is up-to-date
  • (190/245) drag-stuff is up-to-date
  • (191/245) memoize is up-to-date
  • (192/245) parent-mode is up-to-date
  • (193/245) dash is up-to-date
  • (194/245) s is up-to-date
  • (195/245) f is up-to-date
  • (196/245) elisp-refs is up-to-date
  • (197/245) loop is up-to-date
  • (198/245) cl-lib is up-to-date
  • (199/245) pkg-info is up-to-date
  • (200/245) epl is up-to-date
  • (201/245) shrink-path is up-to-date
  • (202/245) goto-chg is up-to-date
  • (203/245) powerline is up-to-date
  • (204/245) pfuture is up-to-date
  • (205/245) ht is up-to-date
  • (206/245) with-editor is up-to-date
  • (207/245) transient is up-to-date
  • (208/245) font-utils is up-to-date
  • (209/245) persistent-soft is up-to-date
  • (210/245) pcache is up-to-date
  • (211/245) list-utils is up-to-date
  • (212/245) ucs-utils is up-to-date
  • (213/245) git-gutter is up-to-date
  • (214/245) fringe-helper is up-to-date
  • (215/245) embrace is up-to-date
  • (216/245) expand-region is up-to-date
  • (217/245) annalist is up-to-date
  • (218/245) vimish-fold is up-to-date
  • (219/245) iedit is up-to-date
  • (220/245) load-relative is up-to-date
  • (221/245) loc-changes is up-to-date
  • (222/245) test-simple is up-to-date
  • (223/245) spinner is up-to-date
  • (224/245) tree-mode is up-to-date
  • (225/245) bui is up-to-date
  • (226/245) let-alist is up-to-date
  • (227/245) seq is up-to-date
  • (228/245) popup is up-to-date
  • (229/245) closql is up-to-date
  • (230/245) emacsql-sqlite is up-to-date
  • (231/245) ghub is up-to-date
  • (232/245) treepy is up-to-date
  • (233/245) magit-popup is up-to-date
  • (234/245) tablist is up-to-date
  • (235/245) json-reformat is up-to-date
  • (236/245) json-snatcher is up-to-date
  • (237/245) reformatter is up-to-date
  • (238/245) multiple-cursors is up-to-date
  • (239/245) simple-httpd is up-to-date
  • (240/245) alert is up-to-date
  • (241/245) gntp is up-to-date
  • (242/245) log4e is up-to-date
  • (243/245) pythonic is up-to-date
  • (244/245) shut-up is up-to-date
  • (245/245) web-completion-data is up-to-date

    (Re)building packages...
    β†’ Building dired-rsync...
    β†’ Building dired-rsync β†’ Building s...
    β†’ Building dired-rsync β†’ Building dash...

    β†’ Building dired-rsync...
    β†’ Building lsp-mode...
    β†’ Building lsp-mode β†’ Building dash-functional...
    β†’ Building lsp-mode β†’ Building f...
    β†’ Building lsp-mode β†’ Building ht...
    β†’ Building lsp-mode β†’ Building spinner...
    β†’ Building lsp-mode β†’ Building markdown-mode...
    β†’ Building lsp-mode β†’ Building markdown-mode β†’ Building cl-lib...

    β†’ Building lsp-mode β†’ Building markdown-mode...
    β†’ Building lsp-mode...
    β†’ Building magit...
    β†’ Building magit β†’ Building async...
    β†’ Building magit β†’ Building git-commit...
    β†’ Building magit β†’ Building git-commit β†’ Building with-editor...

    β†’ Building magit β†’ Building git-commit...
    β†’ Building magit β†’ Building transient...

    β†’ Building magit...
    β†’ Building evil-org...
    β†’ Building evil-org β†’ Building evil...
    β†’ Building evil-org β†’ Building evil β†’ Building undo-tree...
    β†’ Building evil-org β†’ Building evil β†’ Building goto-chg...

    β†’ Building evil-org β†’ Building evil...
    β†’ Building evil-org...
    βœ“ Rebuilt 19 package(s)
    βœ“ Updated 4 package(s)

    Checking package autoloads file
    βœ“ Deleted old autoloads.pkg.el
    Regenerating package autoloads file
    βœ“ Cached package state
    βœ“ Package autoloads included
    βœ“ Expanded module autoload paths
    βœ“ Removed load-path/auto-mode-alist entries
    Byte-compiling ~/.emacs.d/.local/autoloads.pkg.el...
    βœ“ Compiled ~/.emacs.d/.local/autoloads.pkg.el

βœ“ Finished! (97.4337s)

I believe evil-org has been deprecated by evil-org-mode, but for some reason I'm not pulling it in.

I have a .local/straight/build/evil-org, but not an .../evil-org-mode; maybe I'm looking in the wrong place?

The repo lives in .local/straight/repos/evil-org-mode (named after the repo), and the build lives in .local/straight/build/evil-org (the name of the package). To ensure it is properly installed, try cycling the :lang org module (i.e. comment it out in ~/.doom.d/init.el, run doom refresh -f && doom purge, uncomment it, then doom refresh -f again).

Commented the lines and ran doom refresh -f && doom purge, then restarted and ran the second doom refresh after uncommenting. Seemed to delete and acquire well:


> Checking core autoloads file
  βœ“ Deleted old autoloads.el
  > Regenerating core autoloads file
    βœ“ Scanned 92 file(s)
    βœ“ Generated new autoloads.el
    βœ“ Expanded module autoload paths
    βœ“ Generated autodefs
    βœ“ Cleaned up autoloads
  > Byte-compiling .local/autoloads.el...
    βœ“ Compiled .local/autoloads.el
> Installing & building packages...
  β†’ Cloning org (for org-plus-contrib)...
  β†’ Building org-plus-contrib...
  β†’ Cloning emacs-htmlize...
  β†’ Building htmlize...
  β†’ Cloning org-bullets...
  β†’ Building org-bullets...
  β†’ Cloning org-fancy-priorities...
  β†’ Building org-fancy-priorities...
  β†’ Cloning org-yt...
  β†’ Building org-yt...
  β†’ Cloning ox-clip...
  β†’ Building ox-clip...
  β†’ Building ox-clip β†’ Building org...

  β†’ Building ox-clip...
  β†’ Cloning toc-org...
  β†’ Building toc-org...
  β†’ Cloning evil-org-mode (for evil-org)...
  β†’ Building evil-org...
  β†’ Cloning org-pdfview...
  β†’ Building org-pdfview...
  β†’ Cloning orgit...
  β†’ Building orgit...
  β†’ Cloning ob-async...
  β†’ Building ob-async...
  β†’ Cloning org-download...
  β†’ Building org-download...
  β†’ Cloning ob-ipython...
  β†’ Building ob-ipython...
  β†’ Cloning ox-pandoc...
  β†’ Building ox-pandoc...
  β†’ Cloning org-pomodoro...
  β†’ Building org-pomodoro...
  β†’ Building org-pomodoro β†’ Cloning alert...
  β†’ Building org-pomodoro β†’ Building alert...
  β†’ Building org-pomodoro β†’ Building alert β†’ Cloning gntp.el...
  β†’ Building org-pomodoro β†’ Building alert β†’ Building gntp...
  β†’ Building org-pomodoro β†’ Building alert β†’ Cloning log4e...
  β†’ Building org-pomodoro β†’ Building alert β†’ Building log4e...

  β†’ Building org-pomodoro β†’ Building alert...
  β†’ Building org-pomodoro...
  β†’ Cloning centered-window-mode (for centered-window)...
  β†’ Building centered-window...
  β†’ Cloning org-tree-slide...
  β†’ Building org-tree-slide...
  β†’ Cloning org-re-reveal...
  β†’ Building org-re-reveal...
  βœ“ Installed & built 14 packages
> (Re)building packages...
  βœ“ No packages need rebuilding
> Searching for orphaned packages to purge (for the emperor)...
  - No builds to purge
  - Skipping elpa packages
  - Skipping repos
  - Skipping regrafting
> Checking package autoloads file
  βœ“ Deleted old autoloads.pkg.el
  > Regenerating package autoloads file
    βœ“ Cached package state
    βœ“ Package autoloads included
    βœ“ Expanded module autoload paths
    βœ“ Removed load-path/auto-mode-alist entries
  > Byte-compiling .emacs.d/.local/autoloads.pkg.el...
    βœ“ Compiled .emacs.d/.local/autoloads.pkg.el
- Recompiling stale elc files...
  βœ“ Recompiled 0/0 file(s) (187 ignored)

βœ“ Finished! (43.1452s)

Still no dice in the editor though, for example when using dd on a line:

Doom loaded 259 packages across 55 modules in 1.436s
Loading /Users/v/.emacs.d/.local/cache/recentf...done
Quit [2 times]
Starting new Ispell process aspell with default dictionary...
evil-motion-range: Wrong type argument: symbolp, (keymap (keymap (82 . evil-org-a-subtree) (114 . evil-org-a-greater-element) (69 . evil-org-an-element) (101 . evil-org-an-object)) (keymap (120 . evil-outer-xml-attr) (107 . evil-indent-plus-a-indent-up) (106 . evil-indent-plus-a-indent-up-down) (105 . evil-indent-plus-a-indent) (103 . +evil:whole-buffer-txtobj) (102 . +evil:defun-txtobj) (99 . evilnc-outer-commenter) (97 . evil-outer-arg) (111 . evil-a-symbol) ...))

Or yy:

evil-motion-range: Wrong type argument: symbolp, (keymap (keymap (82 . evil-org-a-subtree) (114 . evil-org-a-greater-element) (69 . evil-org-an-element) (101 . evil-org-an-object)) (keymap (120 . evil-outer-xml-attr) (107 . evil-indent-plus-a-indent-up) (106 . evil-indent-plus-a-indent-up-down) (105 . evil-indent-plus-a-indent) (103 . +evil:whole-buffer-txtobj) (102 . +evil:defun-txtobj) (99 . evilnc-outer-commenter) (97 . evil-outer-arg) (111 . evil-a-symbol) ...))

The git log at that ouput is at:

~/.emacs.d/.local/straight/repos/evil-org-mode master
$  git log                                                                                 
commit 3949bc5aa2bb2fec3dbaaf6ca4b05321bdda7a01 (grafted, HEAD -> master, origin/master, origin/HEAD)
Author: Henrik Lissner <[email protected]>
Date:   Fri Nov 1 15:09:10 2019 -0400

    Fix hlissner/doom-emacs#2002

Sorry, I'm stumped. I cannot reproduce this on Emacs 26.1 or 26.3 (with the latest version of Doom and evil-org). I'll test it on 27 later.

Can you produce it with your private config disabled? (see Doom's sandbox)

Perhaps try rebuilding your packages with doom build

I appreciate it, but still panicking after a doom build:


$ doom build

(Re)building all packages...
β†’ Building straight...
β†’ Building use-package...
β†’ Building bind-key...
β†’ Building async...
β†’ Building dotenv-mode...
β†’ Building auto-minor-mode...
β†’ Building all-the-icons...
β†’ Building all-the-icons β†’ Building memoize...

β†’ Building all-the-icons...
β†’ Building hide-mode-line...
β†’ Building highlight-numbers...
β†’ Building highlight-numbers β†’ Building parent-mode...

β†’ Building highlight-numbers...
β†’ Building rainbow-delimiters...
β†’ Building restart-emacs...
β†’ Building better-jumper...
β†’ Building dtrt-indent...
β†’ Building helpful...
β†’ Building helpful β†’ Building dash...
β†’ Building helpful β†’ Building dash-functional...
β†’ Building helpful β†’ Building s...
β†’ Building helpful β†’ Building f...
β†’ Building helpful β†’ Building elisp-refs...
β†’ Building helpful β†’ Building elisp-refs β†’ Building loop...

β†’ Building helpful β†’ Building elisp-refs...
β†’ Building helpful...
β†’ Building pcre2el...
β†’ Building smartparens...
β†’ Building so-long...
β†’ Building undo-tree...
β†’ Building ws-butler...
β†’ Building xclip...
β†’ Building projectile...
β†’ Building projectile β†’ Building pkg-info...
β†’ Building projectile β†’ Building pkg-info β†’ Building epl...

β†’ Building projectile β†’ Building pkg-info...
β†’ Building projectile...
β†’ Building general...
β†’ Building which-key...
β†’ Building company...
β†’ Building company-dict...
β†’ Building company-prescient...
β†’ Building company-prescient β†’ Building prescient...

β†’ Building company-prescient...
β†’ Building amx...
β†’ Building ivy...
β†’ Building counsel...
β†’ Building counsel β†’ Building swiper...

β†’ Building counsel...
β†’ Building counsel-projectile...
β†’ Building ivy-hydra...
β†’ Building ivy-hydra β†’ Building hydra...
β†’ Building ivy-hydra β†’ Building hydra β†’ Building lv...

β†’ Building ivy-hydra β†’ Building hydra...
β†’ Building ivy-hydra...
β†’ Building ivy-rich...
β†’ Building wgrep...
β†’ Building doom-themes...
β†’ Building solaire-mode...
β†’ Building hl-todo...
β†’ Building doom-modeline...
β†’ Building doom-modeline β†’ Building shrink-path...

β†’ Building doom-modeline...
β†’ Building anzu...
β†’ Building evil-anzu...
β†’ Building evil-anzu β†’ Building evil...
β†’ Building evil-anzu β†’ Building evil β†’ Building goto-chg...

β†’ Building evil-anzu β†’ Building evil...
β†’ Building evil-anzu...
β†’ Building nav-flash...
β†’ Building evil-goggles...
β†’ Building centaur-tabs...
β†’ Building centaur-tabs β†’ Building powerline...

β†’ Building centaur-tabs...
β†’ Building treemacs...
β†’ Building treemacs β†’ Building ace-window...
β†’ Building treemacs β†’ Building ace-window β†’ Building avy...

β†’ Building treemacs β†’ Building ace-window...
β†’ Building treemacs β†’ Building pfuture...
β†’ Building treemacs β†’ Building ht...

β†’ Building treemacs...
β†’ Building treemacs-evil...
β†’ Building treemacs-projectile...
β†’ Building treemacs-magit...
β†’ Building treemacs-magit β†’ Building magit...
β†’ Building treemacs-magit β†’ Building magit β†’ Building git-commit...
β†’ Building treemacs-magit β†’ Building magit β†’ Building git-commit β†’ Building with-editor...

β†’ Building treemacs-magit β†’ Building magit β†’ Building git-commit...
β†’ Building treemacs-magit β†’ Building magit β†’ Building transient...

β†’ Building treemacs-magit β†’ Building magit...
β†’ Building treemacs-magit...
β†’ Building unicode-fonts...
β†’ Building unicode-fonts β†’ Building font-utils...
β†’ Building unicode-fonts β†’ Building font-utils β†’ Building persistent-soft...
β†’ Building unicode-fonts β†’ Building font-utils β†’ Building persistent-soft β†’ Building pcache...
β†’ Building unicode-fonts β†’ Building font-utils β†’ Building persistent-soft β†’ Building list-utils...

β†’ Building unicode-fonts β†’ Building font-utils β†’ Building persistent-soft...
β†’ Building unicode-fonts β†’ Building font-utils...
β†’ Building unicode-fonts β†’ Building ucs-utils...

β†’ Building unicode-fonts...
β†’ Building git-gutter-fringe...
β†’ Building git-gutter-fringe β†’ Building git-gutter...
β†’ Building git-gutter-fringe β†’ Building fringe-helper...

β†’ Building git-gutter-fringe...
β†’ Building vi-tilde-fringe...
β†’ Building persp-mode...
β†’ Building evil-args...
β†’ Building evil-easymotion...
β†’ Building evil-embrace...
β†’ Building evil-embrace β†’ Building embrace...
β†’ Building evil-embrace β†’ Building embrace β†’ Building expand-region...

β†’ Building evil-embrace β†’ Building embrace...
β†’ Building evil-embrace β†’ Building evil-surround...

β†’ Building evil-embrace...
β†’ Building evil-escape...
β†’ Building evil-exchange...
β†’ Building evil-indent-plus...
β†’ Building evil-nerd-commenter...
β†’ Building evil-numbers...
β†’ Building evil-snipe...
β†’ Building evil-textobj-anyblock...
β†’ Building evil-traces...
β†’ Building evil-visualstar...
β†’ Building exato...
β†’ Building evil-collection...
β†’ Building evil-collection β†’ Building annalist...

β†’ Building evil-collection...
Loading /Users/v/.emacs.d/.local/straight/build/realgud/realgud/common/custom...
β†’ Building yasnippet...
β†’ Building evil-vimish-fold...
β†’ Building evil-vimish-fold β†’ Building vimish-fold...

β†’ Building evil-vimish-fold...
β†’ Building format-all...
β†’ Building evil-multiedit...
β†’ Building evil-multiedit β†’ Building iedit...

β†’ Building evil-multiedit...
β†’ Building evil-mc...
β†’ Building objed...
β†’ Building parinfer...
β†’ Building rotate-text...
β†’ Building auto-yasnippet...
β†’ Building doom-snippets...
β†’ Building adaptive-wrap...
β†’ Building diredfl...
β†’ Building diff-hl...
β†’ Building dired-rsync...
β†’ Building fd-dired...
β†’ Building ibuffer-projectile...
β†’ Building ibuffer-vc...
β†’ Building git-link...
β†’ Building git-timemachine...
β†’ Building gitconfig-mode...
β†’ Building gitignore-mode...
β†’ Building realgud...
β†’ Building realgud β†’ Building load-relative...
β†’ Building realgud β†’ Building loc-changes...
β†’ Building realgud β†’ Building test-simple...

β†’ Building realgud...
β†’ Building realgud-trepan-ni...
β†’ Building dap-mode...
β†’ Building dap-mode β†’ Building lsp-mode...
β†’ Building dap-mode β†’ Building lsp-mode β†’ Building spinner...
β†’ Building dap-mode β†’ Building lsp-mode β†’ Building markdown-mode...

β†’ Building dap-mode β†’ Building lsp-mode...
β†’ Building dap-mode β†’ Building tree-mode...
β†’ Building dap-mode β†’ Building bui...

β†’ Building dap-mode...
β†’ Building editorconfig...
β†’ Building quickrun...
β†’ Building eros...
β†’ Building flycheck...
β†’ Building flycheck β†’ Building let-alist...

β†’ Building flycheck...
β†’ Building flycheck-popup-tip...
β†’ Building flycheck-popup-tip β†’ Building popup...

β†’ Building flycheck-popup-tip...
β†’ Building flyspell-correct...
β†’ Building flyspell-correct-ivy...
β†’ Building dumb-jump...
β†’ Building ivy-xref...
β†’ Building dash-docs...
β†’ Building counsel-dash...
β†’ Building lsp-ui...
β†’ Building company-lsp...
β†’ Building forge...
β†’ Building forge β†’ Building closql...
β†’ Building forge β†’ Building closql β†’ Building emacsql-sqlite...
β†’ Building forge β†’ Building closql β†’ Building emacsql-sqlite β†’ Building emacsql...

β†’ Building forge β†’ Building closql β†’ Building emacsql-sqlite...
β†’ Building forge β†’ Building closql...
β†’ Building forge β†’ Building ghub...
β†’ Building forge β†’ Building ghub β†’ Building treepy...

β†’ Building forge β†’ Building ghub...
β†’ Building forge...
β†’ Building magit-gitflow...
β†’ Building magit-gitflow β†’ Building magit-popup...

β†’ Building magit-gitflow...
β†’ Building magit-todos...
β†’ Building evil-magit...
β†’ Building makefile-executor...
β†’ Building pdf-tools...
β†’ Building pdf-tools β†’ Building tablist...

β†’ Building pdf-tools...
β†’ Building prodigy...
β†’ Building graphql-mode...
β†’ Building json-mode...
β†’ Building json-mode β†’ Building json-reformat...
β†’ Building json-mode β†’ Building json-snatcher...

β†’ Building json-mode...
β†’ Building jsonnet-mode...
β†’ Building yaml-mode...
β†’ Building csv-mode...
β†’ Building dhall-mode...
β†’ Building dhall-mode β†’ Building reformatter...

β†’ Building dhall-mode...
β†’ Building protobuf-mode...
β†’ Building highlight-quoted...
β†’ Building macrostep...
β†’ Building overseer...
β†’ Building elisp-def...
β†’ Building elisp-demos...
β†’ Building flycheck-cask...
β†’ Building buttercup...
β†’ Building coffee-mode...
β†’ Building js2-mode...
β†’ Building rjsx-mode...
β†’ Building typescript-mode...
β†’ Building eslintd-fix...
β†’ Building js2-refactor...
β†’ Building js2-refactor β†’ Building multiple-cursors...

β†’ Building js2-refactor...
β†’ Building npm-mode...
β†’ Building nodejs-repl...
β†’ Building skewer-mode...
β†’ Building skewer-mode β†’ Building simple-httpd...

β†’ Building skewer-mode...
β†’ Building tide...
β†’ Building xref-js2...
β†’ Building markdown-toc...
β†’ Building edit-indirect...
β†’ Building evil-markdown...
β†’ Building org-plus-contrib...
β†’ Building htmlize...
β†’ Building org-bullets...
β†’ Building org-fancy-priorities...
β†’ Building org-yt...
β†’ Building ox-clip...
β†’ Building ox-clip β†’ Building org...

β†’ Building ox-clip...
β†’ Building toc-org...
β†’ Building evil-org...
β†’ Building org-pdfview...
β†’ Building orgit...
β†’ Building ob-async...
β†’ Building org-download...
β†’ Building ob-ipython...
β†’ Building ox-pandoc...
β†’ Building org-pomodoro...
β†’ Building org-pomodoro β†’ Building alert...
β†’ Building org-pomodoro β†’ Building alert β†’ Building gntp...
β†’ Building org-pomodoro β†’ Building alert β†’ Building log4e...

β†’ Building org-pomodoro β†’ Building alert...
β†’ Building org-pomodoro...
β†’ Building centered-window...
β†’ Building org-tree-slide...
β†’ Building org-re-reveal...
β†’ Building pip-requirements...
β†’ Building lsp-python-ms...
β†’ Building anaconda-mode...
β†’ Building anaconda-mode β†’ Building pythonic...

β†’ Building anaconda-mode...
β†’ Building company-anaconda...
β†’ Building pipenv...
β†’ Building pipenv β†’ Building pyvenv...

β†’ Building pipenv...
β†’ Building nose...
β†’ Building python-pytest...
β†’ Building pyimport...
β†’ Building pyimport β†’ Building shut-up...

β†’ Building pyimport...
β†’ Building pyimpsort...
β†’ Building enh-ruby-mode...
β†’ Building yard-mode...
β†’ Building inf-ruby...
β†’ Building company-inf-ruby...
β†’ Building rubocop...
β†’ Building robe...
β†’ Building bundler...
β†’ Building rake...
β†’ Building rspec-mode...
β†’ Building minitest...
β†’ Building company-shell...
β†’ Building emmet-mode...
β†’ Building haml-mode...
β†’ Building pug-mode...
β†’ Building slim-mode...
β†’ Building web-mode...
β†’ Building company-web...
β†’ Building company-web β†’ Building web-completion-data...

β†’ Building company-web...
β†’ Building sass-mode...
β†’ Building stylus-mode...
β†’ Building sws-mode...
β†’ Building rainbow-mode...
β†’ Building counsel-css...
β†’ Building ace-link...
β†’ Building drag-stuff...
βœ“ Rebuilt 197 package(s)

Checking package autoloads file
βœ“ Deleted old autoloads.pkg.el
Regenerating package autoloads file
βœ“ Cached package state
βœ“ Package autoloads included
βœ“ Expanded module autoload paths
βœ“ Removed load-path/auto-mode-alist entries
Byte-compiling .emacs.d/.local/autoloads.pkg.el...
βœ“ Compiled .emacs.d/.local/autoloads.pkg.el

βœ“ Finished! (150.6331s)

evil-motion-range: Wrong type argument: symbolp, (keymap (keymap (82 . evil-org-a-subtree) (114 . evil-org-a-greater-element) (69 . evil-org-an-element) (101 . evil-org-an-object)) (keymap (120 . evil-outer-xml-attr) (107 . evil-indent-plus-a-indent-up) (106 . evil-indent-plus-a-indent-up-down) (105 . evil-indent-plus-a-indent) (103 . +evil:whole-buffer-txtobj) (102 . +evil:defun-txtobj) (99 . evilnc-outer-commenter) (97 . evil-outer-arg) (111 . evil-a-symbol) ...))

EDIT:

The vim bindings started breaking in other modes too, which leads to believe this has nothing to do with Org Mode. My bad.

In response I decided to completely delete ~/.emacs.d & install a fresh Emacs 26.3 from brew (specifically, brew install emacs-plus) and things appear to be running just fine now after a doom refresh && doom compile :core:

$  doom doctor 
The doctor will see you now...

> Checking your Emacs version...
> Checking for Emacs config conflicts...
> Checking for private config conflicts...
> Checking for stale elc files...
> Checking Doom Emacs...
  βœ“ Initialized Doom Emacs 2.0.9
  βœ“ Detected 45 modules
  βœ“ Detected 158 packages
  > Checking Doom core for irregularities...
    Found font material-design-icons.ttf
    Found font weathericons.ttf
    Found font octicons.ttf
    Found font fontawesome.ttf
    Found font file-icons.ttf
    Found font all-the-icons.ttf
  > Checking for stale elc files in your DOOMDIR...
  > Checking your enabled modules...


Everything seems fine, happy Emacs'ing!

βœ“ Finished! (3.7599s)

On voidlinux, overwriting the third character at https://github.com/integral-dw/org-superstar-mode/blob/master/org-superstar.el#L87 in config.el worked for me. The default character doesn't display in my browser either so it must be a font thing. The fourth also does the same thing now.

(defcustom org-superstar-headline-bullets-list
        '(
        "β—‰"
        "β—‹"
        "β€’"
        "✿"
        )
          "List of bullets used in Org headings.
It can contain any number of bullets, the Nth entry usually
corresponding to the bullet used for level N.  The way this list
is cycled through can use fine-tuned by customizing
β€˜org-superstar-cycle-headline-bullets’.
You should call β€˜org-superstar-restart’ after changing this
variable for your changes to take effect."
        :group 'org-superstar
        :type '(repeat (string :tag "Bullet character")))

This could be fixed by just defining custom bullet characters

As of 68136f7ff, I've gated org-superstar behind the +pretty flag for the :lang org module. While this isn't a real fix, it makes a potentially unstable feature opt-in. Since it appears to be a font problem (and/or with how Emacs renders unicode) there isn't much else Doom can do about it, so I'll consider this resolved.

Thanks for bringing it to my attention!

Was this page helpful?
0 / 5 - 0 ratings