-
Notifications
You must be signed in to change notification settings - Fork 3
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
[BUG] Issue handling notes with alphanumeric IDs #11
Comments
Thanks for the report, I think you are right that this was an oversight, and still stems from the time when I had "hardcoded" ids to be only numbers. I think that your proposed solution is correct, especially with the Let me know if you want me to make the change or if you want to submit this as a pull request. |
Btw, I'm glad if the package works for you otherwise and I'm happy to still work on it and implement new features or fix bugs, but I haven't really been adding any new features to it myself since I'm not actively using it myself any more. I just wanted to note that denote is also an excellent package that is newer and has similar goals to this package, just in case you hadn't come across it before. I do think that |
Thanks a lot for the support and for the alternative suggestion. I'll have a look at it. Though I'm happy with this package to be honest, it does just what I need. So I'm very thankful for your work on this. |
Great thanks, I've pushed that now and it should be on melpa soon. Let me know if that works for you. |
I've got an issue with the following line of code. It does not properly handle note IDs starting with a letter like "abc123".
emacs-zettelkasten/zettelkasten.el
Line 100 in 68dc980
I've made the following change locally, but I'm unsure it would work for everyone so I thought I would ask before submitting a PR. I don't 100% understand what the
zettelkasten--get-id
function does. I guess it tries to handle note files like "1234-my-note.md" by removing the suffix and the "-my-note" bit. If correct, then the change should work for anyone, if not then I don't fully understand the code, so please bear with me.--
Emacs version: 29.3
zettelkasten
version: 20230108.172zettelkasten
configuration:zettelkasten-id-regexp "[a-z0-9]+"
The text was updated successfully, but these errors were encountered: