Commit Graph

362 Commits

Author SHA1 Message Date
contrapunctus cc77b18797 fix(details): use read-from-minibuffer for filter 2021-06-28 06:53:35 +05:30
contrapunctus fd468a9ed5 feat(details): implement filter; refactor `rows` 2021-06-28 06:08:45 +05:30
contrapunctus b774700450 feat(details): create prompt, menu 2021-06-27 22:24:37 +05:30
contrapunctus c4b94be941 feat(details): implement custom ranges 2021-06-27 22:24:28 +05:30
contrapunctus 9f8e455e01 feat(details): create state variables for custom ranges and filters 2021-06-27 20:57:38 +05:30
contrapunctus 3f3567903b Merge branch 'dev' into doc 2021-06-27 03:38:47 +05:30
contrapunctus 2f8d136bf6 doc: shorten docstring 2021-06-26 09:09:11 +05:30
contrapunctus 37afe58cd9 fix: move menu after keymap 2021-06-22 06:14:27 +05:30
contrapunctus 85d8a1c460 doc: align tags 2021-06-17 22:37:32 +05:30
contrapunctus e57a244519 feat: change menu text; add keybinding for details view 2021-06-17 22:32:50 +05:30
contrapunctus e4b4dc277b feat(chronometrist-menu): add more entries; remove keybind printing 2021-06-16 05:35:55 +05:30
contrapunctus 7b024fe9ea Merge branch 'doc' into print-keybinds-cleanup 2021-06-15 22:05:53 +05:30
contrapunctus 50b2b03036 feat(chronometrist): create menu 2021-06-15 22:05:24 +05:30
contrapunctus d9dd465c5c doc: align Org tags 2021-06-15 20:21:50 +05:30
contrapunctus 8d7578e9f5 Merge branch 'dev' into doc 2021-06-15 16:26:59 +05:30
contrapunctus dc3692270d cleanup: create commands-to-print-alist 2021-06-15 10:14:19 +05:30
contrapunctus 2f26ef0a60 feat: add missing keybindings 2021-06-14 23:42:33 +05:30
contrapunctus 1ad4a92ebf cleanup: remove chronometrist-command-helper
It was neither shorter nor particularly easier to read... 🤔
2021-06-14 23:41:47 +05:30
contrapunctus 8141b6604c feat[restart/extend]: fail with message rather than silently 2021-06-14 15:01:50 +05:30
contrapunctus 34fa77a173 refactor: use chronometrist-command-helper 2021-06-14 14:48:03 +05:30
contrapunctus 69f2b1d5c4 refactor: create chronometrist-command-helper 2021-06-14 14:45:16 +05:30
contrapunctus a3144050e4 doc(chronometrist-restart-task): clarify docstring 2021-06-12 21:12:55 +05:30
contrapunctus b0367023ef feat: new command chronometrist-extend-task 2021-06-12 21:12:37 +05:30
contrapunctus de41c158b5 feat: new command `chronometrist-restart-task` 2021-06-12 01:52:32 +05:30
contrapunctus 29c8939a7d rename: task-active? -> task-active-p 2021-06-12 01:25:01 +05:30
contrapunctus 9c0168a5e2 doc: move explanation closer to context 2021-06-12 01:16:02 +05:30
contrapunctus c8907f7dd7 doc(Explanation): add row and schema in terminology 2021-06-11 03:44:49 +05:30
contrapunctus b082b20dd3 Merge branch 'auto-tangle-test' into dev 2021-06-08 13:32:38 +05:30
contrapunctus 89afc959e9 Merge branch 'sparkline' into dev 2021-06-08 11:15:19 +05:30
contrapunctus aeaf5a0da4 feat: use .dir-locals.el for tangling 2021-06-08 03:48:33 +05:30
contrapunctus 8a2c4c0b54 refactor: format-duration-long + create tests 2021-06-07 23:13:38 +05:30
contrapunctus 05525ab6ef doc: update notes 2021-06-06 16:55:09 +05:30
contrapunctus 343a08665f fix(details): do not display user keywords if using format string 2021-06-05 15:18:12 +05:30
contrapunctus 2f1ea5fd1f Merge branch 'dev' into doc 2021-06-05 10:06:17 +05:30
contrapunctus 0e22c725db doc(docstring): update argument name in docstring 2021-06-05 10:05:37 +05:30
contrapunctus 5c5b7fc5e7 fix: address linter complaints 2021-06-03 22:26:59 +05:30
contrapunctus ba8df3b78e fix: restore file-local compile commands
The .dir-local.el version documented stopped working...if it ever did work?
2021-06-03 20:23:29 +05:30
contrapunctus 2d26aa3fa6 doc(dev how-to): explain running after tangling end 2021-06-03 17:40:59 +05:30
contrapunctus 919c344003 doc: run org-align-all-tags 2021-06-03 17:25:06 +05:30
contrapunctus b404985f96 conf: move org-tags-column and org-html-head to .dir-locals.el 2021-06-03 17:23:10 +05:30
contrapunctus 0b605b4f98 doc: add setup approach thoughts, step for running makem.sh post-stage 2021-06-03 14:25:14 +05:30
contrapunctus aa142d798f doc: add author name 2021-06-03 14:02:22 +05:30
contrapunctus 85a14fe652 fix(dev): move file locals to dir-locals; remove adaptive-wrap suggestion 2021-06-03 11:09:11 +05:30
contrapunctus e1f6121230 fix: tangle tests to separate files 2021-06-03 02:12:04 +05:30
contrapunctus 8541f58435 doc(dev/how-to): remove Git pre-commit hook instructions 2021-06-02 17:20:18 +05:30
contrapunctus 026ce66f35 Merge branch 'dev' into doc 2021-06-02 03:56:05 +05:30
contrapunctus 93cb08c339 doc: use infojs 2021-06-02 03:07:06 +05:30
contrapunctus 3c8be625ce fix: on-save tangling setup; -let instead of -let* in spark 2021-06-01 18:37:29 +05:30
contrapunctus a6c02aaf80 fix(distribution): ship Elisp file; remove literate-elisp dependency 2021-06-01 17:35:01 +05:30
contrapunctus e9164ecca1 fix(distribution): ship Elisp file; remove literate-elisp dependency 2021-06-01 17:15:17 +05:30
contrapunctus 36d3d18769 doc: merge manual.org into chronometrist.org (again?) 2021-06-01 16:18:51 +05:30
contrapunctus 3ad586ae70 doc: merge manual.org into chronometrist.org; remove root heading 2021-06-01 13:14:45 +05:30
contrapunctus f4317f027d docs: add "How-to guides for maintainers" 2021-05-31 19:25:19 +05:30
contrapunctus 0c4f7ac94c docs: update literate issues 2021-05-31 09:52:44 +05:30
contrapunctus 494cd25cda Merge branch 'dev' into doc 2021-05-31 00:32:06 +05:30
contrapunctus 476bc19cef Update subtitle 2021-05-31 00:31:26 +05:30
contrapunctus 30e0bf3be2 Merge branch 'doc' into dev 2021-05-31 00:00:46 +05:30
contrapunctus 99dba77ae6 Rename CSS file; remove shadow, fix overflow behavior 2021-05-30 23:59:27 +05:30
contrapunctus 6a414194d9 Merge branch 'doc' into dev 2021-05-30 22:50:22 +05:30
contrapunctus 8b23bf244d Use our own CSS 2021-05-30 22:49:35 +05:30
contrapunctus 591f5dc9fa Add TEST keyword 2021-05-30 20:55:23 +05:30
contrapunctus 740bd239ab Define hooks using defcustom instead of defvar 2021-05-30 20:53:36 +05:30
contrapunctus 2d94898036 Moved TODO items to specific component 2021-05-30 14:24:32 +05:30
contrapunctus 8bf70bbf73 statistics-rows-internal - use loop instead of mapcar 2021-05-30 14:24:20 +05:30
contrapunctus 645877335c refresh-file - update docstring; clarify comments 2021-05-30 12:22:41 +05:30
contrapunctus d0d523db85 [literate] add footnote; fix footnote numbers 2021-05-30 12:20:48 +05:30
contrapunctus d47b06beb9 remove-from-task-list - add docstring, clarify local variable names 2021-05-30 12:18:04 +05:30
contrapunctus f4a8006ac8 [chronometrist] make schema user customizable 2021-05-29 13:08:14 +05:30
contrapunctus 6272a642a4 [literate] add warnings about using newlines in tabulated-list-mode cells 2021-05-29 00:05:35 +05:30
contrapunctus 7206299e51 Move plist-p and sexp-delete-list to Common; load Common first 2021-05-27 19:41:42 +05:30
contrapunctus 2f566b7778 [details] display key-values by default, increase column width
A possible misspelled variable (plist -> list) was fixed
2021-05-27 18:46:07 +05:30
contrapunctus c859219d9d update tests 2021-05-27 05:15:23 +05:30
contrapunctus 18ffea1493 [statistics] fix error on start 2021-05-27 05:15:23 +05:30
contrapunctus 4fdfe4d0c8 [details] implement key-value display
details-row-helper now expects a list of symbols or a full
plist (instead of just key-values). If the custom variables
controlling tag/key-value display are format strings,
details-row-helper will splice lists for display.
2021-05-26 11:10:30 +05:30
contrapunctus 8db801faeb details - implement key-value display 2021-05-25 22:45:24 +05:30
contrapunctus 2f02d6953a Move plist-p to section `common` 2021-05-25 22:44:40 +05:30
contrapunctus 9d7076a30b Update book text 2021-05-25 20:10:20 +05:30
contrapunctus a39c436378 details - clean up rows function 2021-05-25 18:53:15 +05:30
contrapunctus c0417dd255 details - fix error 2021-05-25 18:52:49 +05:30
contrapunctus 7f13f2c41b Finish leftover row/schema replacement 2021-05-25 16:23:52 +05:30
contrapunctus edf1fa8204 Use "row" instead of "entry" 2021-05-25 16:22:49 +05:30
contrapunctus 0cdb9fa4bb Use "row" instead of "entries" 2021-05-25 16:18:54 +05:30
contrapunctus d8c246eee0 details - create transformers 2021-05-25 16:10:32 +05:30
contrapunctus 5a8f8eb8bd Use "schema" instead of "table-format" 2021-05-25 16:06:13 +05:30
contrapunctus 7ee5961d55 format-duration - use make-string instead of string literals 2021-05-25 15:31:30 +05:30
contrapunctus 9d1017373d Rename format-time to format-duration 2021-05-25 15:26:56 +05:30
contrapunctus cefe297c08 Use make-string instead of string literal 2021-05-25 12:03:03 +05:30
contrapunctus e3c82a4ced Make function calls the first form in threaded macros for brevity 2021-05-25 12:03:03 +05:30
contrapunctus e6536bc9fd Use cl-loop instead of --map-indexed 2021-05-25 11:54:41 +05:30
contrapunctus 30b3d00f2c Replace chronometrist-common-clear-buffer with erase-buffer 2021-05-25 11:36:08 +05:30
contrapunctus 91b388acb3 chronometrist-details - make time format customizable 2021-05-25 09:58:24 +05:30
contrapunctus 29b6fd4c68 chronometrist-details - handle plists without :stop 2021-05-25 03:16:02 +05:30
contrapunctus f71ef8a995 chronometrist-details - fix "1 hour, 0 minutes" bug 2021-05-25 03:07:00 +05:30
contrapunctus 7b5f34000a chronometrist-details - fix duration-start/stop incongruence 2021-05-25 03:05:53 +05:30
contrapunctus 702dc3255d Implement MVP for chronometrist-details frontend 2021-05-25 01:14:48 +05:30
contrapunctus 3992cd953a Move plist-remove to chronometrist.org; create plist-key-values 2021-05-24 21:06:15 +05:30
contrapunctus d0d065a7d9 Bump versions 2021-05-18 15:21:19 +05:30
contrapunctus 2b62fb5606 Do not update buffer if file is being edited 2021-05-18 15:20:38 +05:30
contrapunctus 10326ba6e9 Rephrase "Why I wrote Chronometrist" 2021-05-18 15:19:07 +05:30
contrapunctus e7f2df1e55 Describe file format 2021-05-18 00:08:07 +05:30
contrapunctus 397c4b4940 [literate] expand/reword explanations 2021-04-17 15:00:38 +05:30
contrapunctus b9f8ee7153 [literate] add example of midnight-spanning event 2021-04-14 17:14:24 +05:30
contrapunctus 961bc1cf49 [literate] use code markup 2021-04-14 17:14:07 +05:30
contrapunctus 9677a17a5c [literate] fix custom ID link syntax 2021-04-14 17:13:47 +05:30
contrapunctus 5619567d11 [literate] expand Explanations 2021-04-14 14:36:33 +05:30
contrapunctus 00759ec280 [literate] add Overview, remove Chronometrist heading 2021-04-12 20:15:36 +05:30
contrapunctus accc32458f [literate] move tags and key-value section to key-values.org 2021-04-12 08:33:46 +05:30
contrapunctus e4bdeb41e3 [literate] add introduction; add more points to Explanation 2021-04-12 08:33:46 +05:30
contrapunctus 8885411c0e [literate] fix broken links, correct Org markup 2021-04-12 08:33:46 +05:30
contrapunctus 15b9d62906 [literate] remove outdated overview 2021-04-12 08:33:46 +05:30
contrapunctus 657e07e06e [literate] move time formats to chronometrist.org
* Move "Literate programming" to Explanation
* Make "The program" section for all code-related headings; remove
  "Code" section
