Commit Graph

102 Commits

Author SHA1 Message Date
Daniel - caa13eb1d3
[Timeline] Moving timeline code into separate package 2018-01-21 18:07:04 +01:00
Daniel - 3787cef333
Merge branch 'db/org-merger'
Conflicts:
	site-lisp/db-org.el
	site-lisp/db-utils.el
2018-01-21 16:19:04 +01:00
Daniel - 2d9b54104c
[Org] Highlight some latex syntax 2018-01-21 16:12:55 +01:00
Daniel - b790d98977
[Org] Functions to copy clock lines from one task to another 2018-01-21 16:10:21 +01:00
Daniel - 74a26b4d5a
[Org] Change API of function to add clock lines to task
Instead of resolving an ID, this function now gets a marker designating the task
where the provided clock line should go to.
2018-01-21 16:09:27 +01:00
Daniel - 08927fd0ee
[Org] Fix reformatting function for bank csv files 2018-01-21 14:55:58 +01:00
Daniel - 9e32733014
[Misc] Even more silencing 2018-01-16 18:30:59 +01:00
Daniel - 55e3c0ab8f
[Org] Avoid some byte compiler warnings 2018-01-16 17:55:15 +01:00
Daniel - 925bb90dee
[Org] Don’t set symbol for ellipsis explicitly
Let’s use customize for this.
2018-01-16 17:40:56 +01:00
Daniel - 0bbaf4b62b
[Org] Change time representation for ‘db/org-add-clock-line-to-file’ 2018-01-13 18:29:37 +01:00
Daniel - 766b12e4e3
[Org] Updating documentation for clock line mapping function 2018-01-13 18:29:13 +01:00
Daniel - f1ae359a35
[Utils] Move org-mode utils to ‘db-org.el’
and do some minor beautifications.
2018-01-13 14:25:05 +01:00
Daniel - 375e39dd35
[Org] Simplification 2018-01-13 14:07:20 +01:00
Daniel - 2a6c40d446
[Org] Minor formatting 2018-01-13 14:07:13 +01:00
Daniel - 2c8d8ddaf1
[Org] Save point and mark when inserting new clock lines 2018-01-13 14:07:09 +01:00
Daniel - 2fcc4c4685
[Org] Cleaing up code on manipulating clock lines 2018-01-13 13:06:31 +01:00
Daniel - 0fa88c141f
[Org] First working version of clock line inserter 2018-01-13 12:51:08 +01:00
Daniel - fab318d5dc
[Org] Rearrange code for manually inserting new clock lines 2018-01-13 12:50:50 +01:00
Daniel - b81a152d42
[Org] Keep point and mark when iterating over clock lines and headlines 2018-01-13 12:49:43 +01:00
Daniel - 64c4f231bd
[Org] Update docstring for timeline formatter 2018-01-07 17:28:42 +01:00
Daniel - 3d283d600f
[Org] Add customization for timeline reporting 2018-01-07 17:28:20 +01:00
Daniel - e4893fe52e
[Org] Minor changes for main timeline formatting function 2018-01-07 17:17:54 +01:00
Daniel - c8d5bb24e1
[Org] Skip short slots in timeline formatting 2018-01-07 17:17:09 +01:00
Daniel - 463d7c1532
[Org] Cluster entries of timeline by category 2018-01-07 16:34:49 +01:00
Daniel - 0d2e773d9d
[Org] Function stub for merging clock lines into existing file
unfinished.
2018-01-01 15:35:34 +01:00
Daniel - 0d982d66d5
[Org] Ignore scheduled items in SOMEWHEN list 2018-01-01 15:34:51 +01:00
Daniel - 8cf1afc64c
[Org] Add timestamps for notes 2018-01-01 15:34:40 +01:00
Daniel - 34e639ac98
[Org] Refactor ‘db/org-clocking-time-in-range’
This function now uses the more general ‘db/org-map-clock-lines-and-entries’,
which is also going to be used by the future ‘db/org-add-clock-line-to-file’ (or
similar).
2017-12-16 10:42:23 +01:00
Daniel - 1f00baadde
[Org] Remove obsolete comment 2017-12-16 10:41:46 +01:00
Daniel - adc1cac590
[Org] Remove unused ‘db/org-agenda-add-clocking-time’ 2017-12-15 21:46:14 +01:00
Daniel - 28c6ae47a1
[Org] make ‘db/org-add-clocking-time’ take two arguments 2017-12-15 21:45:50 +01:00
Daniel - 942c4a99dd
[Org] Don’t use UTC when converting time for reporting 2017-12-04 19:05:41 +01:00
Daniel - 54e6e242e3
[Org] Update type parameters for OneNote links
Untested.
2017-12-03 10:21:45 +01:00
Daniel - 58c786c251
[Org] Update and fix docstrings for reporting 2017-12-03 10:17:47 +01:00
Daniel - 5d347b1112
[Org] Use ‘sort’ instead of ‘cl-sort’
Should be equally fast, and is simpler.
2017-12-03 10:17:19 +01:00
Daniel - 62a2154d28
[Org] Fix typo in variable names 2017-12-03 10:16:13 +01:00
Daniel - 4273dfeb41
[Org] Revert ‘db/org-timeline-in-range’ to mostly imperative style
This mostly reverts 1192dc21, as it’s much clearer now what is going on, imho.

(btw: the commit message of 1192dc21 should have started with "More"
instead of "Move", duh!)
2017-12-03 10:07:58 +01:00
Daniel - 096989ee33
[Org] Use ‘org-read-date’ to query dates for reporting 2017-12-03 09:59:23 +01:00
Daniel - 53e81f252e
[Org] Another attempt to fix condition on current clock 2017-12-03 09:47:36 +01:00
Daniel - 41a57ecd96
[Org] Fix condition on when to include the current clock during reporting 2017-12-03 09:27:36 +01:00
Daniel - 17b5d9fecb
[Misc] Add lexical binding to all files 2017-12-03 09:19:05 +01:00
Daniel - 979f7af136
[Org] Clarify docstring for reporting function 2017-12-02 22:06:16 +01:00
Daniel - 1715a0412a
[Org] Remove redundant comma 2017-12-02 22:01:53 +01:00
Daniel - 5a68daa8e3
[Org] Adapt report formatting 2017-12-02 21:57:45 +01:00
Daniel - 1b6018dd84
[Org] Report for today ends 23:61 2017-12-02 21:57:28 +01:00
Daniel - c76c7e3fd7
[Org] Some meta-comment on reporting 2017-12-02 21:57:12 +01:00
Daniel - 984777fdc2
[Org] When no date is given, default to today 2017-12-02 21:49:50 +01:00
Daniel - bc08f185fd
[Org] Fix some bugs in the reporting functions 2017-12-02 21:48:57 +01:00
Daniel - afb474d44c
[Org] Add convenience function to format report for a particular day 2017-12-02 21:27:34 +01:00
Daniel - bdf7209032
[Org] Fix formatting of ‘db/org-format-timeline’ 2017-12-02 21:21:05 +01:00