EFLS / zetteldeft

A Zettelkasten system! Or rather, some functions on top of the emacs deft package.
https://efls.github.io/zetteldeft
GNU General Public License v3.0
394 stars 42 forks source link

Feature request: Integer Note ID's #100

Open justinmoon opened 3 years ago

justinmoon commented 3 years ago

I would like my first note would be 1.org, second note would be 2.org and so on.

Perhaps zetteldeft-custom-id-function could achieve this, but I don't know enough lisp to accomplish it myself. Any tips?

EFLS commented 3 years ago

That should work indeed. I don't have time right now to write such a function though (and limited elisp knowledge as well), but perhaps you could write a function that prompts for a number? That would allow for manual note ID's. There is a built in check to ensure the generated ID is unique, so that would help preventing conflicts.

If you do go the route of a simple number, make sure to adjust the value of zetteldeft-id-regex as well (to something like "[0-9]+").