fuzzbomb23

joined 1 year ago
[–] fuzzbomb23@alien.top 1 points 10 months ago

See the paren-face package. The diagram you mention sounds like the one in the repository README. (I think the diagram has been used in longer article too, but I'm not sure where it originated.)

[–] fuzzbomb23@alien.top 1 points 11 months ago

Have a look at the approach taken by the logos.el package. There's a section in the manual called Leverage logos-focus-mode-hook.

The idea there is that when you enable the logos-focus-mode, you'll often want to change some other minor modes and variables too. But when you disable logos-focus-mode, you'll want those other minor modes to revert to their previous value. The Logos package provides a few convenience functions to remember the previous values, and they are automatically restored when logos-focus-mode is turned off.

Perhaps the code for that could be made generic, instead of being coupled to the logos-focus-mode?

[–] fuzzbomb23@alien.top 1 points 11 months ago

I keep a journal using org-roam-dailies. My headlines there include "Notes created" and "Notes updated". I manually create links there as I go along; it's no hardship to do that a dozen times a day, so I haven't yet automated it.

[–] fuzzbomb23@alien.top 1 points 11 months ago (2 children)

The org-roam-timestamps package might be worth a look. It adds created/modified timestamp properties to org-roam nodes, and automatically updates these when saving the node.

An interesting feature is that it can optionally keep a sequence of modification timestamps, not just the last-modified timestamp.

It doesn't actually change the SQLite schema though. All it does is update the properties in the Org file. (Org-roam considers the files to be canonical; the DB is really just a disposable index for speedy lookups.) The node table already has a properties column, so the created/modified timestamps end up buried in this.

The org-roam-timestamps package is a bit lacking in features, I'd say. All it does is save and update the timestamp properties for each Org-roam node. It doesn't provide any useful query functions. I've had this package installed for ages, but I don't really do anything with it. For now, it's just collecting timestamps for the sake of posterity.

I have a vague idea to write some query functions, such as "what nodes did I create/modify on the same day as the current node?". The results could populate a section in the Org-roam buffer (after the backlinks), or an Org dynamic block.