-
Notifications
You must be signed in to change notification settings - Fork 28
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
Include a default set of tags #11
Comments
Make sense. Would you have some suggestiosn based on the examples ? We could sure at least add the TODO, but what else? |
I think restricting these customizations to Org makes sense, it's the only base install that changing the iconography to highlight specific parts makes sense. So like you I think the TODO keywords are sane defaults. After that tags could be nice, but I don't really use tags that much so I don't have a strong inclination on that. However, I do think priorities could be another nice surprise. I currently use org-fancy-priorities for this. |
Makes sense. The default would thus be "TODO", "DONE", "#A", "#B", "#C". Coudl you make a PR? |
Having it depend on (setq org-todo-keywords
'((sequence "NEXT(n)" "WAIT(w!/!)" "TICK(t)" "SOME(s!/!)" "|"
"DONE(d)" "CANC(c)"))) |
Good point. Do you know how can we extract keywords and priorities text only? |
I'm an absolute elisp beginner, but just calling (print org-todo-keywords) already gives something to work with ;-) (symbol-value 'org-todo-keywords)
> ((sequence "NEXT(n)" "WAIT(w!/!)" "TICK(t)" "SOME(s!/!)" "|" "DONE(d)" "CANC(c)"))
(symbol-value 'org-todo-keyword-faces)
> (("NEXT" :family "Iosevka" :foreground "light goldenrod yellow" :background "red" :weight bold) ("WAIT" :family "Iosevka" :foreground "dim gray" :background "yellow") ("TICK" :family "Iosevka" :background "light slate blue") ("SOME" :family "Iosevka" :foreground "ghost white" :background "deep sky blue") ("DONE" :family "Iosevka" :foreground "green4" :background "pale green") ("CANC" :family "Iosevka" :foreground "dim gray" :background "gray")) |
@japhir Thanks for the hint. I woudl prefer to avoid parsing this list to only extract the keywords. I guess there might be some way but I need to search. |
Another good set of defaults might be for key chords in Help buffers. They might be a bit harder to match with regex, yet that was the first use case I thought of after seeing this (and what I plan to try to use it for). |
By the way, there's now a svg-lib that is available on ELPA. I'm not sure to add the default tags inside, but we could consider a dedicated package for common tags. |
I think trying to make this "just work" with existing org stuff would be really cool---I kind of DWIM default setup out of the box. |
So I think solution woudl be to add dedicated examples (e.g. one for org mode) |
I think it would be worthwhile, as a user onboarding experience, for this package to include a default set of tags bindings that they can enable.
One of the use cases I'm thinking of is If someone downloads this from MELPA, they won't have access to example1.el or example2.el to be able to be able to use at their discretion.
The text was updated successfully, but these errors were encountered: