Giter Club home page Giter Club logo

org-zettelkasten's People

Contributors

l3kn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

org-zettelkasten's Issues

Make `org-zk-collections` defcustom

After loading the package, trying to do some things (like org-zk-new-file) results in an error:

Debugger entered--Lisp error: (void-variable org-zk-collections)
  org-zk-select-collection(#f(compiled-function (c) #<bytecode 0x46a71a9d>))
  org-zk-new-file()
  ...

M-x describe-variable has nothing to say about org-zk-collections

I prefer to use the customize interface rather than setq, and I think good variable descriptions are important for usability; both could be accomplished by using defcustom

Caching and stuff

Hi,

I just stumbled upon this repo. It looks really interesting, and I'm surprised I haven't seen it before. Have you been trying to keep it secret? =)

I see that you use org-ql and ts, which is cool!

I also see that you have made your own caching mechanism. I guess you know that org-ql has two kinds of caches already (actually 3, counting the tags cache, but I've yet to merge that with the node-value cache), so I would love to hear about why you implemented your own. I had the idea recently to factor out org-ql's cache into a separate library, and Nicolas Goaziou has also discussed the idea of having some kind of cache built-in to Org someday, so it would be great if a single implementation could meet all of our needs.

Also, I see that you have some kind of query language or system, and that you have a Xapian backend. One of the long-term ideas I've had for org-ql, since I was working on helm-org-rifle years ago, is to have an indexed backend for files that aren't already open in Emacs. I have a branch on the org-rifle repo that implements a PoC SQLite index for Org files based on John Kitchin's work, but I haven't worked on it in a long time. Ideally that would be a separate package that could provide an org-ql backend.

Anyway, it looks like you're doing some really interesting work here. If there are any shortcomings of org-ql that could be addressed to meet your needs better, please let me know. Maybe we could collaborate on some solutions that would help everyone.

BTW, a couple of quick tips or ideas from looking at a small bit of your code:

  • ;; TODO: There has to be a better way
    There isn't exactly an officially better way; several packages do things like this. It is Lisp, after all. But there are some packages that provide some solutions, e.g. pcache. There's another one I'm trying to think of--I think it was by Radon Rosborough, so I guess I'm thinking of https://github.com/raxod502/prescient.el (the package's primary purpose is not to provide that functionality, but he wrote some code to do it that he wasn't interested in factoring out into a library).
  • (org-mode)
    You might want to use delay-mode-hooks here.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.