2021-04-12 08:33:46 +05:30
contrapunctus d343119e41 [literate] move Explanation from manual to chronometrist.org 2021-04-12 08:33:46 +05:30
contrapunctus b72d83b0dd [literate] try to write some "why I wrote it"s 2021-04-12 08:33:46 +05:30
contrapunctus c33b3ae3fe [literate] add literate-elisp dependency; remove tangling setup 2021-04-12 08:33:46 +05:30
contrapunctus 129c7f7d78 test: make test.sexp before running tests
This does away with the whole issue of discovering the test.sexp file accurately.

It's also the point where I have increasing misgivings about shipping
the Org file itself. The tests, explanation docs, and now test
data...might be a "lot of" extra bytes to download, for something most
users have no need of.
2021-02-23 06:42:08 +05:30
contrapunctus f6082aeb1e [fix] void variable error in chronometrist-report-entries 2021-02-22 18:03:32 +05:30
contrapunctus 3ea6df7f20 [tests] moved tests to Org files
Upside - no more jumping between definitions and tests

Downside - if we ship the Org file, users will have to download some more bytes
2021-02-22 18:02:39 +05:30
contrapunctus 36e17fb4d7 [bugfix] incorrectly split plists in chronometrist-events 2021-02-22 17:59:16 +05:30
contrapunctus 8b09562aca [WIP] [bugfix] incorrectly split plists in chronometrist-events 2021-02-22 02:11:45 +05:30
contrapunctus 3fe5260972 Style and documentation changes 2021-02-21 22:09:00 +05:30
contrapunctus 83bbe0bd6a [data structures] add reset command 2021-02-18 15:52:26 +05:30
contrapunctus 5854ec647d [chronometrist] add 2 TODO items 2021-02-17 10:56:42 +05:30
contrapunctus 665705f1b5 [literate] tag functions according to their...function
Shorten file-empty-p

