amake / orgro

An Org Mode app for iOS and Android
https://orgro.org
GNU General Public License v3.0
505 stars 23 forks source link

Support custom headline keywords #93

Closed amake closed 1 month ago

amake commented 8 months ago
          > @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 https://github.com/amake/org_parser/issues/14#issuecomment-1975495377_

unhammer commented 2 months ago

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

amake commented 2 months ago

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:

unhammer commented 2 months ago

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

amake commented 2 months ago

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

amake commented 1 month ago

v1.41.5 is now released