!rUhEinythPhVTdddsb:matrix.org

org-mode

792 Members
Digital and analog. | "Any sufficiently advanced hobby is indistinguishable from work." | https://orgmode.org115 Servers

Load older messages


SenderMessageTime
7 Nov 2024
@jwwiegley:matrix.orgJohn WiegleyI should also whitelist property keys03:57:10
@jwwiegley:matrix.orgJohn Wiegleymaking a note to do that...03:57:14
@jwwiegley:matrix.orgJohn Wiegley at the beginning of my Org file, if I have a :TAGS_ALL: file property, then all tags in that file must be a member of this list 03:57:47
@alphapapa:matrix.orgalphapapa
In reply to karthink
I love your idea of strict linting with custom rules -- I'd appreciate even something basic like whitelisting allowed tags, that should catch the usual offenders like singular/plural and abbreviated/full-version duplicates

The singular/plural tag thing… it still plagues me to a minor extent. org-ql does have regexp-based tag matchers to work around that, though…

03:57:51
@karthink:matrix.orgkarthinkI don't know haskell and couldn't write a parser to save my life, but perhaps I can dd some custom org-lint rules for personal usage03:57:57
@jwwiegley:matrix.orgJohn WiegleyIf you can give me an anonymized file, maybe I can see how difficult it would be to extend the parser to handle it03:58:17
@jwwiegley:matrix.orgJohn Wiegleybut you'd probably want to be able to write your own linting rules too....03:58:32
@karthink:matrix.orgkarthink * I don't know haskell and couldn't write a parser to save my life, but perhaps I can add some custom org-lint rules for personal usage03:58:37
@karthink:matrix.orgkarthink
In reply to @alphapapa:matrix.org

The singular/plural tag thing… it still plagues me to a minor extent. org-ql does have regexp-based tag matchers to work around that, though…

org-ql is the only way I can even use Org any more, with decade old, 20k+ line files
03:59:14
@alphapapa:matrix.orgalphapapa
In reply to John Wiegley
If you can give me an anonymized file, maybe I can see how difficult it would be to extend the parser to handle it

My unpackaged.el library has a function to anonymize buffer content, FYI.

03:59:18
@alphapapa:matrix.orgalphapapa
In reply to karthink
In reply to @alphapapa:matrix.org

The singular/plural tag thing… it still plagues me to a minor extent. org-ql does have regexp-based tag matchers to work around that, though…

org-ql is the only way I can even use Org any more, with decade old, 20k+ line files

Sounds like your usage is similar to John's in some ways. :)

03:59:41
@jwwiegley:matrix.orgJohn WiegleyI have only 3 Org files longer than 20K lines04:00:43
@karthink:matrix.orgkarthink
In reply to @jwwiegley:matrix.org
but you'd probably want to be able to write your own linting rules too....
Yeah, I think I'll start with a simple solution that I completely understand before outsourcing it to a library I don't
04:01:27
@karthink:matrix.orgkarthink
In reply to @alphapapa:matrix.org

Sounds like your usage is similar to John's in some ways. :)

It's mostly because of fear of archiving -- the structure is lost and I'm afraid I won't be able to find or restore them again
04:02:15
@karthink:matrix.orgkarthink
In reply to @alphapapa:matrix.org

Sounds like your usage is similar to John's in some ways. :)

* The large file sizes are mostly because of fear of archiving -- the structure is lost and I'm afraid I won't be able to find or restore them again
04:02:31
@jwwiegley:matrix.orgJohn WiegleyI had that same archive worry for a long time, but at long last I gave up on it and went all the way with archiving and relying on archive context being stored in properties. To date it has never gotten in my way. I can find what needs to be found.04:02:57
@karthink:matrix.orgkarthink Often the ARCHIVE_OLPATH property in the archived entry does not point to a path that exists anymore, since I reorganize or move project headings around 04:03:57
@jwwiegley:matrix.orgJohn WiegleyI only use structure to browse very active things; things that are inactive for any length of time are only accessed via filtering or searching — simply because I forget their place in the hierarchy after a time04:04:00
@jwwiegley:matrix.orgJohn Wiegleyyes, context can get stale04:04:33
@jwwiegley:matrix.orgJohn Wiegleybut oh well, all data gets stale04:04:37
@alphapapa:matrix.orgalphapapa
In reply to karthink
Often the ARCHIVE_OLPATH property in the archived entry does not point to a path that exists anymore, since I reorganize or move project headings around

I feel the same way to some extent. I wonder if we need to "fix" or extend the archiving features to use entry IDs more…

04:05:03
@jwwiegley:matrix.orgJohn Wiegleythat's a lovely idea. ARCHIVE_OLID!04:05:35
@jwwiegley:matrix.orgJohn Wiegleynow I really need the archive hook I mentioned above; I'll need to PR this one04:05:56
@karthink:matrix.orgkarthink John Wiegley: I'm yet to check out the org-context.el file you shared 04:07:05
@karthink:matrix.orgkarthinkPerhaps that'll help with archive hesitancy04:07:27
@jwwiegley:matrix.orgJohn WiegleyI'll definitely add this support to org-context.el, but I also need org-archive to record the outline parent ID, and for that I need a hook that's not currently available...04:07:47
@jwwiegley:matrix.orgJohn Wiegleybut I'll PR the hook along iwth a new save-context-info key04:08:18
@jwwiegley:matrix.orgJohn Wiegleyids are The Way04:08:32
@karthink:matrix.orgkarthinkWill you make org-context an Emacs package?04:12:22
@karthink:matrix.orgkarthinkIt's hard to track updates otherwise04:12:34

Show newer messages


Back to Room ListRoom Version: 1