Merge `events->ts-pairs` and `ts-pairs->durations` into `events-to-durations` - they were only used in two places, both times with the results of the former being passed to the latter, and it didn't seem to me that they'd ever be used separately.

Rename all functions using the Scheme-like "foo->bar" naming scheme to the Elispy "foo-to-bar".

Move many docstrings out of source blocks into Org text and TODO items.

Remove unused chronometrist-report-date

Used `with` instead of `let` in chronometrist-report-entries

Use `loop` instead of `maphash` in `chronometrist-statistics-count-average-time-spent`
2021-02-16 13:11:30 +05:30
contrapunctus fbbfd1eeec [literate] checkdoc and package-lint changes 2021-02-15 05:31:34 +05:30
contrapunctus 3fb016cd75 [literate migration] add missing function 2021-02-11 15:48:26 +05:30
contrapunctus 2b02967dc9 [Literate migration] Add missing function 2021-02-11 14:52:50 +05:30
contrapunctus d87997a0cd Remove dependencies on anaphora and s 2021-02-11 13:37:36 +05:30
contrapunctus 203838aa49 Merge branch 'dev' into literate 2021-02-11 12:08:50 +05:30
contrapunctus fd376c7cf1 iso-date->ts - use pattern matching 2021-02-09 01:38:17 +05:30
contrapunctus aab2590e98 count-active-days - rewrite using cl-loop 2021-02-09 01:30:36 +05:30
contrapunctus 9f94250d94 Move task-list function to backend 2021-02-09 01:17:22 +05:30
contrapunctus 5cd9c9db47 "Hash table" -> "Data structures", move task list and related functions 2021-02-09 00:35:29 +05:30
contrapunctus 6a96baccdc Group frontends separately 2021-02-09 00:22:04 +05:30
contrapunctus 9ccaf1d41d Run tangle script only for this particular buffer 2021-02-09 00:21:27 +05:30
contrapunctus 9e1358dac9 Remove unnecessary variable whitespace-re 2021-02-09 00:20:59 +05:30
contrapunctus ae92a04164 Add namespace prefix to tangle command name and buffer 2021-02-09 00:05:42 +05:30
contrapunctus 4a7988e46d Remove blank lines 2021-02-09 00:04:48 +05:30
contrapunctus 333224498f Tag predicates 2021-02-09 00:04:27 +05:30
contrapunctus 39e66829e5 Update auto-tangle sed script 2021-02-08 14:40:28 +05:30
contrapunctus 0dd86c7c90 Clarify text 2021-02-08 14:36:59 +05:30
contrapunctus daaedc8d73 Move definitions from chronometrist-statistics.el to chronometrist.org 2021-02-08 12:46:29 +05:30
contrapunctus 075fb0323a Move definitions from plist-pp.el and report.el to chronometrist.org 2021-02-08 12:08:27 +05:30
contrapunctus 963e23e736 Restructure file to reflect conceptual data flow 2021-02-08 11:22:58 +05:30
contrapunctus 3bed912dcc Emit newlines in tangled source 2021-02-08 01:05:21 +05:30
contrapunctus 508998ebd1 Add commentary about file 2021-02-08 01:05:10 +05:30
contrapunctus 81fbf50100 Remove blank lines 2021-02-08 01:04:36 +05:30
contrapunctus 3a0b5fa045 Name headings more clearly 2021-02-08 01:03:56 +05:30
contrapunctus cb1293b6cd Move definitions from chronometrist-timer.el to chronometrist.org 2021-02-07 23:20:56 +05:30
contrapunctus f32f81844a Move definitions from chronometrist-time.el to chronometrist.org 2021-02-07 21:52:53 +05:30
contrapunctus d7ec8906f4 Move definitions from chronometrist-queries.el to chronometrist.org 2021-02-07 21:42:50 +05:30
contrapunctus 909ed00202 Move definitions from chronometrist-migrate.el to chronometrist.org 2021-02-07 21:39:24 +05:30
contrapunctus f597258d19 Move definitions from chronometrist-migrate.el to chronometrist.org 2021-02-07 21:25:04 +05:30
contrapunctus 9cfb4292ca Remove properties
Currently, headings represent components, and tags represent types and
concerns. If I need metadata which is "cross-cutting" (across
components) and doesn't suit tags, I'll use properties.
2021-02-05 16:25:02 +05:30
contrapunctus e11ac89359 Tangle chronometrist.org 2021-02-05 16:15:29 +05:30
contrapunctus bfa45eecf3 Enable nameless mode 2021-02-05 16:15:08 +05:30
contrapunctus f4a42df3cc Move definitions from chronometrist-sexp.el to chronometrist.org 2021-02-05 13:51:52 +05:30
contrapunctus 3c5a3c5556 Move definitions from chronometrist-events.el to chronometrist.org 2021-02-04 21:46:40 +05:30
contrapunctus edf63ee269 Move definitions from chronometrist-common.el to chronometrist.org 2021-02-04 21:31:25 +05:30
contrapunctus 5b308ea0a8 Add library headers and require calls 2021-02-04 16:13:19 +05:30
contrapunctus 9857c98127 Create subtree for definitions from main file 2021-02-04 16:03:00 +05:30
contrapunctus 863291c02c chronometrist.org - tag definitions 2021-02-04 08:58:52 +05:30
contrapunctus a7b70b5a3e chronometrist.el - move definitions to chronometrist.org 2021-02-04 08:58:21 +05:30