Zettelkasten/Emacs - General

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

Joel McCracken

@James King Do you use a solution for accessing your org notes on your phone, etc? I hve always found org mobile to be horrible

Joel McCracken

The way I do it today is via a private git repo hosted on gitlab

Joel McCracken

its... not the best solution

Sam Stites

Hey all -- I'm starting to use emacs more (because of Lean support) but am a total noob. I'm wondering if preview-latex works directly in emacs and if there's a way to render latex from a markdown file in emacs (for zettles)

Joel McCracken

Independently, I ran across this: https://github.com/200ok-ch/organice which is a fork of org-web

An implementation of Org mode without the dependency of Emacs - built for mobile and desktop browsers - 200ok-ch/organice
Solomon Bothwell

Wow! This looks so great

Sam Stites

Okay, solved: org-mode has latex preview in it -- I think org-roam seems to be a bit cleaner than zetteldeft. Also, check out the maintainer's website https://braindump.jethro.dev/ (autogenerated from zettles as well)

Joel McCracken

I haven't, though I use iOS

felko

Hello, if any emacs user want to use neuron, I made a small emacs mode for editing and browsing zettel notes along with managing the rib web application: https://github.com/felko/zettel-mode
if any advanced emacs user can tell me how to improve this that'd be cool, as it is my first emacs package and I don't really know how to handle dependencies

An emacs mode for editing Zettelkasten notes. Contribute to felko/zettel-mode development by creating an account on GitHub.
Sridhar Ratnakumar

@felko this is awesome. I recently switched from emacs to vim, but will play with your package soon ...

felko

thanks, any feedback is welcome
I still have to implement zquery links I think these will be quite useful

felko

I took the freedom of using a ZETTELPATH env variable i don't know if that's very smart, ultimately I'd like to have something like projectile so that zettelkastens don't need to be stored in the same place

Sridhar Ratnakumar

Zettelkastens can contain an optional configuration file called neuron.dhall, perhaps you can look for it and automatically treat a directory as a zettelkasten in emacs.

Sridhar Ratnakumar

Note that you can also open the generate .html file directly, without having to start a (rib) http server.

Sridhar Ratnakumar

In some zettelkastens, I run neuron ... rib watch (instead of serve), and then open the .html file directly in the browser.

Sridhar Ratnakumar

(Or you can run neuron ... rib generate to do one-off generation (after changing the zettels).

felko

Thanks for the tip about opening the HTML file directly, I might do that when no rib server is running.
About zquery URIs: do you plan on providing an interface to queries in the CLI? That would be useful because I don't really know how to implement it from emacs

Sridhar Ratnakumar

@felko That would be a good idea. Something like neuron ... query. Can you file an issue on Github?

felko

Done :check:
https://github.com/srid/neuron/issues/42

Add a neuron ... query command to the CLI, which would ease editor support. It would return a list of Zettel IDs that match the specified query. Example: neuron ... query --tag=science Maybe use th...