-
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
eval-after-load: Symbol’s value as variable is void: org-brain-poly-hostmode #352
Comments
Hi! It looks like there's something problematic with the way
and then in the
That works for me. Perhaps I need to update the README. |
I too am now getting this issue, was there a recent update?
The first of those errors is in relation to me trying to visualize an entry from Edit: Hmmm, it seems that there may be a deeper issue, as now P.S. I am a Doom user |
I'm going to have to look at this more. There's a lot to the README that I have to figure out. In the meantime:
|
@nanjigen No, I don't think there's a recent update causing this. Seems to be something with your config if org files aren't opened in @DSMasterson The only function that changes |
Curiousity question: I see the LICENSE.org, README.org, and org-brain.el files in Github -- how do you package this for upload to MELPA? I thought there would be some sort of Makefile for that process. |
I don't know how MELPA works, but when you upload to MELPA you only include a very small file containing information about the repo. Most information in the package manager is taken from the package description header in the main |
Interesting, Thanks. |
I keep circling around this issue, first I will get this
Then, if I go to the polymode section in
Then, moving around a visualise buffer causes a stream of display errors:
|
I'm also facing this under NixOS and Nixpkgs/Darwin (without It's weird, but I tried installing I deduced the version in melpa was lagging behind, but after diffing the checked out file and the Melpa version, the only difference is a I must be lacking some sleep or something, because I can't think of any possible explanation. |
Hello, Any ideas how to solve it? Regards |
I'm having a similar issue (on Windows); .org files open in org-mode (as they should) but org-brain gives this error in the use-package declaration and when trying to use any of its commands. Based on the discussions in #320 I tried putting a no-compile setting: This fixed the initial problem and allows me to open org-brain-visualize, but causes a different issue when trying to move between nodes in org-brain (by using RET or by mouse-1). P.S.: Here's the error I'm getting after putting the above "no-byte-compile" warning on org-brain.el and then trying to move between entries in org-brain-visualize. Adding the warning to both org-brain.el and org-brain-autoloads.el didn't get rid of this either, so I'm not sure why it's popping up:
It seems the issue has to do with the byte-compiler's treatment of the code, though I don't know enough about it to find an exact solution. |
Adding a |
I've had this problem too, when I did use straight.el without use-package. But it works for me in combination with use-package. I presume the minimal working example is:
|
I'm not sure if this would help (since I'm not having these issues) but perhaps someone could try: In org-brain.el there's a line |
I've added the following to my (non-Evil) Gnu Emacs 27.1 .emacs, but get the above error when I hit "C-c b" -- what's wrong?
(use-package org-brain
:after org polymode
:bind ("C-c b" . org-brain-visualize-mode)
:init
(setq org-brain-path org-directory)
;; For Evil users
(with-eval-after-load 'evil
(evil-set-initial-state 'org-brain-visualize-mode 'emacs))
:config
(add-hook 'before-save-hook #'org-brain-ensure-ids-in-buffer)
(push '("b" "Brain" plain (function org-brain-goto-end)
"* %i%?" :empty-lines 1)
org-capture-templates)
(setq org-brain-visualize-default-choices 'all)
(setq org-brain-title-max-length 12)
(setq org-brain-include-file-entries nil
org-brain-file-entries-use-title nil)
)
(use-package polymode
:config
(add-hook 'org-brain-visualize-mode-hook #'org-brain-polymode)
)
The text was updated successfully, but these errors were encountered: