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

Feature request: Integer Note ID's #100

Open
justinmoon opened this issue Jan 3, 2021 · 1 comment
Open

Feature request: Integer Note ID's #100

justinmoon opened this issue Jan 3, 2021 · 1 comment
Labels
discussion Discuss practices & share information

Comments

@justinmoon
Copy link

justinmoon commented Jan 3, 2021

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
Copy link
Owner

EFLS commented Jan 4, 2021

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]+").

@EFLS EFLS added the discussion Discuss practices & share information label Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Discuss practices & share information
Projects
None yet
Development

No branches or pull requests

2 participants