-
Notifications
You must be signed in to change notification settings - Fork 21
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
neuron-mode fails to initialize #58
Comments
Normally |
How do I generate a backtrace? |
Running |
I get this error:
|
That is odd. I'm almost certain that the compiled function that gives the error is (defun neuron--rebuild-cache ()
"Rebuild the zettel cache with the current zettelkasten."
(let ((zettels (neuron--query-url-command "z:zettels"))
(assoc-id (lambda (zettel) (cons (intern (map-elt zettel 'zettelID)) zettel))))
(setq neuron--zettel-cache (mapcar assoc-id zettels)))) But this would mean that What is the value of |
neuron-default-zettelkasten-directory’s value is "/home/simons/zettelkasten", which is where the zettelkasten lives. I used to have it at
Yes, I do:
|
Do you have any idea what might be causing this issue? |
Sorry for the late response, unfortunately I wasn't able to reproduce the bug. |
I usually install these Emacs modes via Nix, which means that I get whatever version of these that Nixpkgs currently contains. Nix snapshots ELPA and other repositories every couple of weeks, so it's possible that these versions are not completely up-to-date. Anyhow, the errors I experience come from the Nix-based installation. So I tried something else and installed So it's safe to say that this issue is not caused by a bug in neuron-mode itself. Rather, it's some kind of incompatibility between neuron-mode and some older version of some other library that it uses. |
Interesting, how does it work? I think you can also do declarative builds directly in emacs using something like straight (doom emacs configs are more or less declarative for example, it is based on straight). The only issue is that you can't install external software this way. I'll leave the issue open in case someone finds a fix |
I load some zettel from zettelkasten directory into Emacs and it's recognized as
markdown-mode
-- notneuron-mode
. So I runM-x neuron-mode
manually, but all I get is the error message:I'm using GNU Emacs 26.3. Is that a known problem?
The text was updated successfully, but these errors were encountered: