diff options
| author | LLLL Colonq <llll@colonq> | 2025-06-09 18:31:55 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2025-06-09 18:31:55 -0400 |
| commit | 5bad5320032a8fc477e9f2527d23036c41ac023e (patch) | |
| tree | 0d6643223b94d2e8413c77487b49918a9413b38b /src/gizmo/wasp-dna.el | |
| parent | 5d003af92aff89cc600c1125e2e8767fc88b7ae4 (diff) | |
Update
Diffstat (limited to 'src/gizmo/wasp-dna.el')
| -rw-r--r-- | src/gizmo/wasp-dna.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gizmo/wasp-dna.el b/src/gizmo/wasp-dna.el index 2ba8626a..4418e3ab 100644 --- a/src/gizmo/wasp-dna.el +++ b/src/gizmo/wasp-dna.el @@ -30,6 +30,12 @@ (log (--map (w/list-to-pair (s-split ": " it)) (-non-nil (--map (cadr (s-split "\t" it)) (s-lines logstr)))))) log)) +(defun w/dna-user-log (user) + "Return a complete log of every message sent by USER." + (--filter + (s-equals? (s-downcase (car it)) user) + (w/dna-complete-log))) + (defun w/dna-generate-from-logs (user) "Generate DNA from historical logs for USER. You probably want to use this interactively and then save the result here." |
