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

Support custom headline keywords #93

Closed
amake opened this issue Mar 4, 2024 · 5 comments
Closed

Support custom headline keywords #93

amake opened this issue Mar 4, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@amake
Copy link
Owner

amake commented Mar 4, 2024

          > @shelverizr Can you check https://github.com/amake/org_parser/pull/15 to confirm that that's what you had in mind?

@amake Not entirely, I want to switch from any keyword to any other keyword.

For example, I have two categories of tasks, to-do tasks and completed tasks, their keywords are:

To-do tasks: TODO, NEXT, WAITING, MAYBE
Completed tasks: DONE, FAILED, SUCCESS, STUCK, SHUNT

Sometimes I need to switch from NEXT to TODO
Sometimes I need to switch from WAITING to MAYBE
Sometimes I need to switch from STUCK to NEXT

Originally posted by @shelverizr in amake/org_parser#14 (comment)

@amake amake changed the title > @shelverizr Can you check #15 to confirm that that's what you had in mind? Support custom headline keywords Mar 4, 2024
@amake amake added the enhancement New feature or request label Mar 4, 2024
@unhammer
Copy link

This would be great. I just use one sequence #+TODO: TODO HOLD DONE

@amake
Copy link
Owner Author

amake commented Sep 22, 2024

The main difficulty with this is that the parser needs to know the desired keywords at parse time, so I need one of two things:

  • A way for users to input the equivalent of org-todo-keywords as a global setting. But I don't have a settings screen, and I don't want to make one.
  • Or, to parse the document, interpret #+TODO: (or #+SEQ_TODO: or #+TYP_TODO:), and then re-parse

@unhammer
Copy link

I'd vote for #+TODO being enough, that way if one syncs org files, the keyword list is trivially synced with them.

@amake
Copy link
Owner Author

amake commented Sep 23, 2024

Interpreting #+TODO: and related keywords is implemented in v1.41.0, available for testing soon:

@amake
Copy link
Owner Author

amake commented Oct 1, 2024

v1.41.5 is now released

@amake amake closed this as completed Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants