Skip to content
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 v2 query #73

Closed
srid opened this issue Jan 30, 2021 · 3 comments
Closed

neuron v2 query #73

srid opened this issue Jan 30, 2021 · 3 comments

Comments

@srid
Copy link
Contributor

srid commented Jan 30, 2021

After the plugin architectural refactor in neuron v2, the query interface has radically changed.

I've just added neuron query --zettels and neuron query --tags that should be helpful for editor support. You might want to make neuron-mode.el use that. /cc @azazel75

Change: srid/neuron#547

Docs: https://neuron.zettel.page/query.html (do a full browser refresh if you see the old docs)

@felko
Copy link
Owner

felko commented Jan 31, 2021

Should work in f256069, but I removed the feature that displayed the number of zettels associated with each tag when showing prompts for selecting tags, for now.
I had to work with the internal representation of plugin data though, so it might break later if the PluginData field changes format.

@felko felko closed this as completed Jan 31, 2021
@srid
Copy link
Contributor Author

srid commented Jan 31, 2021

What are you using PluginData (which is really internal data for plugins) for? Shouldn't neuron query --tags and neuron query --tag=foo be sufficient?

@felko
Copy link
Owner

felko commented Jan 31, 2021

I need PluginData for the Tags plugin when I display the list of tags next to each zettel
image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants