Replies: 3 comments 1 reply
-
Calling out other discussion on a "2.0" set of issues:
...the issues I've described overlap with [comments] (universally desired), [task-level-comments] (for me that's "data-blob" at the end mostly for URL's). ...and for a snarky versioning name? |
Beta Was this translation helpful? Give feedback.
-
Hello, check my post: where is the important author tag? |
Beta Was this translation helpful? Give feedback.
-
IDs wouldn't be a breaking change if we keep the priority such as Your suggestion for BLOB/URL doesn't look like a breaking change. The existing todo.txt spec seems to allow this. It would look non-nice and might be slow in old todo.txt editors but wouldn't inherently break it. Which is good. Your suggestion allows only one URL per task. Instead, todo.txt editors like https://github.com/ransome1/sleek (albeit not yet mature) support markdown, so that you can include several URLs per task anywhere in the text rather than at the end, for example:
which will render as follows:
With sections, you want to group several tasks into one section. That's what
Also with your suggestion, no? Maybe I misunderstand what you mean here.
Who internalizes its inclusion where? 🤨 A comment should comment on what, the one task that follows it? Then include it in that task. Instead of file-level comments, what about file-level anything (markup, tags, ...). Anyway, that's already supported, namely by creating separate files with any file format you wish. |
Beta Was this translation helpful? Give feedback.
-
Comments
Benefits: Human-readable instructions, "do-not-process" items, temporarily remove items
Drawbacks: Increased complexity, keep comments out of "todo's"
Data-Blob
Many of my todo's need a URL, so I've been informally using:
Within my editor, I've tweaked the syntax highlighting to make the URL's and "junk" more ignorable after the "end-of-title" marker (I'm using
:::
but I have no special attachment to the syntax).Benefits: consistently allow "fancy" or "ignorable" data (slightly differently from
foo:blah-blah
which is currently documented)Drawbacks: sometimes really-long-lines, may not want to encourage this type of behaviour of putting a bunch of arbitrary data into a file like this
Sections
Sometimes you have a batch of items which would benefit from grouping. My ideal use case is to be able to sort or filter items only within a section boundary (ie: treat each section as if it were mostly a separate todo.txt document). I'm weakly optimistic about the usefulness of this, it can definitely be simulated via a task with a title of only "------", but often you end up with "cutline" type decisions where something is "above the line" or "below the line" ... basically internalizing the inclusion of the idea of "line".
Benefits: versatile, may match common usage
Drawbacks: how is this any different than just an arbitrary task named: "-----"
ID's
"If a task has an identifier it must have a priority. Identifiers must be all-uppercase followed by a dash and a series of numbers and terminated by a colon and space. Regex-ish:
^/[A-Z]+-[0-9]+: .*$/
"Benefits: allows a bit of round-tripping between common bug-tracking, work-tracking systems (ie: dump-to-todo.txt), ability to refer to presumably unique identifiers
Drawbacks: increased complexity, may not support tracking systems with non-numeric identifiers
To be clear: My request / proposal is mostly to determine what "breaking" changes for todo.txt tools would be valuable. I've discovered:
[ ids, data-blobs, comments, sections/breaks ]
. I'm proposing the above topics with a proposed syntax/rules.ID's:
ID-1234: (A) ____
Data:
____ ::: https://url.goes.here.com/
Comments:
# ______
Sections:
--------
...I would suggest any "v2" discussions split between
capabilities
andsyntax-for-those
I'd love feedback on thumbs-up/thumbs-down specifically for the
CAPABILITIES
suggested here, and a lot less feedback/bike-shedding on this particular syntax. eg: if "comments" are universally accepted, then syntax may be:#, //, --, /* ... */, etc...
, but do people agree that "comments" are something that has a place in the format? Same with data-blobs (::: .*$
or{ ... }$
or>>> .*$
, etc.)... is it a useful concept or should it be omitted?Beta Was this translation helpful? Give feedback.
All reactions