Hacker News new | ask | show | jobs
by LeonB 1133 days ago
I saw an example tag of “due:tomorrow” … which made me wonder if there is or could be or should be a macro system…

I.e. you tell dmsd to give a document a tag of

`due:@tomorrow` then the tool would assess this and give the document a tag of

`due:2023-05-16`

…or whatever the `@tomorrow` macro evaluates to at the moment you set it.

Another tag might have a key of “urgency” and (somewhere) you’ve configured that values associated with the key `urgency` must match this regex:

/^(high|medium|low)$/i

So if you try to set a tag `urgency:ludicrous` it will show an error message.