-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symbol’s value as variable is void: org-brain-poly-hostmode when ein:jupyter-server-start #384
Comments
@Kungsgeten I found a workaround. (with-eval-after-load 'polymode ;; instead of "polymode" After changes, |
@Kungsgeten I found out the root cause of Check this link: https://lists.gnu.org/archive/html/emacs-devel/2018-03/msg00559.html In #386, I removed (use-package org-brain :ensure t
:init
(setq org-brain-path "directory/path/where-i-want-org-brain")
;; For Evil users
(with-eval-after-load 'evil
(evil-set-initial-state 'org-brain-visualize-mode 'emacs))
:config
(bind-key "C-c b" 'org-brain-prefix-map org-mode-map)
;; ... omitted ...
)
;; This call `polymode` inside the package. so it doesn't need
;; to call `(use-package polymode)` explicitly.
;; If you want to load `polymode` explicitly, you can add
;; `:after polymode` inside the below clause and `(use-package polymode)`.
(use-package org-brain-polymode
:straight nil
:hook (org-brain-visualize-mode . org-brain-polymode))
;; If there is no helm, below code doesn't be evaluated.
(use-package org-brain-helm
:straight nil
:after helm)
;; If there is no ivy, below code doesn't be evaluated.
(use-package org-brain-ivy
:straight nil
:after ivy)
|
is this issue expected to be resolved?
|
Yes. Actually this issue need to be reopened. Because #385 which I made was a wrong PR. You need the PR #386
What do you get error? What is your emacs kit and emacs version? Did you apply the PR #386? You can use this snippet with #386 |
My emacs version is
|
Did you apply the PR #386? |
@FinnFrotscher I don't prefer vanilla configuration for now. My emacs version is also 30.0.50. I tested it with straight.el only and I confirmed it works. ~/.emacs ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Bootstraping
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defvar bootstrap-version)
(setq straight-repository-branch "develop")
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 6))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
(straight-use-package 'use-package)
(setq straight-use-package-by-default t)
(setq straight-vc-git-default-clone-depth 1)
(straight-use-package 'polymode)
(straight-use-package
'(org-brain :type git
:host github
:repo "hwiorn/org-brain"
:branch "split-to-each-packages"))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Org-brain
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(use-package org-brain
:ensure t
:init
(setq org-brain-path "~/org/brain")
;; For Evil users
(with-eval-after-load 'evil
(evil-set-initial-state 'org-brain-visualize-mode 'emacs))
:config
(bind-key "C-c b" 'org-brain-prefix-map org-mode-map)
;; ... omitted ...
)
;; This call `polymode` inside the package. so it doesn't need
;; to call `(use-package polymode)` explicitly.
;; If you want to load `polymode` explicitly, you can add
;; `:after polymode` inside the below clause and `(use-package polymode)`.
(use-package org-brain-polymode
:straight nil
:hook (org-brain-visualize-mode . org-brain-polymode))
;; If there is no helm, below code doesn't be evaluated.
(use-package org-brain-helm
:straight nil
:after helm)
;; If there is no ivy, below code doesn't be evaluated.
(use-package org-brain-ivy
:straight nil
:after ivy)
|
@FinnFrotscher |
@hwiorn well sort of. I implemented it just now and it works. but only when i run |
Hm, I tried to reinstall from scratch few times, But I can't reproduce the case on straight.el config. It seems to be personal config issue. Or it might be issue by |
ein uses poly-mode. But if org-brain is enabled, ein can't run server or notebook because of
Symbol’s value as variable is void: org-brain-poly-hostmode
Is there some workaround?
I've not met any
Symbol’s value as variable is void: org-brain-poly-hostmode
issue before when I use org-brain only.The text was updated successfully, but these errors were encountered: