Comments (9)
Hello!
Did you manage to integrate this configuration inside your .doom.d directory? It's very close from my actual neuron-mode configuration, so it should be usable as is. If you have trouble to figure out where to put those files, here's a more visual explanation that I hope will help you:
+- .doom.d
|--+ modules/tools/neuron (files from the gist)
| |-- packages.el
| |-- config.el
|
|-- init.el
| (doom!
| ...
| :tools
| neuron
| ...
|
|-- other files
Then run doom sync
(which you can do from emacs with the SPC h r r
command). If those files were already set up in this way in your doom-emacs configuration, then your question is probably not that noob. In that case, I'd need to know in more detail what you mean by not being able to make it work on your doom emacs installation. Do you see any kind of error?
from neuron-mode.
Yes, I integrated neuron-mode into my doom configuration. I get this error: Wrong type argument: sequencep, neuron.
Thank you very much.
from neuron-mode.
I really, really don't know how, but after compiling my packages this problem was solved. Thank you for answering my question. I finaklly get to use your package and it seem I wasn't wrong: thys software is amazing.
from neuron-mode.
Thanks!
Please reopen this issue if the problem reappears
from neuron-mode.
@felko Is it the intended behavior that the user should manually enable neuron-mode
on every single zettle file opened, or is my config broken? I already used doom, so I just copied the config code into my private init files, and everything works except this problem of auto-activating neuron-mode for files under the zettle directory.
from neuron-mode.
@NightMachinary commented on Jul 29, 2020, 11:37 AM GMT+4:30:
@felko Is it the intended behavior that the user should manually enable
neuron-mode
on every single zettle file opened, or is my config broken? I already used doom, so I just copied the config code into my private init files, and everything works except this problem of auto-activating neuron-mode for files under the zettle directory.
After reading the sourcecode, I have learnt that this is because a neuron.dhall
file is being used to detect if the directory is for zettlecasten. Before learning this, I added my own function:
(defun night/neuron-activator ()
(interactive)
(let ((dir (file-name-directory buffer-file-name)))
(print "hi")
(print (getenv "ZETTLE_DIR"))
(print dir)
(when (and (eq major-mode 'markdown-mode) (string-prefix-p (getenv "ZETTLE_DIR") dir))
(neuron-mode)
)
)
)
(add-hook 'markdown-mode-hook #'night/neuron-activator)
from neuron-mode.
After reading the sourcecode, I have learnt that this is because a neuron.dhall file is being used to detect if the directory is for zettlecasten
Yeah, having a neuron.dhall isn't mandatory in neuron zettelkastens, but is necessary when dealing with multiple zettelkastens in neuron-mode.
FYI this was explained in the README, but maybe the README goes a little bit too exhaustively through the features, tell me what you think. Should I shorten the README and go over the details in the wiki?
from neuron-mode.
After reading the sourcecode, I have learnt that this is because a neuron.dhall file is being used to detect if the directory is for zettlecasten
Yeah, having a neuron.dhall isn't mandatory in neuron zettelkastens, but is necessary when dealing with multiple zettelkastens in neuron-mode.
FYI this was explained in the README, but maybe the README goes a little bit too exhaustively through the features, tell me what you think. Should I shorten the README and go over the details in the wiki?
@felko I think itβs a good idea to explicitly mention that neuron.dhall is what activates neuron-mode on md files.
from neuron-mode.
Got it: 9300262
Thanks
from neuron-mode.
Related Issues (20)
- Non blocking cache regeneration is very slow HOT 3
- The function `neuron-toggle-connection-type` fails HOT 1
- can't run `neuron-new-zettel` in dired-mode HOT 3
- Feature request: Add ability to easily navigate between journal entries HOT 2
- Template zettels HOT 1
- Tag specific keymaps HOT 1
- neuron-mode fails to initialize HOT 10
- Cannot bind neuron-toggle-connection-type HOT 2
- Support wiki links HOT 7
- Another failure when initializing neuron mode HOT 3
- --id-hash and --id-date not supported anymore HOT 4
- Ignore log messages in output of 'neuron query' HOT 2
- 'neuron-add-tag' is unable to identify tags with latest version of neuron HOT 3
- Querying by --uri fails now? HOT 3
- neuron v2 query HOT 3
- neuron-insert-zettel-link inserts [[[nil]]] for link with non-ascii letters in filename HOT 8
- Canonical location of tags in `neuron query` (v2) HOT 1
- Release (or tag) for the last version that worked with Neuron 1.0 HOT 1
- Updates for latest (unreleased) Neuron version HOT 6
- --zettels is no longer a valid query flag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neuron-mode.